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