feat: remove default status after created
This commit is contained in:
parent
221eedb53b
commit
9a4c97c109
1 changed files with 0 additions and 1 deletions
|
|
@ -531,7 +531,6 @@ export class DebitNoteController extends Controller {
|
||||||
...price,
|
...price,
|
||||||
isDebitNote: true,
|
isDebitNote: true,
|
||||||
debitNoteQuotationId: quotationId,
|
debitNoteQuotationId: quotationId,
|
||||||
quotationStatus: QuotationStatus.PaymentPending,
|
|
||||||
statusOrder: +(rest.status === "INACTIVE"),
|
statusOrder: +(rest.status === "INACTIVE"),
|
||||||
code: `DN${currentYear.toString().padStart(2, "0")}${currentMonth.toString().padStart(2, "0")}${lastQuotation.value.toString().padStart(6, "0")}`,
|
code: `DN${currentYear.toString().padStart(2, "0")}${currentMonth.toString().padStart(2, "0")}${lastQuotation.value.toString().padStart(6, "0")}`,
|
||||||
contactName: master?.contactName ?? "",
|
contactName: master?.contactName ?? "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue