feat: credit note (#8)

* feat: add db table and structure

* chore: migration

* createCreditNote

* add check conditions quotationId before create credit note and add fn delete data

* feat: add query list of credit note

* feat: add get stats of credit ntoe

* update

* feat: add get by id

* add permission

* delete console log

* chore: cleanup

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: Kanjana <taii.kanjana@gmail.com>
This commit is contained in:
Methapon Metanipat 2024-12-20 14:22:55 +07:00 committed by GitHub
parent b5cdb24228
commit f673f2c953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 428 additions and 2 deletions

View file

@ -51,7 +51,9 @@
{ "name": "Receipt" },
{ "name": "Request List" },
{ "name": "Task Order" },
{ "name": "User Task Order" }
{ "name": "User Task Order" },
{ "name": "Credit Note" },
{ "name": "Debit Note" }
]
}
},