feat: add sales cart, order, preorder, and partner commission components

This commit is contained in:
Luis Eduardo Estevao
2026-02-12 11:01:50 -03:00
parent d7edd99bd2
commit 921a3a5d53
4 changed files with 12 additions and 12 deletions

View File

@@ -68,7 +68,7 @@ export class CommissionComponent implements OnInit {
}
console.log("tipo: " + intType);
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}
// &start=${this.range.start.toUTCString()}&end=${this.range.end.toUTCString()}`;

View File

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

View File

@@ -239,7 +239,7 @@ export class OrdersComponent implements OnInit, OnDestroy {
}
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.titleInformation = 'Gravar pedido de venda';
this.openedPrintOrder = true;
@@ -258,7 +258,7 @@ export class OrdersComponent implements OnInit, OnDestroy {
}
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.titleInformation = 'Recibo pagamento via PIX';
this.openedPrintReceivePix = true;

View File

@@ -34,7 +34,7 @@ export class PreorderComponent implements OnInit {
formModelPreOrder: FormGroup;
preOrderNumber: number;
openedModelPrintOrder = false;
urlPrintPreOrder = 'http://10.1.1.205:8068/Viewer/{action}?order=';
urlPrintPreOrder = 'http://172.35.0.219:8068/Viewer/{action}?order=';
showInformationCreateOrder = false;
openedPrintPreOrder = false;
public windowState: WindowState = 'maximized';
@@ -207,7 +207,7 @@ export class PreorderComponent implements OnInit {
openPrintPreOrder() {
// 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.openedPrintPreOrder = true;
}