feat: include more relation
This commit is contained in:
parent
4e7e6e07c9
commit
bea08e5d12
1 changed files with 14 additions and 1 deletions
|
|
@ -223,7 +223,20 @@ export class CreditNoteController extends Controller {
|
|||
},
|
||||
},
|
||||
requestWork: {
|
||||
include: { request: true, productService: true },
|
||||
include: {
|
||||
request: true,
|
||||
productService: {
|
||||
include: {
|
||||
service: true,
|
||||
work: {
|
||||
include: { productOnWork: true },
|
||||
},
|
||||
product: {
|
||||
include: { document: true },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue