changes
This commit is contained in:
@@ -367,7 +367,7 @@ const isInvoiceAllowed = computed(() => paymentScheduleData.value?.status === 2)
|
||||
|
||||
const formatDate = (dateString) => {
|
||||
if (!dateString) return "-";
|
||||
return dayjs(dateString).format("DD/MM/YYYY");
|
||||
return dayjs(dateString).format("L");
|
||||
};
|
||||
|
||||
const getEntryTypeLabel = (type) => {
|
||||
@@ -430,8 +430,8 @@ const processedEntries = computed(() => {
|
||||
rate: Number(entry.DAILY_PENALTY_RATE || 0) * 100,
|
||||
totalDebt: Number(entry.amount_remain_after_allocation || 0) + penaltyThisPeriod,
|
||||
penaltyDetail: {
|
||||
from: lastEventDate.format("DD/MM/YYYY"),
|
||||
to: entryDate.format("DD/MM/YYYY"),
|
||||
from: lastEventDate.format("L"),
|
||||
to: entryDate.format("L"),
|
||||
days,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user