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" } },
|
||||
...whereAddressQuery(query),
|
||||
],
|
||||
...whereDateQuery(startDate, endDate),
|
||||
},
|
||||
include: {
|
||||
province: true,
|
||||
district: true,
|
||||
subDistrict: true,
|
||||
},
|
||||
...whereDateQuery(startDate, endDate),
|
||||
orderBy: { code: "asc" },
|
||||
}
|
||||
: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue