change whereDateQuery in branch
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
This commit is contained in:
parent
5147eed15b
commit
27d3ce6573
1 changed files with 1 additions and 1 deletions
|
|
@ -319,13 +319,13 @@ export class BranchController extends Controller {
|
||||||
{ telephoneNo: { contains: query, mode: "insensitive" } },
|
{ telephoneNo: { contains: query, mode: "insensitive" } },
|
||||||
...whereAddressQuery(query),
|
...whereAddressQuery(query),
|
||||||
],
|
],
|
||||||
|
...whereDateQuery(startDate, endDate),
|
||||||
},
|
},
|
||||||
include: {
|
include: {
|
||||||
province: true,
|
province: true,
|
||||||
district: true,
|
district: true,
|
||||||
subDistrict: true,
|
subDistrict: true,
|
||||||
},
|
},
|
||||||
...whereDateQuery(startDate, endDate),
|
|
||||||
orderBy: { code: "asc" },
|
orderBy: { code: "asc" },
|
||||||
}
|
}
|
||||||
: false,
|
: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue