Resolve dispatch line error.
This commit is contained in:
@@ -77,7 +77,7 @@ export function JobLineLocationPopup({ bodyshop, jobline, disabled }) {
|
||||
>
|
||||
<Space wrap>
|
||||
{jobline.location}
|
||||
{jobline.parts_dispatch_lines.length > 0 && "-Disp"}
|
||||
{jobline.parts_dispatch_lines?.length > 0 && "-Disp"}
|
||||
</Space>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -913,6 +913,18 @@ export const QUERY_JOB_CARD_DETAILS = gql`
|
||||
ioucreated
|
||||
convertedtolbr
|
||||
critical
|
||||
parts_dispatch_lines {
|
||||
id
|
||||
accepted_at
|
||||
quantity
|
||||
parts_dispatch {
|
||||
id
|
||||
employeeid
|
||||
dispatched_at
|
||||
dispatched_by
|
||||
number
|
||||
}
|
||||
}
|
||||
}
|
||||
owner {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user