Merge branch 'mark-as-default-template' into 'master'

added mark as default changes in estimate and invoice template

See merge request mohit.panjvani/crater-web!1440
This commit is contained in:
Mohit Panjwani
2022-02-15 06:16:57 +00:00
9 changed files with 79 additions and 3 deletions

View File

@ -119,6 +119,7 @@
:store="estimateStore"
component-name="EstimateTemplate"
store-prop="newEstimate"
:is-mark-as-default="isMarkAsDefault"
/>
</div>
@ -171,6 +172,7 @@ const { t } = useI18n()
const estimateValidationScope = 'newEstimate'
let isSaving = ref(false)
const isMarkAsDefault = ref(false)
const estimateNoteFieldList = ref([
'customer',

View File

@ -118,6 +118,7 @@
:store="invoiceStore"
store-prop="newInvoice"
component-name="InvoiceTemplate"
:is-mark-as-default="isMarkAsDefault"
/>
</div>
@ -173,6 +174,7 @@ let router = useRouter()
const invoiceValidationScope = 'newInvoice'
let isSaving = ref(false)
const isMarkAsDefault = ref(false)
const invoiceNoteFieldList = ref([
'customer',