Compare commits
5 Commits
7bc186cbe2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eee589174e | ||
|
|
47945c9b54 | ||
|
|
1c5652dae6 | ||
| 1f5ab7b133 | |||
|
|
769af04587 |
@@ -7,4 +7,4 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: portal
|
||||
image: 172.35.0.216:3000/simplifique/vendaweb-portal:b8cda80
|
||||
image: 172.35.0.216:3000/simplifique/vendaweb-portal:47945c9
|
||||
|
||||
@@ -2393,7 +2393,7 @@ export class CartSalesComponent
|
||||
openPrintPreOrder() {
|
||||
// this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' +
|
||||
this.urlPrintPreOrder =
|
||||
'http://172.35.0.219:8068/Viewer/{action}?order=' +
|
||||
'https://portainer.simplifiquehc.com.br/Viewer/{action}?order=' +
|
||||
this.preOrderNumber +
|
||||
'&model=' +
|
||||
this.modelPrintPreOrder;
|
||||
@@ -2407,7 +2407,7 @@ export class CartSalesComponent
|
||||
openPrintOrder() {
|
||||
// this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' +
|
||||
this.urlPrintOrder =
|
||||
'http://172.35.0.219:8068/Viewer/{action}?orderId=' +
|
||||
'https://portainer.simplifiquehc.com.br/Viewer/{action}?orderId=' +
|
||||
this.orderNumber +
|
||||
'&model=' +
|
||||
this.modelPrintOrder;
|
||||
|
||||
@@ -84,15 +84,9 @@ export class DiscountOrderComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
confirmDiscount() {
|
||||
const domain = '@jurunense.com.br';
|
||||
let email = this.formDiscount.get('formUser.email').value;
|
||||
|
||||
// Remover domínio se já estiver presente
|
||||
if (email.toLowerCase().endsWith(domain)) {
|
||||
email = email.substring(0, email.length - domain.length);
|
||||
}
|
||||
|
||||
const emailUpperCase = (email + domain).toUpperCase();
|
||||
const emailUpperCase = email.toUpperCase();
|
||||
const passwordUpperCase = this.formDiscount.get('formUser.password').value.toUpperCase();
|
||||
|
||||
if (this.discountAuthorization < this.percent) {
|
||||
|
||||
Reference in New Issue
Block a user