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