Added cc contract searching by date range BOD-236

This commit is contained in:
Patrick Fic
2020-07-29 10:48:11 -07:00
parent b51f5b0db2
commit 1f95b37778
8 changed files with 247 additions and 30 deletions

View File

@@ -0,0 +1,54 @@
- args:
role: user
table:
name: cccontracts
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: false
columns:
- actualreturn
- agreementnumber
- cc_cardholder
- cc_expiry
- cc_num
- contract_date
- courtesycarid
- created_at
- driver_addr1
- driver_addr2
- driver_city
- driver_dlexpiry
- driver_dlnumber
- driver_dlst
- driver_dob
- driver_fn
- driver_ln
- driver_ph1
- driver_state
- driver_zip
- id
- jobid
- kmend
- kmstart
- scheduledreturn
- start
- status
- updated_at
computed_fields: []
filter:
courtesycar:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: cccontracts
schema: public
type: create_select_permission

View File

@@ -0,0 +1,54 @@
- args:
role: user
table:
name: cccontracts
schema: public
type: drop_select_permission
- args:
permission:
allow_aggregations: true
columns:
- actualreturn
- agreementnumber
- cc_cardholder
- cc_expiry
- cc_num
- contract_date
- courtesycarid
- created_at
- driver_addr1
- driver_addr2
- driver_city
- driver_dlexpiry
- driver_dlnumber
- driver_dlst
- driver_dob
- driver_fn
- driver_ln
- driver_ph1
- driver_state
- driver_zip
- id
- jobid
- kmend
- kmstart
- scheduledreturn
- start
- status
- updated_at
computed_fields: []
filter:
courtesycar:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
role: user
table:
name: cccontracts
schema: public
type: create_select_permission

View File

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