Commit 6bb313d7 authored by pborate's avatar pborate

Updated ecm-checkout.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174920 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fb7918a3
...@@ -28,7 +28,7 @@ import { EcmCartService } from '../ecm-cart/ecm-cart.service'; ...@@ -28,7 +28,7 @@ import { EcmCartService } from '../ecm-cart/ecm-cart.service';
}) })
export class EcmCheckoutComponent implements OnInit ,DoCheck { export class EcmCheckoutComponent implements OnInit ,DoCheck {
ecmType = localStorage.getItem( 'ECM_TYPE' );
@ViewChild('userForm') currentForm: NgForm; @ViewChild('userForm') currentForm: NgForm;
@Input() unAuthorized: boolean = false; @Input() unAuthorized: boolean = false;
checked = false; checked = false;
...@@ -180,7 +180,7 @@ export class EcmCheckoutComponent implements OnInit ,DoCheck { ...@@ -180,7 +180,7 @@ export class EcmCheckoutComponent implements OnInit ,DoCheck {
break; break;
} }
let order = { "token_id": this.userData.TOKEN_ID, "billAddress": this.selectedAddress, "orderedItems":this.cartItems, "paymentInfo": paymentInfo}; let order = { "token_id": this.userData.TOKEN_ID, "billAddress": this.selectedAddress, "orderedItems":this.cartItems, "paymentInfo": paymentInfo, "ecm_type":this.ecmType};
console.log('-----order-----',order); console.log('-----order-----',order);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment