refactor: clear quotationId on create credit and debit notes

This commit is contained in:
puriphatt 2025-02-19 14:40:18 +07:00
parent 415ea3853d
commit d13a4769a5
2 changed files with 4 additions and 2 deletions

View file

@ -90,6 +90,7 @@ async function triggerDelete(id: string) {
}
async function triggerCreateDebitNote() {
pageState.quotationId = '';
pageState.debitDialog = true;
}
@ -485,7 +486,6 @@ watch(
<section class="q-pa-md col full-width">
<div class="surface-1 rounded bordered q-pa-md full-height full-width">
<!-- TODO: bind quotation id -->
<FormDebit v-model:quotation-id="pageState.quotationId" />
</div>
</section>