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
|
|
@ -121,6 +121,8 @@ export class CreditNoteController extends Controller {
|
|||
@Query() query: string = "",
|
||||
@Query() quotationId?: string,
|
||||
@Query() creditNoteStatus?: CreditNoteStatus,
|
||||
@Query() startDate?: Date,
|
||||
@Query() endDate?: Date,
|
||||
) {
|
||||
return await this.getCreditNoteListByCriteria(
|
||||
req,
|
||||
|
|
@ -129,6 +131,8 @@ export class CreditNoteController extends Controller {
|
|||
query,
|
||||
quotationId,
|
||||
creditNoteStatus,
|
||||
startDate,
|
||||
endDate,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -142,9 +146,9 @@ export class CreditNoteController extends Controller {
|
|||
@Query() query: string = "",
|
||||
@Query() quotationId?: string,
|
||||
@Query() creditNoteStatus?: CreditNoteStatus,
|
||||
@Body() body?: {},
|
||||
@Query() startDate?: Date,
|
||||
@Query() endDate?: Date,
|
||||
@Body() body?: {},
|
||||
) {
|
||||
const where = {
|
||||
OR: queryOrNot<Prisma.CreditNoteWhereInput[]>(query, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue