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

@@ -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';
@@ -125,11 +125,11 @@ export class PreorderComponent implements OnInit {
public selectedPreOrder({ sender, rowIndex, dataItem }: EditEvent): void {
if (dataItem.status === "ORÇAMENTO UTILIZADO") {
this.showInformation = true;
this.titleInformation = "Alterar Orçamento"
this.messageInformation = "Orçamento não pode ser editado."
this.informationDescription = "Orçamento já foi convertido em pedido de venda, alteração não permitida."
return;
this.showInformation = true;
this.titleInformation = "Alterar Orçamento"
this.messageInformation = "Orçamento não pode ser editado."
this.informationDescription = "Orçamento já foi convertido em pedido de venda, alteração não permitida."
return;
}
this.preOrderService.getCartId(dataItem.idPreOrder).pipe(
@@ -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;
}