fix(bank_code): changed G56 for G140
This commit is contained in:
parent
1dd57829ec
commit
b25558d71c
|
|
@ -205,7 +205,7 @@
|
|||
// if (code === 'G700') {
|
||||
// code = 'G104';
|
||||
// } else if (code === 'G140') {
|
||||
// code = 'G56'
|
||||
// code = 'G140'
|
||||
// }
|
||||
// const bank_code = await prisma.bankCodes.findFirst({
|
||||
// where: { bank_code: code },
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export class HolidayService {
|
|||
holiday_date: Date
|
||||
): Promise<Result<number, string>> {
|
||||
try {
|
||||
const valid_codes = ['G1', 'G43', 'G56', 'G104', 'G105', 'G305', 'G700', 'G720'];
|
||||
const valid_codes = ['G1', 'G43', 'G140', 'G104', 'G105', 'G305', 'G700', 'G720'];
|
||||
const holiday_week_start = getWeekStart(holiday_date);
|
||||
const window_start = new Date(holiday_week_start.getTime() - 4 * MS_PER_WEEK);
|
||||
const window_end = new Date(holiday_week_start.getTime() - 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user