BOD-17 Added Contracts list page + updates and bugfixes on other pages.
This commit is contained in:
@@ -74,3 +74,36 @@ export const QUERY_CONTRACT_BY_PK = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_ACTIVE_CONTRACTS = gql`
|
||||
query QUERY_ACTIVE_CONTRACTS {
|
||||
cccontracts(where: { status: { _neq: "contracts.status.returned" } }) {
|
||||
agreementnumber
|
||||
courtesycarid
|
||||
driver_fn
|
||||
driver_ln
|
||||
driver_ph1
|
||||
id
|
||||
jobid
|
||||
job {
|
||||
id
|
||||
est_number
|
||||
ro_number
|
||||
ownr_fn
|
||||
ownr_ln
|
||||
ownr_co_nm
|
||||
}
|
||||
scheduledreturn
|
||||
start
|
||||
status
|
||||
courtesycar {
|
||||
id
|
||||
fleetnumber
|
||||
make
|
||||
model
|
||||
year
|
||||
plate
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -301,6 +301,7 @@ export const QUERY_JOB_CARD_DETAILS = gql`
|
||||
ded_amt
|
||||
cccontracts {
|
||||
id
|
||||
agreementnumber
|
||||
status
|
||||
start
|
||||
scheduledreturn
|
||||
|
||||
Reference in New Issue
Block a user