소스 검색

payment is done

Mexi 6 년 전
부모
커밋
83b32bb51d
1개의 변경된 파일10개의 추가작업 그리고 5개의 파일을 삭제
  1. 10
    5
      src/pages/payment/payment.ts

+ 10
- 5
src/pages/payment/payment.ts 파일 보기

@@ -10,15 +10,20 @@ import { TransactionService } from '../../providers/transaction-service';
10 10
   selector: 'page-payment',
11 11
   templateUrl: 'payment.html',
12 12
 })
13
+
14
+
13 15
 export class PaymentPage {
14
-  fromId: string;
15
-  toId: string;
16
-  amount: number;
17
-  trans: TransactionComponent =  new TransactionComponent(this.fromId, this.toId, this.amount);
18
-  ;
16
+  fromId: any;
17
+  toId: any;
18
+  amount: any;
19
+  //trans: TransactionComponent =  new TransactionComponent(this.fromId, this.toId, this.amount);
20
+  trans = {fromId: '', toId: '', amount: ''};
19 21
 
20 22
   constructor(public navCtrl: NavController, public navParams: NavParams, private http: HttpClient, public transfer: TransactionService) {
21 23
  this.navCtrl = navCtrl;
24
+//  this.fromId = document.getElementByIdaa;
25
+//  this.toId ='';
26
+//  this.amount = 0;
22 27
   }
23 28
 
24 29
   ionViewDidLoad() {