Starting dev. open woocomerce URL in customer browser tab
This commit is contained in:
parent
f80232d911
commit
fda0128767
1 changed files with 8 additions and 5 deletions
|
@ -85,7 +85,6 @@ export class InvoiceComponent implements OnInit {
|
|||
this.order = order;
|
||||
this.codeString = `zcash:${this.order.address}?amount=${this.order.totalZec.toFixed(8)}&memo=${URLSafeBase64.encode(Buffer.from('ZGo Order::'.concat(this.orderId!)))}`;
|
||||
this.zcashUrl = this.sanitizer.bypassSecurityTrustUrl(this.codeString);
|
||||
|
||||
});
|
||||
this.nameUpdate.subscribe(name => {
|
||||
this.name = name;
|
||||
|
@ -95,6 +94,10 @@ export class InvoiceComponent implements OnInit {
|
|||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
ngAfterViewInit(): void {
|
||||
console.log('Order.externalInvoice -> ' + this.order.externalInvoice);
|
||||
}
|
||||
|
||||
getIconStyle(order : Order) {
|
||||
if( order.paid )
|
||||
return "font-size: 14px; color: #72cc50; margin-bottom: -2px;";
|
||||
|
|
Loading…
Reference in a new issue