feat: also include task if any is complete
This commit is contained in:
parent
8690b4d82a
commit
185e76b7e9
1 changed files with 5 additions and 1 deletions
|
|
@ -326,7 +326,11 @@ export class RequestListController extends Controller {
|
||||||
employee: true,
|
employee: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
stepStatus: true,
|
stepStatus: {
|
||||||
|
include: {
|
||||||
|
task: { where: { taskStatus: TaskStatus.Complete } },
|
||||||
|
},
|
||||||
|
},
|
||||||
productService: {
|
productService: {
|
||||||
include: {
|
include: {
|
||||||
service: {
|
service: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue