Compare commits

...

6 Commits

Author SHA1 Message Date
Gitea Action
eee589174e chore: update image tag to 47945c9 [skip ci] 2026-03-16 18:02:03 +00:00
Luis Eduardo Estevao
47945c9b54 feat: Add discount order component to manage order discounts with authorization logic.
All checks were successful
Build (develop) / Promote (main) / build-and-push-deploy (push) Successful in 13m59s
2026-03-16 14:47:57 -03:00
Gitea Action
1c5652dae6 chore: update image tag to 1f5ab7b [skip ci] 2026-02-24 23:12:32 +00:00
1f5ab7b133 Merge pull request 'fix: update cart sales print viewer urls' (#1) from develop into main
All checks were successful
Build (develop) / Promote (main) / build-and-push-deploy (push) Successful in 5m45s
Reviewed-on: #1
2026-02-24 18:06:47 -05:00
joelson
769af04587 fix: update cart sales print viewer urls 2026-02-23 09:14:26 -03:00
Gitea Action
7bc186cbe2 chore: update image tag to b8cda80 [skip ci] 2026-02-20 13:11:29 +00:00
3 changed files with 4 additions and 10 deletions

View File

@@ -7,4 +7,4 @@ spec:
spec:
containers:
- name: portal
image: 172.35.0.216:3000/simplifique/vendaweb-portal:de46ca8
image: 172.35.0.216:3000/simplifique/vendaweb-portal:47945c9

View File

@@ -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;

View File

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