refactor: debit note pay type
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 5s
This commit is contained in:
parent
1360aca7e9
commit
642dec8de9
4 changed files with 7 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ watch(
|
|||
? payTypeOption.filter((v) => v.value === 'Full')
|
||||
: payTypeOption
|
||||
"
|
||||
:readonly
|
||||
:readonly="readonly || debitNote"
|
||||
id="pay-type"
|
||||
:model-value="payType"
|
||||
@update:model-value="
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import useOcrStore from 'stores/ocr';
|
|||
|
||||
// NOTE: Import Components
|
||||
import {
|
||||
AddButton,
|
||||
SaveButton,
|
||||
EditButton,
|
||||
UndoButton,
|
||||
|
|
@ -53,6 +54,9 @@ import { SideMenu } from 'src/components';
|
|||
import BasicInformation from 'components/03_customer-management/employee/BasicInformation.vue';
|
||||
import { AddressForm } from 'src/components/form';
|
||||
import ExpirationDate from 'src/components/03_customer-management/ExpirationDate.vue';
|
||||
import FormEmployeeHealthCheck from 'src/components/03_customer-management/FormEmployeeHealthCheck.vue';
|
||||
import FormEmployeeWorkHistory from 'src/components/03_customer-management/FormEmployeeWorkHistory.vue';
|
||||
import FormEmployeeOther from 'src/components/03_customer-management/FormEmployeeOther.vue';
|
||||
|
||||
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL;
|
||||
|
||||
|
|
|
|||
|
|
@ -1134,10 +1134,10 @@ async function submitAccepted() {
|
|||
view === QuotationStatus.Accepted
|
||||
"
|
||||
:total-price="summaryPrice.finalPrice"
|
||||
:pay-split="[]"
|
||||
class="q-mb-md"
|
||||
v-model:pay-type="currentFormData.payCondition"
|
||||
v-model:pay-split-count="currentFormData.paySplitCount"
|
||||
v-model:pay-split="currentFormData.paySplit"
|
||||
v-model:final-discount="currentFormData.discount"
|
||||
v-model:pay-bill-date="currentFormData.payBillDate"
|
||||
v-model:summary-price="summaryPrice"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { AddButton } from 'components/button';
|
||||
import ToggleButton from 'src/components/button/ToggleButton.vue';
|
||||
import WorkerItem from 'src/components/05_quotation/WorkerItem.vue';
|
||||
|
||||
defineProps<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue