Fix: include carrierName, writingCompanyName, policyGroup in SSR task data
This commit is contained in:
parent
07945ec1d9
commit
792f1c81c2
1 changed files with 6 additions and 0 deletions
|
|
@ -84,12 +84,18 @@ export default async function ClientDetailPage({
|
|||
policyNumber: true,
|
||||
policyType: true,
|
||||
expirationDate: true,
|
||||
carrierName: true,
|
||||
writingCompanyName: true,
|
||||
},
|
||||
},
|
||||
policyGroup: {
|
||||
select: { id: true, name: true, renewalDate: true },
|
||||
},
|
||||
assignments: {
|
||||
include: {
|
||||
user: {
|
||||
select: {
|
||||
id: true,
|
||||
displayName: true,
|
||||
email: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue