add endDate,startDate
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
d52680c23f
commit
fd7833a592
4 changed files with 19 additions and 3 deletions
|
|
@ -168,6 +168,8 @@ export class DebitNoteController extends Controller {
|
|||
@Query() payCondition?: PayCondition,
|
||||
@Query() includeRegisteredBranch?: boolean,
|
||||
@Query() code?: string,
|
||||
@Query() startDate?: Date,
|
||||
@Query() endDate?: Date,
|
||||
) {
|
||||
return await this.getDebitNoteListByCriteria(
|
||||
req,
|
||||
|
|
@ -179,6 +181,8 @@ export class DebitNoteController extends Controller {
|
|||
payCondition,
|
||||
includeRegisteredBranch,
|
||||
code,
|
||||
startDate,
|
||||
endDate,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -195,9 +199,9 @@ export class DebitNoteController extends Controller {
|
|||
@Query() payCondition?: PayCondition,
|
||||
@Query() includeRegisteredBranch?: boolean,
|
||||
@Query() code?: string,
|
||||
@Body() body?: {},
|
||||
@Query() startDate?: Date,
|
||||
@Query() endDate?: Date,
|
||||
@Body() body?: {},
|
||||
) {
|
||||
const where = {
|
||||
OR: queryOrNot<Prisma.QuotationWhereInput[]>(query, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue