fixes
Build And Push Image / docker (push) Successful in 1m23s Details

This commit is contained in:
Matt 2025-08-15 15:18:09 +02:00
parent df4b89a45a
commit 2cbef70d82
1 changed files with 13 additions and 19 deletions

View File

@ -269,24 +269,20 @@
</div> </div>
<div class="date-picker-wrapper"> <div class="date-picker-wrapper">
<label class="date-picker-label">Payment Date</label> <v-text-field
<VueDatePicker v-model="selectedPaymentDate"
v-model="selectedPaymentModel" label="Payment Date"
:timezone="{ type="date"
timezone: 'Europe/Monaco', :max="todayDate"
emitTimezone: 'UTC' variant="outlined"
}" density="comfortable"
:format="'dd/MM/yyyy (Monaco)'" prepend-inner-icon="mdi-calendar"
:max-date="new Date()" :error="isDateInFuture"
placeholder="Select payment date" :error-messages="isDateInFuture ? 'Future dates are not allowed' : ''"
:enable-time-picker="false"
auto-apply
:clearable="false"
:required="true"
@update:model-value="handleDateUpdate" @update:model-value="handleDateUpdate"
/> />
<div class="text-caption text-medium-emphasis mt-1"> <div class="text-caption text-medium-emphasis mt-1">
Select the date when the payment was received Select the date when the payment was received (Monaco timezone)
</div> </div>
</div> </div>
@ -488,10 +484,8 @@ watch(showPaymentDateDialog, (isOpen) => {
}); });
// Methods // Methods
const handleDateUpdate = (date: Date | null) => { const handleDateUpdate = (dateString: string) => {
if (date) { selectedPaymentDate.value = dateString;
selectedPaymentDate.value = date.toISOString().split('T')[0];
}
}; };
const cancelPaymentDialog = () => { const cancelPaymentDialog = () => {