submit()

in ui/src/app/transfer/transfer.component.ts [26:43]


  submit() {
    
    this.accountService.postTransfer(this.fromAccNum, this.toBankID, this.toAccNum, this.amount).subscribe(res => { 
      console.log(res);		
      this.message='Transfer Complete'
      this.show=false
      this.status='ok'

    },
    err => {
      console.log(err);
      this.message='Unable to make tranfer. Check the API configuraiton and ensure the tranfer details are correct.'
      this.show=false
      this.status='error'

    }
   );
  }