Added vehicle groups and age calculations.
This commit is contained in:
@@ -68,6 +68,8 @@ export const QUERY_JOB_BY_PK = gql`
|
||||
clm_total
|
||||
ro_number
|
||||
updated_at
|
||||
group
|
||||
v_age
|
||||
joblines(order_by: { unq_seq: asc }) {
|
||||
id
|
||||
act_price
|
||||
|
||||
14
src/graphql/veh_group.queries.js
Normal file
14
src/graphql/veh_group.queries.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const QUERY_GROUPS_BY_MAKE_TYPE = gql`
|
||||
query QUERY_GROUPS_BY_MAKE_TYPE($make: String!, $type: String) {
|
||||
veh_groups(
|
||||
where: { _and: { make: { _eq: $make } }, type: { _eq: $type } }
|
||||
) {
|
||||
id
|
||||
group
|
||||
make
|
||||
type
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user