feat: add remark

This commit is contained in:
Methapon2001 2025-01-14 09:46:49 +07:00
parent fa244a6e82
commit 7f19b22dbb
2 changed files with 5 additions and 0 deletions

View file

@ -1606,6 +1606,7 @@ model CreditNote {
value Float @default(0)
reason String?
detail String?
remark String?
paybackType CreditNotePaybackType?
paybackBank String?

View file

@ -64,6 +64,7 @@ type CreditNoteCreate = {
quotationId: string;
reason?: string;
detail?: string;
remark?: string;
paybackType?: CreditNotePaybackType;
paybackBank?: string;
paybackAccount?: string;
@ -74,6 +75,7 @@ type CreditNoteUpdate = {
quotationId: string;
reason?: string;
detail?: string;
remark?: string;
paybackType?: CreditNotePaybackType;
paybackBank?: string;
paybackAccount?: string;
@ -363,6 +365,7 @@ export class CreditNoteController extends Controller {
data: {
reason: body.reason,
detail: body.detail,
remark: body.remark,
paybackType: body.paybackType,
paybackBank: body.paybackBank,
paybackAccount: body.paybackAccount,
@ -479,6 +482,7 @@ export class CreditNoteController extends Controller {
data: {
reason: body.reason,
detail: body.detail,
remark: body.remark,
paybackType: body.paybackType,
paybackBank: body.paybackBank,
paybackAccount: body.paybackAccount,