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() {