Created export payables screen + basic invoice exporting BOD-139

This commit is contained in:
Patrick Fic
2020-06-02 15:41:47 -07:00
parent a70933f03c
commit 73c457e972
17 changed files with 588 additions and 14 deletions

View File

@@ -27,3 +27,19 @@ export const QUERY_JOBS_FOR_EXPORT = gql`
}
}
`;
export const QUERY_INVOICES_FOR_EXPORT = gql`
query QUERY_INVOICES_FOR_EXPORT {
invoices(where: { exported: { _eq: false } }) {
id
exported
date
invoice_number
total
vendor {
name
id
}
}
}
`;