E-Invoice - Fix a problem reported by Sin Yee msic code does not apply to personal account + display text update

This commit is contained in:
Dillon Ngo
2025-06-25 20:21:57 +08:00
parent 979d7cdad3
commit 0fa5bfb30c
4 changed files with 7 additions and 8 deletions
@@ -101,7 +101,7 @@
</div>
<div class="row">
<div class="col">
<div class="padding-15 bg-master-lightest">
<div class="padding-15 bg-master-lightest" v-if="parameters.msic_code !== 0">
<p class="muted">MSIC Code</p>
<p class="m-b-0">{{parameters.msic_code}}</p>
</div>
@@ -232,10 +232,9 @@
}
: {})
},
msic_code: {
notZero,
fiveDigits
}
msic_code: companyType === 1 ? {
notZero, fiveDigits
}: {},
}
}
},
@@ -12,7 +12,7 @@
<p class="muted">TIN</p>
<p class="m-b-0">{{ eInvoiceData.tin }}</p>
</div>
<div class="padding-15 bg-master-lightest m-b-10">
<div class="padding-15 bg-master-lightest m-b-10" v-if="eInvoiceData.msic_code !== '0'">
<p class="muted">MSIC Code</p>
<p class="m-b-0">{{ eInvoiceData.msic_code }}</p>
</div>
@@ -13,7 +13,7 @@
<div class="row" v-if="!submitted">
<div class="col-auto">
<div class="bg-danger p-l-15 p-r-15 p-t-5 p-b-5 m-b-10">
<p class="m-b-0 text-white fs-12" >Any Purchase Orders that aren't submitted within 60 days will be closed for editing.</p>
<p class="m-b-0 text-white fs-12" >Ensure PO details are fill in correctly NO changes allowed after submission.</p>
</div>
<div class="bg-danger p-l-15 p-r-15 p-t-5 p-b-5" v-if="$store.getters.isAdmin && companySegmentIds.includes(24)">
<p class="m-b-0 text-white fs-12" >Please note that this customer request to manual fill up the PO.</p>
@@ -166,7 +166,7 @@
: {})
}
: {},
msic_code: isEInvoiceEnabled ? {
msic_code: isEInvoiceEnabled && companyType === 1 ? {
notZero, fiveDigits
}: {},