Compare commits

...

2 Commits

Author SHA1 Message Date
Luis Eduardo Estevao
ce89051e71 Merge branch 'main' of https://git.simplifiquehc.com.br/simplifique/Vendaweb-portal
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Has been cancelled
2026-02-12 11:01:56 -03:00
Luis Eduardo Estevao
921a3a5d53 feat: add sales cart, order, preorder, and partner commission components 2026-02-12 11:01:50 -03:00
4 changed files with 12 additions and 12 deletions

View File

@@ -68,7 +68,7 @@ export class CommissionComponent implements OnInit {
} }
console.log("tipo: " + intType); console.log("tipo: " + intType);
this.urlPrintPreOrder = this.urlPrintPreOrder =
`http://10.1.1.205:8068/Viewer/{action}?partnerId=${partnerId}&type=${type}&start=${this.range.start.toUTCString()}&end=${this.range.end.toUTCString()}`; `http://172.35.0.219:8068/Viewer/{action}?partnerId=${partnerId}&type=${type}&start=${this.range.start.toUTCString()}&end=${this.range.end.toUTCString()}`;
// `http://localhost:52986/Viewer/{action}?partnerId=${this.selectedPartner.id} // `http://localhost:52986/Viewer/{action}?partnerId=${this.selectedPartner.id}
// &start=${this.range.start.toUTCString()}&end=${this.range.end.toUTCString()}`; // &start=${this.range.start.toUTCString()}&end=${this.range.end.toUTCString()}`;

View File

@@ -2386,7 +2386,7 @@ export class CartSalesComponent
openPrintPreOrder() { openPrintPreOrder() {
// this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' + // this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' +
this.urlPrintPreOrder = this.urlPrintPreOrder =
'http://10.1.1.205:8068/Viewer/{action}?order=' + 'http://172.35.0.219:8068/Viewer/{action}?order=' +
this.preOrderNumber + this.preOrderNumber +
'&model=' + '&model=' +
this.modelPrintPreOrder; this.modelPrintPreOrder;
@@ -2400,7 +2400,7 @@ export class CartSalesComponent
openPrintOrder() { openPrintOrder() {
// this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' + // this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' +
this.urlPrintOrder = this.urlPrintOrder =
'http://10.1.1.205:8068/Viewer/{action}?orderId=' + 'http://172.35.0.219:8068/Viewer/{action}?orderId=' +
this.orderNumber + this.orderNumber +
'&model=' + '&model=' +
this.modelPrintOrder; this.modelPrintOrder;

View File

@@ -239,7 +239,7 @@ export class OrdersComponent implements OnInit, OnDestroy {
} }
openPrintOrder() { openPrintOrder() {
this.urlPrintOrder = 'http://10.1.1.205:8068/Viewer/{action}?orderId=' + this.urlPrintOrder = 'http://172.35.0.219:8068/Viewer/{action}?orderId=' +
this.orderNumber + '&model=' + this.modelPrintOrder; this.orderNumber + '&model=' + this.modelPrintOrder;
this.titleInformation = 'Gravar pedido de venda'; this.titleInformation = 'Gravar pedido de venda';
this.openedPrintOrder = true; this.openedPrintOrder = true;
@@ -258,7 +258,7 @@ export class OrdersComponent implements OnInit, OnDestroy {
} }
openPrintReceivePix() { openPrintReceivePix() {
this.urlPrintCreditPix = 'http://10.1.1.205:8068/Viewer/{action}?order=' + this.urlPrintCreditPix = 'http://172.35.0.219:8068/Viewer/{action}?order=' +
this.orderNumber; this.orderNumber;
this.titleInformation = 'Recibo pagamento via PIX'; this.titleInformation = 'Recibo pagamento via PIX';
this.openedPrintReceivePix = true; this.openedPrintReceivePix = true;

View File

@@ -34,7 +34,7 @@ export class PreorderComponent implements OnInit {
formModelPreOrder: FormGroup; formModelPreOrder: FormGroup;
preOrderNumber: number; preOrderNumber: number;
openedModelPrintOrder = false; openedModelPrintOrder = false;
urlPrintPreOrder = 'http://10.1.1.205:8068/Viewer/{action}?order='; urlPrintPreOrder = 'http://172.35.0.219:8068/Viewer/{action}?order=';
showInformationCreateOrder = false; showInformationCreateOrder = false;
openedPrintPreOrder = false; openedPrintPreOrder = false;
public windowState: WindowState = 'maximized'; public windowState: WindowState = 'maximized';
@@ -207,7 +207,7 @@ export class PreorderComponent implements OnInit {
openPrintPreOrder() { openPrintPreOrder() {
// this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' + // this.urlPrintPreOrder = 'http://localhost:52986//Viewer/{action}?order=' +
this.urlPrintPreOrder = 'http://10.1.1.205:8068/Viewer/{action}?order=' + this.urlPrintPreOrder = 'http://172.35.0.219:8068/Viewer/{action}?order=' +
this.preOrderNumber + '&model=' + this.modelPrintPreOrder; this.preOrderNumber + '&model=' + this.modelPrintPreOrder;
this.openedPrintPreOrder = true; this.openedPrintPreOrder = true;
} }