Added fields to claim data page.
This commit is contained in:
@@ -856,6 +856,27 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>csr</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>customerowing</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
@@ -1045,6 +1066,69 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>kmin</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>kmout</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>loss_desc</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>owner</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
@@ -1150,6 +1234,48 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>ponumber</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>referralsource</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>repairtotal</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
@@ -1318,6 +1444,27 @@
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>unitnumber</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
<description></description>
|
||||
<comment></comment>
|
||||
<default_text></default_text>
|
||||
<translations>
|
||||
<translation>
|
||||
<language>en-US</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>es-MX</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
<translation>
|
||||
<language>fr-CA</language>
|
||||
<approved>false</approved>
|
||||
</translation>
|
||||
</translations>
|
||||
</concept_node>
|
||||
<concept_node>
|
||||
<name>vehicle</name>
|
||||
<definition_loaded>false</definition_loaded>
|
||||
|
||||
@@ -1,44 +1,81 @@
|
||||
import { Form, Input, Switch } from "antd";
|
||||
import React, { useContext } from "react";
|
||||
import { Form, Input } from "antd";
|
||||
import FormItemPhone from "../form-items-formatted/phone-form-item.component";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import JobDetailFormContext from "../../pages/jobs-detail/jobs-detail.page.context";
|
||||
import FormItemPhone from "../form-items-formatted/phone-form-item.component";
|
||||
|
||||
export default function JobsDetailClaims({ job }) {
|
||||
const form = useContext(JobDetailFormContext);
|
||||
const { getFieldDecorator, isFieldTouched } = form;
|
||||
const { getFieldDecorator } = form;
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div>
|
||||
<Form.Item label='Estimator Last Name'>
|
||||
{isFieldTouched("est_ct_ln") ? "Yes" : "No"}
|
||||
{getFieldDecorator("est_ct_ln", {
|
||||
initialValue: job.est_ct_ln
|
||||
})(<Input name='est_ct_ln' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label='Estimator First Name'>
|
||||
{getFieldDecorator("est_ct_fn", {
|
||||
initialValue: job.est_ct_fn
|
||||
})(<Input name='est_ct_fn' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label='Estimator Phone #'>
|
||||
{getFieldDecorator("est_ph1", {
|
||||
initialValue: job.est_ph1
|
||||
})(<FormItemPhone customInput={Input} name='est_ph1' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label='Estimator Email'>
|
||||
{getFieldDecorator("est_ea", {
|
||||
initialValue: job.est_ea,
|
||||
|
||||
rules: [
|
||||
{
|
||||
type: "email",
|
||||
message: "This is not a valid email address."
|
||||
}
|
||||
]
|
||||
})(<Input name='est_ea' />)}
|
||||
</Form.Item>
|
||||
</div>
|
||||
<Form.Item label={t("jobs.fields.csr")}>
|
||||
{getFieldDecorator("csr", {
|
||||
initialValue: job.csr
|
||||
})(<Input name='csr' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.loss_desc")}>
|
||||
{getFieldDecorator("loss_desc", {
|
||||
initialValue: job.loss_desc
|
||||
})(<Input name='loss_desc' />)}
|
||||
</Form.Item>
|
||||
TODO: How to handle different taxes and marking them as exempt?
|
||||
{
|
||||
// <Form.Item label={t("jobs.fields.exempt")}>
|
||||
// {getFieldDecorator("exempt", {
|
||||
// initialValue: job.exempt
|
||||
// })(<Input name='exempt' />)}
|
||||
// </Form.Item>
|
||||
}
|
||||
<Form.Item label={t("jobs.fields.ponumber")}>
|
||||
{getFieldDecorator("po_number", {
|
||||
initialValue: job.po_number
|
||||
})(<Input name='po_number' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.unitnumber")}>
|
||||
{getFieldDecorator("unit_number", {
|
||||
initialValue: job.unit_number
|
||||
})(<Input name='unit_number' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.specialcoveragepolicy")}>
|
||||
{getFieldDecorator("special_coverage_policy", {
|
||||
initialValue: job.special_coverage_policy,
|
||||
valuePropName: "checked"
|
||||
})(<Switch name='special_coverage_policy' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.kmin")}>
|
||||
{getFieldDecorator("kmin", {
|
||||
initialValue: job.kmin
|
||||
})(<Input name='kmin' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.kmout")}>
|
||||
{getFieldDecorator("kmout", {
|
||||
initialValue: job.kmout
|
||||
})(<Input name='kmout' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label={t("jobs.fields.referralsource")}>
|
||||
{getFieldDecorator("referral_source", {
|
||||
initialValue: job.referral_source
|
||||
})(<Input name='referral_source' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label='Estimator Phone #'>
|
||||
{getFieldDecorator("est_ph1", {
|
||||
initialValue: job.est_ph1
|
||||
})(<FormItemPhone customInput={Input} name='est_ph1' />)}
|
||||
</Form.Item>
|
||||
<Form.Item label='Estimator Email'>
|
||||
{getFieldDecorator("est_ea", {
|
||||
initialValue: job.est_ea,
|
||||
rules: [
|
||||
{
|
||||
type: "email",
|
||||
message: "This is not a valid email address."
|
||||
}
|
||||
]
|
||||
})(<Input name='est_ea' />)}
|
||||
</Form.Item>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -122,6 +122,13 @@ export const GET_JOB_BY_PK = gql`
|
||||
scheduled_completion
|
||||
scheduled_in
|
||||
service_car
|
||||
csr
|
||||
loss_desc
|
||||
kmin
|
||||
kmout
|
||||
referral_source
|
||||
unit_number
|
||||
po_number
|
||||
special_coverage_policy
|
||||
scheduled_delivery
|
||||
job_status {
|
||||
|
||||
@@ -4,11 +4,7 @@ import { useMutation, useQuery } from "react-apollo";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import AlertComponent from "../../components/alert/alert.component";
|
||||
import SpinComponent from "../../components/loading-spinner/loading-spinner.component";
|
||||
import {
|
||||
CONVERT_JOB_TO_RO,
|
||||
GET_JOB_BY_PK,
|
||||
UPDATE_JOB
|
||||
} from "../../graphql/jobs.queries";
|
||||
import { CONVERT_JOB_TO_RO, GET_JOB_BY_PK, UPDATE_JOB } from "../../graphql/jobs.queries";
|
||||
import JobsDetailPage from "./jobs-detail.page.component";
|
||||
import JobDetailFormContext from "./jobs-detail.page.context";
|
||||
|
||||
@@ -24,12 +20,13 @@ function JobsDetailPageContainer({ match, form }) {
|
||||
const [mutationConvertJob] = useMutation(CONVERT_JOB_TO_RO);
|
||||
|
||||
useEffect(() => {
|
||||
document.title =
|
||||
loading && !error
|
||||
? "..."
|
||||
: t("titles.jobsdetail", {
|
||||
ro_number: data.jobs_by_pk.ro_number
|
||||
});
|
||||
document.title = loading
|
||||
? "..."
|
||||
: error
|
||||
? t("titles.app")
|
||||
: t("titles.jobsdetail", {
|
||||
ro_number: data.jobs_by_pk.ro_number
|
||||
});
|
||||
}, [loading, data, t, error]);
|
||||
|
||||
const handleSubmit = e => {
|
||||
@@ -58,6 +55,7 @@ function JobsDetailPageContainer({ match, form }) {
|
||||
|
||||
if (loading) return <SpinComponent />;
|
||||
if (error) return <AlertComponent message={error.message} type='error' />;
|
||||
|
||||
return data.jobs_by_pk ? (
|
||||
<JobDetailFormContext.Provider value={form}>
|
||||
<JobsDetailPage
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"claim_total": "Claim Total",
|
||||
"clm_no": "Claim #",
|
||||
"clm_total": "Claim Total",
|
||||
"csr": "Customer Service Rep.",
|
||||
"customerowing": "Customer Owing",
|
||||
"date_closed": "Closed",
|
||||
"date_estimated": "Date Estimated",
|
||||
@@ -70,11 +71,16 @@
|
||||
"date_scheduled": "Scheduled",
|
||||
"deductible": "Deductible",
|
||||
"est_number": "Estimate Number",
|
||||
"kmin": "Mileage In",
|
||||
"kmout": "Mileage Out",
|
||||
"loss_desc": "Loss of Use",
|
||||
"owner": "Owner",
|
||||
"owner_owing": "Cust. Owes",
|
||||
"ownr_ea": "Email",
|
||||
"phone1": "Phone 1",
|
||||
"phoneshort": "PH",
|
||||
"ponumber": "PO Number",
|
||||
"referralsource": "Referral Source",
|
||||
"repairtotal": "Repair Total",
|
||||
"ro_number": "RO #",
|
||||
"scheduled_completion": "Scheduled Completion",
|
||||
@@ -83,6 +89,7 @@
|
||||
"servicecar": "Service Car",
|
||||
"specialcoveragepolicy": "Special Coverage Policy",
|
||||
"status": "Job Status",
|
||||
"unitnumber": "Unit #",
|
||||
"vehicle": "Vehicle"
|
||||
},
|
||||
"labels": {
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"claim_total": "Reclamar total",
|
||||
"clm_no": "Reclamación #",
|
||||
"clm_total": "Reclamar total",
|
||||
"csr": "Representante de servicio al cliente.",
|
||||
"customerowing": "Cliente debido",
|
||||
"date_closed": "Cerrado",
|
||||
"date_estimated": "Fecha estimada",
|
||||
@@ -70,11 +71,16 @@
|
||||
"date_scheduled": "Programado",
|
||||
"deductible": "Deducible",
|
||||
"est_number": "Numero Estimado",
|
||||
"kmin": "Kilometraje en",
|
||||
"kmout": "Kilometraje",
|
||||
"loss_desc": "Perdida de uso",
|
||||
"owner": "Propietario",
|
||||
"owner_owing": "Cust. Debe",
|
||||
"ownr_ea": "Email",
|
||||
"phone1": "Teléfono 1",
|
||||
"phoneshort": "PH",
|
||||
"ponumber": "numero postal",
|
||||
"referralsource": "Fuente de referencia",
|
||||
"repairtotal": "Reparación total",
|
||||
"ro_number": "RO #",
|
||||
"scheduled_completion": "Finalización programada",
|
||||
@@ -83,6 +89,7 @@
|
||||
"servicecar": "Auto de servicio",
|
||||
"specialcoveragepolicy": "Política de cobertura especial",
|
||||
"status": "Estado del trabajo",
|
||||
"unitnumber": "Unidad #",
|
||||
"vehicle": "Vehículo"
|
||||
},
|
||||
"labels": {
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"claim_total": "Total réclamation",
|
||||
"clm_no": "Prétendre #",
|
||||
"clm_total": "Total réclamation",
|
||||
"csr": "représentant du service à la clientèle",
|
||||
"customerowing": "Client propriétaire",
|
||||
"date_closed": "Fermé",
|
||||
"date_estimated": "Date estimée",
|
||||
@@ -70,11 +71,16 @@
|
||||
"date_scheduled": "Prévu",
|
||||
"deductible": "Déductible",
|
||||
"est_number": "Numéro d'estimation",
|
||||
"kmin": "Kilométrage en",
|
||||
"kmout": "Kilométrage hors",
|
||||
"loss_desc": "Perte d'usage",
|
||||
"owner": "Propriétaire",
|
||||
"owner_owing": "Cust. Owes",
|
||||
"ownr_ea": "Email",
|
||||
"phone1": "Téléphone 1",
|
||||
"phoneshort": "PH",
|
||||
"ponumber": "Numéro de bon de commande",
|
||||
"referralsource": "Source de référence",
|
||||
"repairtotal": "Réparation totale",
|
||||
"ro_number": "RO #",
|
||||
"scheduled_completion": "Achèvement planifié",
|
||||
@@ -83,6 +89,7 @@
|
||||
"servicecar": "Voiture de service",
|
||||
"specialcoveragepolicy": "Politique de couverture spéciale",
|
||||
"status": "Statut de l'emploi",
|
||||
"unitnumber": "Unité #",
|
||||
"vehicle": "Véhicule"
|
||||
},
|
||||
"labels": {
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "csr";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "csr" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,214 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,215 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
- csr
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,212 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,213 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,214 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,215 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "po_number";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "po_number" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "unit_number";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "unit_number" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "kmin";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "kmin" integer NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "kmout";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "kmout" integer NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,215 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
- csr
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,219 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
- csr
|
||||
- po_number
|
||||
- unit_number
|
||||
- kmin
|
||||
- kmout
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,213 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,217 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,215 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,219 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" DROP COLUMN "referral_source";
|
||||
type: run_sql
|
||||
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: ALTER TABLE "public"."jobs" ADD COLUMN "referral_source" text NULL;
|
||||
type: run_sql
|
||||
@@ -0,0 +1,219 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
- csr
|
||||
- po_number
|
||||
- unit_number
|
||||
- kmin
|
||||
- kmout
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,220 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_insert_permission
|
||||
- args:
|
||||
permission:
|
||||
check:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
columns:
|
||||
- id
|
||||
- created_at
|
||||
- updated_at
|
||||
- shopid
|
||||
- ro_number
|
||||
- ownerid
|
||||
- vehicleid
|
||||
- labor_rate_id
|
||||
- labor_rate_desc
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_laf
|
||||
- rate_lam
|
||||
- rate_lag
|
||||
- rate_atp
|
||||
- rate_lau
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_mahw
|
||||
- rate_ma2s
|
||||
- rate_ma3s
|
||||
- rate_ma2t
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_matd
|
||||
- federal_tax_rate
|
||||
- state_tax_rate
|
||||
- local_tax_rate
|
||||
- est_co_nm
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_st
|
||||
- est_zip
|
||||
- est_ctry
|
||||
- est_ph1
|
||||
- est_ea
|
||||
- est_ct_ln
|
||||
- est_ct_fn
|
||||
- scheduled_in
|
||||
- actual_in
|
||||
- scheduled_completion
|
||||
- actual_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- regie_number
|
||||
- invoice_date
|
||||
- claim_total
|
||||
- deductible
|
||||
- inproduction
|
||||
- statusid
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_st
|
||||
- ins_zip
|
||||
- ins_ctry
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_ct_ln
|
||||
- ins_ct_fn
|
||||
- ins_title
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ea
|
||||
- ins_memo
|
||||
- policy_no
|
||||
- ded_amt
|
||||
- ded_status
|
||||
- asgn_no
|
||||
- asgn_date
|
||||
- asgn_type
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- date_estimated
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- date_invoiced
|
||||
- date_closed
|
||||
- date_exported
|
||||
- clm_total
|
||||
- owner_owing
|
||||
- converted
|
||||
- ciecaid
|
||||
- loss_date
|
||||
- clm_ofc_nm
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_st
|
||||
- clm_zip
|
||||
- clm_ctry
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_ct_ln
|
||||
- clm_ct_fn
|
||||
- clm_title
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ea
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- pay_date
|
||||
- pay_chknm
|
||||
- pay_amt
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- agt_ctry
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_ct_ln
|
||||
- agt_ct_fn
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ea
|
||||
- agt_lic_no
|
||||
- loss_type
|
||||
- loss_desc
|
||||
- theft_ind
|
||||
- cat_no
|
||||
- tlos_ind
|
||||
- cust_pr
|
||||
- insd_ln
|
||||
- insd_fn
|
||||
- insd_title
|
||||
- insd_co_nm
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_st
|
||||
- insd_zip
|
||||
- insd_ctry
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_ea
|
||||
- ownr_ln
|
||||
- ownr_fn
|
||||
- ownr_title
|
||||
- ownr_co_nm
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_st
|
||||
- ownr_zip
|
||||
- ownr_ctry
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_ea
|
||||
- area_of_damage
|
||||
- loss_cat
|
||||
- est_number
|
||||
- service_car
|
||||
- special_coverage_policy
|
||||
- csr
|
||||
- po_number
|
||||
- unit_number
|
||||
- kmin
|
||||
- kmout
|
||||
- referral_source
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_insert_permission
|
||||
@@ -0,0 +1,217 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,218 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_select_permission
|
||||
- args:
|
||||
permission:
|
||||
allow_aggregations: false
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- referral_source
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
computed_fields: []
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_select_permission
|
||||
@@ -0,0 +1,219 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
@@ -0,0 +1,220 @@
|
||||
- args:
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: drop_update_permission
|
||||
- args:
|
||||
permission:
|
||||
columns:
|
||||
- converted
|
||||
- inproduction
|
||||
- special_coverage_policy
|
||||
- asgn_date
|
||||
- invoice_date
|
||||
- loss_date
|
||||
- pay_date
|
||||
- kmin
|
||||
- kmout
|
||||
- est_number
|
||||
- area_of_damage
|
||||
- claim_total
|
||||
- clm_total
|
||||
- ded_amt
|
||||
- deductible
|
||||
- federal_tax_rate
|
||||
- local_tax_rate
|
||||
- owner_owing
|
||||
- pay_amt
|
||||
- rate_atp
|
||||
- rate_la1
|
||||
- rate_la2
|
||||
- rate_la3
|
||||
- rate_la4
|
||||
- rate_lab
|
||||
- rate_lad
|
||||
- rate_lae
|
||||
- rate_laf
|
||||
- rate_lag
|
||||
- rate_lam
|
||||
- rate_lar
|
||||
- rate_las
|
||||
- rate_lau
|
||||
- rate_ma2s
|
||||
- rate_ma2t
|
||||
- rate_ma3s
|
||||
- rate_mabl
|
||||
- rate_macs
|
||||
- rate_mahw
|
||||
- rate_mapa
|
||||
- rate_mash
|
||||
- rate_matd
|
||||
- state_tax_rate
|
||||
- agt_addr1
|
||||
- agt_addr2
|
||||
- agt_city
|
||||
- agt_co_id
|
||||
- agt_co_nm
|
||||
- agt_ct_fn
|
||||
- agt_ct_ln
|
||||
- agt_ct_ph
|
||||
- agt_ct_phx
|
||||
- agt_ctry
|
||||
- agt_ea
|
||||
- agt_fax
|
||||
- agt_faxx
|
||||
- agt_lic_no
|
||||
- agt_ph1
|
||||
- agt_ph1x
|
||||
- agt_ph2
|
||||
- agt_ph2x
|
||||
- agt_st
|
||||
- agt_zip
|
||||
- asgn_no
|
||||
- asgn_type
|
||||
- cat_no
|
||||
- ciecaid
|
||||
- clm_addr1
|
||||
- clm_addr2
|
||||
- clm_city
|
||||
- clm_ct_fn
|
||||
- clm_ct_ln
|
||||
- clm_ct_ph
|
||||
- clm_ct_phx
|
||||
- clm_ctry
|
||||
- clm_ea
|
||||
- clm_fax
|
||||
- clm_faxx
|
||||
- clm_no
|
||||
- clm_ofc_id
|
||||
- clm_ofc_nm
|
||||
- clm_ph1
|
||||
- clm_ph1x
|
||||
- clm_ph2
|
||||
- clm_ph2x
|
||||
- clm_st
|
||||
- clm_title
|
||||
- clm_zip
|
||||
- csr
|
||||
- cust_pr
|
||||
- ded_status
|
||||
- est_addr1
|
||||
- est_addr2
|
||||
- est_city
|
||||
- est_co_nm
|
||||
- est_ct_fn
|
||||
- est_ct_ln
|
||||
- est_ctry
|
||||
- est_ea
|
||||
- est_ph1
|
||||
- est_st
|
||||
- est_zip
|
||||
- ins_addr1
|
||||
- ins_addr2
|
||||
- ins_city
|
||||
- ins_co_id
|
||||
- ins_co_nm
|
||||
- ins_ct_fn
|
||||
- ins_ct_ln
|
||||
- ins_ct_ph
|
||||
- ins_ct_phx
|
||||
- ins_ctry
|
||||
- insd_addr1
|
||||
- insd_addr2
|
||||
- insd_city
|
||||
- insd_co_nm
|
||||
- insd_ctry
|
||||
- insd_ea
|
||||
- insd_fax
|
||||
- insd_faxx
|
||||
- insd_fn
|
||||
- insd_ln
|
||||
- insd_ph1
|
||||
- insd_ph1x
|
||||
- insd_ph2
|
||||
- insd_ph2x
|
||||
- insd_st
|
||||
- insd_title
|
||||
- insd_zip
|
||||
- ins_ea
|
||||
- ins_fax
|
||||
- ins_faxx
|
||||
- ins_memo
|
||||
- ins_ph1
|
||||
- ins_ph1x
|
||||
- ins_ph2
|
||||
- ins_ph2x
|
||||
- ins_st
|
||||
- ins_title
|
||||
- ins_zip
|
||||
- labor_rate_desc
|
||||
- labor_rate_id
|
||||
- loss_cat
|
||||
- loss_desc
|
||||
- loss_type
|
||||
- ownr_addr1
|
||||
- ownr_addr2
|
||||
- ownr_city
|
||||
- ownr_co_nm
|
||||
- ownr_ctry
|
||||
- ownr_ea
|
||||
- ownr_fax
|
||||
- ownr_faxx
|
||||
- ownr_fn
|
||||
- ownr_ln
|
||||
- ownr_ph1
|
||||
- ownr_ph1x
|
||||
- ownr_ph2
|
||||
- ownr_ph2x
|
||||
- ownr_st
|
||||
- ownr_title
|
||||
- ownr_zip
|
||||
- pay_chknm
|
||||
- payee_nms
|
||||
- pay_type
|
||||
- policy_no
|
||||
- po_number
|
||||
- referral_source
|
||||
- regie_number
|
||||
- ro_number
|
||||
- service_car
|
||||
- theft_ind
|
||||
- tlos_ind
|
||||
- unit_number
|
||||
- actual_completion
|
||||
- actual_delivery
|
||||
- actual_in
|
||||
- created_at
|
||||
- date_closed
|
||||
- date_estimated
|
||||
- date_exported
|
||||
- date_invoiced
|
||||
- date_open
|
||||
- date_scheduled
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- scheduled_in
|
||||
- updated_at
|
||||
- id
|
||||
- ownerid
|
||||
- shopid
|
||||
- statusid
|
||||
- vehicleid
|
||||
filter:
|
||||
bodyshop:
|
||||
associations:
|
||||
_and:
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
- active:
|
||||
_eq: true
|
||||
localPresets:
|
||||
- key: ""
|
||||
value: ""
|
||||
set: {}
|
||||
role: user
|
||||
table:
|
||||
name: jobs
|
||||
schema: public
|
||||
type: create_update_permission
|
||||
Reference in New Issue
Block a user