fix: do not include work with parent cancled
This commit is contained in:
parent
6a86dfd9ad
commit
019c493e7f
1 changed files with 3 additions and 0 deletions
|
|
@ -334,6 +334,9 @@ export class RequestListController extends Controller {
|
|||
creditNote: cancelOnly ? null : undefined,
|
||||
request: {
|
||||
id: requestDataId,
|
||||
requestDataStatus: readyToTask
|
||||
? { notIn: [RequestDataStatus.Canceled, RequestDataStatus.Completed] }
|
||||
: undefined,
|
||||
quotationId,
|
||||
quotation: {
|
||||
registeredBranch: { OR: permissionCond(req.user) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue