This commit is contained in:
@@ -488,6 +488,16 @@ const handleDateUpdate = (dateString: string) => {
|
|||||||
selectedPaymentDate.value = dateString;
|
selectedPaymentDate.value = dateString;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleDateModelUpdate = (date: Date | null) => {
|
||||||
|
if (date) {
|
||||||
|
selectedPaymentModel.value = date;
|
||||||
|
selectedPaymentDate.value = date.toISOString().split('T')[0];
|
||||||
|
} else {
|
||||||
|
selectedPaymentModel.value = null;
|
||||||
|
selectedPaymentDate.value = '';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
const cancelPaymentDialog = () => {
|
const cancelPaymentDialog = () => {
|
||||||
showPaymentDateDialog.value = false;
|
showPaymentDateDialog.value = false;
|
||||||
selectedPaymentDate.value = '';
|
selectedPaymentDate.value = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user