feat: don't allow edit after accepted

This commit is contained in:
Methapon Metanipat 2024-10-29 09:20:53 +07:00
parent 809d3e5b33
commit adb580db27

View file

@ -1230,7 +1230,14 @@ const view = ref<View>(View.Quotation);
>
{{ $t('general.view', { msg: $t('general.example') }) }}
</MainButton>
<div class="row" style="gap: var(--size-2)">
<div
class="row"
style="gap: var(--size-2)"
v-if="
quotationFormData.quotationStatus === 'Issued' ||
!quotationFormData.quotationStatus
"
>
<UndoButton
outlined
@click="closeTab()"