Aded joblines status view and updated graph to use the view. BOD-110

This commit is contained in:
Patrick Fic
2020-08-06 10:33:13 -07:00
parent bebdfe7a93
commit f383d78cda
35 changed files with 412 additions and 23 deletions

View File

@@ -1891,6 +1891,36 @@ tables:
_eq: X-Hasura-User-Id
- active:
_eq: true
- table:
schema: public
name: joblines_status
object_relationships:
- name: job
using:
manual_configuration:
remote_table:
schema: public
name: jobs
column_mapping:
jobid: id
select_permissions:
- role: user
permission:
columns:
- jobid
- status
- count
- part_type
filter:
job:
bodyshop:
associations:
_and:
- user:
authid:
_eq: X-Hasura-User-Id
- active:
_eq: true
- table:
schema: public
name: jobs
@@ -1978,6 +2008,14 @@ tables:
table:
schema: public
name: joblines
- name: joblines_status
using:
manual_configuration:
remote_table:
schema: public
name: joblines_status
column_mapping:
id: jobid
- name: notes
using:
foreign_key_constraint_on: