แก้ไข payment_endDate ใน calender
This commit is contained in:
parent
f8f28048b0
commit
ab9c927f88
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export const load: PageServerLoad = async ({ fetch }) => {
|
|||
}
|
||||
if (ex.payment_startDate) {
|
||||
const start = ex.payment_startDate;
|
||||
const end = dayjs(ex.payment_startDate).add(1, 'day').format('YYYY-MM-DD');
|
||||
const end = dayjs(ex.payment_endDate).add(1, 'day').format('YYYY-MM-DD');
|
||||
events.push({ id, title: 'ชำระเงิน:' + title, start, end, url, backgroundColor: '#D2B4DE' });
|
||||
}
|
||||
if (ex.examDate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue