refactor: show expiratio date
This commit is contained in:
parent
ae6c1fd285
commit
67b3f5be89
2 changed files with 49 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ import {
|
|||
UndoButton,
|
||||
} from 'components/button';
|
||||
|
||||
import ExpiratioDate from 'components/03_customer-management/ExpiratioDate.vue';
|
||||
import { AddressForm } from 'components/form';
|
||||
import BranchCard from 'src/components/01_branch-management/BranchCard.vue';
|
||||
import ItemCard from 'src/components/ItemCard.vue';
|
||||
|
|
@ -2907,6 +2908,10 @@ const emptyCreateDialog = ref(false);
|
|||
<template v-slot:expiryDate>
|
||||
{{ $t('general.expirationDate') }} :
|
||||
{{ dateFormat(value.expireDate) }}
|
||||
<ExpiratioDate
|
||||
v-if="value.id !== undefined"
|
||||
:expiration-date="value.expireDate"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<template v-slot:button>
|
||||
|
|
@ -4335,6 +4340,10 @@ const emptyCreateDialog = ref(false);
|
|||
<template v-slot:expiryDate>
|
||||
{{ $t('general.expirationDate') }} :
|
||||
{{ dateFormat(value.expireDate) }}
|
||||
<ExpiratioDate
|
||||
v-if="value.id !== undefined"
|
||||
:expiration-date="value.expireDate"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<template v-slot:button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue