feat: add sales cart, order, preorder, and partner commission components
This commit is contained in:
@@ -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()}`;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user