IOS-7 Added takenat to documents and uploads.

This commit is contained in:
Patrick Fic
2021-05-19 17:52:24 -07:00
parent a7878243ee
commit fddf75b40b
11 changed files with 221 additions and 4 deletions

View File

@@ -9,15 +9,13 @@ export const GET_DOCUMENTS_BY_JOB = gql`
}
}
}
documents(
order_by: { updated_at: desc }
where: { jobid: { _eq: $jobId } }
) {
documents(order_by: { takenat: desc }, where: { jobid: { _eq: $jobId } }) {
id
name
key
type
size
takenat
bill {
id
invoice_number
@@ -51,6 +49,7 @@ export const INSERT_NEW_DOCUMENT = gql`
name
key
size
takenat
}
}
}
@@ -78,6 +77,7 @@ export const QUERY_TEMPORARY_DOCS = gql`
type
extension
size
takenat
}
}
`;
@@ -94,6 +94,7 @@ export const UPDATE_DOCUMENT = gql`
type
key
size
takenat
}
}
`;