Added invoices by vendor pagination BOD-150

This commit is contained in:
Patrick Fic
2020-07-15 11:05:52 -07:00
parent 7aec0c7055
commit 09990b1642
7 changed files with 155 additions and 11 deletions

View File

@@ -0,0 +1,41 @@
- args:
role: user
table:
name: invoices
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- created_at
- date
- due_date
- exported
- exported_at
- federal_tax_rate
- id
- invoice_number
- is_credit_memo
- jobid
- local_tax_rate
- state_tax_rate
- total
- updated_at
- vendorid
computed_fields: []
filter:
job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: invoices
schema: public
type: create_select_permission

View File

@@ -0,0 +1,41 @@
- args:
role: user
table:
name: invoices
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: true
columns:
- created_at
- date
- due_date
- exported
- exported_at
- federal_tax_rate
- id
- invoice_number
- is_credit_memo
- jobid
- local_tax_rate
- state_tax_rate
- total
- updated_at
- vendorid
computed_fields: []
filter:
job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: invoices
schema: public
type: create_select_permission

View File

@@ -1474,6 +1474,7 @@ tables:
_eq: X-Hasura-User-Id
- active:
_eq: true
allow_aggregations: true
update_permissions:
- role: user
permission: