IO-1137 Download zip files with appropriate name.

This commit is contained in:
Patrick Fic
2021-05-25 16:30:29 -07:00
parent 73b0542b62
commit e89b4fe2a4
4 changed files with 78 additions and 9 deletions

View File

@@ -2,6 +2,10 @@ import { gql } from "@apollo/client";
export const GET_DOCUMENTS_BY_JOB = gql`
query GET_DOCUMENTS_BY_JOB($jobId: uuid!) {
jobs_by_pk(id: $jobId) {
id
ro_number
}
documents_aggregate(where: { jobid: { _eq: $jobId } }) {
aggregate {
sum {