Added driveable and tow in flags. IO-719
This commit is contained in:
@@ -350,6 +350,8 @@ export const GET_JOB_BY_PK = gql`
|
||||
v_make_desc
|
||||
v_color
|
||||
vehicleid
|
||||
driveable
|
||||
towin
|
||||
vehicle {
|
||||
id
|
||||
plate_no
|
||||
@@ -735,10 +737,20 @@ export const CONVERT_JOB_TO_RO = gql`
|
||||
$jobId: uuid!
|
||||
$class: String
|
||||
$ins_co_nm: String!
|
||||
$ca_gst_registrant: Boolean
|
||||
$driveable: Boolean
|
||||
$towin: Boolean
|
||||
) {
|
||||
update_jobs(
|
||||
where: { id: { _eq: $jobId } }
|
||||
_set: { converted: true, ins_co_nm: $ins_co_nm, class: $class }
|
||||
_set: {
|
||||
converted: true
|
||||
ins_co_nm: $ins_co_nm
|
||||
class: $class
|
||||
ca_gst_registrant: $ca_gst_registrant
|
||||
towin: $towin
|
||||
driveable: $driveable
|
||||
}
|
||||
) {
|
||||
returning {
|
||||
id
|
||||
@@ -1092,6 +1104,8 @@ export const QUERY_ALL_JOB_FIELDS = gql`
|
||||
employee_body
|
||||
employee_refinish
|
||||
employee_prep
|
||||
driveable
|
||||
towin
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user