feat: response more data
This commit is contained in:
parent
2ba9630174
commit
75651daa52
2 changed files with 18 additions and 2 deletions
|
|
@ -352,7 +352,15 @@ export class RequestListController extends Controller {
|
|||
include: {
|
||||
request: {
|
||||
include: {
|
||||
quotation: true,
|
||||
quotation: readyToTask
|
||||
? {
|
||||
include: {
|
||||
customerBranch: {
|
||||
include: { customer: true },
|
||||
},
|
||||
},
|
||||
}
|
||||
: true,
|
||||
employee: true,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -298,7 +298,15 @@ export class TaskController extends Controller {
|
|||
request: {
|
||||
include: {
|
||||
employee: true,
|
||||
quotation: true,
|
||||
quotation: {
|
||||
include: {
|
||||
customerBranch: {
|
||||
include: {
|
||||
customer: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
productService: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue