File diff suppressed because it is too large
Load Diff
@@ -109,7 +109,6 @@ class AppContainer extends Component {
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// See above for additional options, including other storage providers.
|
|
||||||
await persistCache({
|
await persistCache({
|
||||||
cache,
|
cache,
|
||||||
storage: window.sessionStorage,
|
storage: window.sessionStorage,
|
||||||
|
|||||||
@@ -1 +1,27 @@
|
|||||||
@import '~antd/dist/antd.css';
|
@import "~antd/dist/antd.css";
|
||||||
|
|
||||||
|
/* .ant-layout-header {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
height: 5vh;
|
||||||
|
right: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.ant-layout-content {
|
||||||
|
position: absolute;
|
||||||
|
top: 5vh;
|
||||||
|
bottom: 3vh;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-layout-footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0px;
|
||||||
|
height: 3vh;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
} */
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import React, { useEffect, Suspense, lazy } from "react";
|
import React, { useEffect, Suspense, lazy, useState } from "react";
|
||||||
import { useApolloClient, useQuery } from "@apollo/react-hooks";
|
import { useApolloClient, useQuery } from "@apollo/react-hooks";
|
||||||
import { Switch, Route, Redirect } from "react-router-dom";
|
import { Switch, Route, Redirect } from "react-router-dom";
|
||||||
import firebase from "../firebase/firebase.utils";
|
import firebase from "../firebase/firebase.utils";
|
||||||
|
import i18next from "i18next";
|
||||||
|
|
||||||
import "./App.css";
|
import "./App.css";
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ import ErrorBoundary from "../components/error-boundary/error-boundary.component
|
|||||||
|
|
||||||
import { auth } from "../firebase/firebase.utils";
|
import { auth } from "../firebase/firebase.utils";
|
||||||
import { UPSERT_USER } from "../graphql/user.queries";
|
import { UPSERT_USER } from "../graphql/user.queries";
|
||||||
import { GET_CURRENT_USER } from "../graphql/local.queries";
|
import { GET_CURRENT_USER, GET_LANGUAGE } from "../graphql/local.queries";
|
||||||
// import { QUERY_BODYSHOP } from "../graphql/bodyshop.queries";
|
// import { QUERY_BODYSHOP } from "../graphql/bodyshop.queries";
|
||||||
|
|
||||||
import PrivateRoute from "../utils/private-route";
|
import PrivateRoute from "../utils/private-route";
|
||||||
@@ -26,11 +27,12 @@ const Unauthorized = lazy(() =>
|
|||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const apolloClient = useApolloClient();
|
const apolloClient = useApolloClient();
|
||||||
|
const [loaded, setloaded] = useState(false);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
//Run the auth code only on the first render.
|
//Run the auth code only on the first render.
|
||||||
const unsubscribeFromAuth = auth.onAuthStateChanged(async user => {
|
const unsubscribeFromAuth = auth.onAuthStateChanged(async user => {
|
||||||
console.log("Auth State Changed.")
|
console.log("Auth State Changed.");
|
||||||
|
setloaded(true);
|
||||||
if (user) {
|
if (user) {
|
||||||
let token;
|
let token;
|
||||||
token = await user.getIdToken();
|
token = await user.getIdToken();
|
||||||
@@ -87,16 +89,30 @@ export default () => {
|
|||||||
unsubscribeFromAuth();
|
unsubscribeFromAuth();
|
||||||
};
|
};
|
||||||
}, [apolloClient]);
|
}, [apolloClient]);
|
||||||
|
|
||||||
const HookCurrentUser = useQuery(GET_CURRENT_USER);
|
const HookCurrentUser = useQuery(GET_CURRENT_USER);
|
||||||
if (HookCurrentUser.loading) return <LoadingSpinner />;
|
const HookLanguage = useQuery(GET_LANGUAGE);
|
||||||
if (HookCurrentUser.error)
|
|
||||||
return <AlertComponent message={HookCurrentUser.error.message} />;
|
if (!loaded) return <LoadingSpinner />;
|
||||||
|
if (HookCurrentUser.loading || HookLanguage.loading)
|
||||||
|
return <LoadingSpinner />;
|
||||||
|
if (HookCurrentUser.error || HookLanguage.error)
|
||||||
|
return (
|
||||||
|
<AlertComponent
|
||||||
|
message={HookCurrentUser.error.message || HookLanguage.error.message}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (HookLanguage.data.language)
|
||||||
|
i18next.changeLanguage(HookLanguage.data.language, (err, t) => {
|
||||||
|
if (err)
|
||||||
|
return console.log("Error encountered when changing languages.", err);
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Switch>
|
<Switch>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Suspense fallback={<div>TODO: Suspense Loading</div>}>
|
<Suspense fallback={<LoadingSpinner />}>
|
||||||
<Route exact path='/' component={LandingPage} />
|
<Route exact path='/' component={LandingPage} />
|
||||||
<Route exact path='/unauthorized' component={Unauthorized} />
|
<Route exact path='/unauthorized' component={Unauthorized} />
|
||||||
<Route
|
<Route
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
export default function ChatWindowComponent() {
|
||||||
|
return <div>Chat Windows and more</div>;
|
||||||
|
}
|
||||||
18
client/src/components/chat-window/chat-window.container.jsx
Normal file
18
client/src/components/chat-window/chat-window.container.jsx
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import React, { useState } from "react";
|
||||||
|
import ChatWindowComponent from "./chat-window.component";
|
||||||
|
import { Button } from "antd";
|
||||||
|
|
||||||
|
export default function ChatWindowContainer() {
|
||||||
|
const [visible, setVisible] = useState(false);
|
||||||
|
return (
|
||||||
|
<div style={{ position: "absolute", zIndex: 1000 }}>
|
||||||
|
{visible ? <ChatWindowComponent /> : null}
|
||||||
|
<Button
|
||||||
|
onClick={() => {
|
||||||
|
setVisible(!visible);
|
||||||
|
}}>
|
||||||
|
Open!
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { useQuery } from "@apollo/react-hooks";
|
import { useApolloClient, useQuery } from "@apollo/react-hooks";
|
||||||
import { Avatar, Col, Dropdown, Icon, Menu, Row } from "antd";
|
import { Avatar, Col, Dropdown, Icon, Menu, Row } from "antd";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
@@ -12,13 +12,14 @@ import SignOut from "../sign-out/sign-out.component";
|
|||||||
export default function CurrentUserDropdown() {
|
export default function CurrentUserDropdown() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { loading, error, data } = useQuery(GET_CURRENT_USER);
|
const { loading, error, data } = useQuery(GET_CURRENT_USER);
|
||||||
|
const client = useApolloClient();
|
||||||
|
|
||||||
const handleMenuClick = e => {
|
const handleMenuClick = e => {
|
||||||
console.log("e", e);
|
|
||||||
if (e.item.props.actiontype === "lang-select") {
|
if (e.item.props.actiontype === "lang-select") {
|
||||||
i18next.changeLanguage(e.key, (err, t) => {
|
i18next.changeLanguage(e.key, (err, t) => {
|
||||||
if (err)
|
if (err)
|
||||||
return console.log("Error encountered when changing languages.", err);
|
return console.log("Error encountered when changing languages.", err);
|
||||||
|
client.writeData({ data: { language: e.key } });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -51,7 +52,7 @@ export default function CurrentUserDropdown() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (loading) return null;
|
if (loading) return null;
|
||||||
if (error) return <AlertComponent message={error.message} />;
|
if (error) return <AlertComponent message={error.message} type='error' />;
|
||||||
|
|
||||||
const { currentUser } = data;
|
const { currentUser } = data;
|
||||||
|
|
||||||
@@ -61,10 +62,8 @@ export default function CurrentUserDropdown() {
|
|||||||
<Col span={8}>
|
<Col span={8}>
|
||||||
<Avatar size='large' alt='Avatar' src={UserImage} />
|
<Avatar size='large' alt='Avatar' src={UserImage} />
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={16}>
|
<Col span={16} style={{ color: "white" }}>
|
||||||
<Link to='/manage/profile'>
|
{currentUser.displayName || t("general.labels.unknown")}
|
||||||
{currentUser?.displayName || t("general.labels.unknown")}
|
|
||||||
</Link>
|
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
import { Col, Row } from "antd";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Row, Col } from "antd";
|
|
||||||
|
|
||||||
export default function FooterComponent() {
|
export default function FooterComponent() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import { Icon, Input } from "antd";
|
||||||
|
import React, { forwardRef } from "react";
|
||||||
|
function FormItemEmail(props, ref) {
|
||||||
|
return (
|
||||||
|
<Input
|
||||||
|
{...props}
|
||||||
|
addonAfter={
|
||||||
|
<a href={`mailto:${props.email}`}>
|
||||||
|
<Icon type="mail" />
|
||||||
|
</a>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default forwardRef(FormItemEmail);
|
||||||
@@ -1,44 +1,65 @@
|
|||||||
import { useApolloClient } from "@apollo/react-hooks";
|
import { useApolloClient } from "@apollo/react-hooks";
|
||||||
import { Col, Icon, Menu, Row } from "antd";
|
import { Col, Icon, Menu, Row } from "antd";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import CurrentUserDropdown from "../current-user-dropdown/current-user-dropdown.component";
|
import CurrentUserDropdown from "../current-user-dropdown/current-user-dropdown.component";
|
||||||
import GlobalSearch from "../global-search/global-search.component";
|
import GlobalSearch from "../global-search/global-search.component";
|
||||||
import ManageSignInButton from "../manage-sign-in-button/manage-sign-in-button.component";
|
import ManageSignInButton from "../manage-sign-in-button/manage-sign-in-button.component";
|
||||||
import "./header.styles.scss";
|
import "./header.styles.scss";
|
||||||
|
|
||||||
|
|
||||||
export default ({ landingHeader, navItems, selectedNavItem }) => {
|
export default ({ landingHeader, navItems, selectedNavItem }) => {
|
||||||
const apolloClient = useApolloClient();
|
const apolloClient = useApolloClient();
|
||||||
|
const { t } = useTranslation();
|
||||||
const handleClick = e => {
|
const handleClick = e => {
|
||||||
apolloClient.writeData({ data: { selectedNavItem: e.key } });
|
apolloClient.writeData({ data: { selectedNavItem: e.key } });
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Row type="flex" justify="space-around">
|
<Row type='flex' justify='space-around'>
|
||||||
<Col span={16}>
|
<Col span={16}>
|
||||||
<Menu
|
<Menu
|
||||||
theme="dark"
|
theme='dark'
|
||||||
className="header"
|
className='header'
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
selectedKeys={selectedNavItem}
|
selectedKeys={selectedNavItem}
|
||||||
mode="horizontal"
|
mode='horizontal'>
|
||||||
>
|
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
<GlobalSearch />
|
<GlobalSearch />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
{navItems.map(navItem => (
|
|
||||||
<Menu.Item key={navItem.title}>
|
<Menu.Item key='home'>
|
||||||
<Link to={navItem.path}>
|
<Link to='/manage'>
|
||||||
{navItem.icontype ? <Icon type={navItem.icontype} /> : null}
|
<Icon type='home' />
|
||||||
{navItem.title}
|
{t("menus.header.home")}
|
||||||
|
</Link>
|
||||||
|
</Menu.Item>
|
||||||
|
<Menu.SubMenu title={t("menus.header.jobs")}>
|
||||||
|
<Menu.Item key='jobs'>
|
||||||
|
<Link to='/manage/jobs'>
|
||||||
|
<Icon type='home' />
|
||||||
|
{t("menus.header.activejobs")}
|
||||||
</Link>
|
</Link>
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
))}
|
<Menu.Item key='availablejobs'>
|
||||||
|
<Link to='/manage/available'>
|
||||||
|
<Icon type='home' />
|
||||||
|
{t("menus.header.availablejobs")}
|
||||||
|
</Link>
|
||||||
|
</Menu.Item>
|
||||||
|
</Menu.SubMenu>
|
||||||
|
|
||||||
{!landingHeader ? (
|
{
|
||||||
null
|
// navItems.map(navItem => (
|
||||||
) : (
|
// <Menu.Item key={navItem.title}>
|
||||||
|
// <Link to={navItem.path}>
|
||||||
|
// {navItem.icontype ? <Icon type={navItem.icontype} /> : null}
|
||||||
|
// {navItem.title}
|
||||||
|
// </Link>
|
||||||
|
// </Menu.Item>
|
||||||
|
// ))
|
||||||
|
}
|
||||||
|
|
||||||
|
{!landingHeader ? null : (
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
<ManageSignInButton />
|
<ManageSignInButton />
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ import AlertComponent from "../../components/alert/alert.component";
|
|||||||
|
|
||||||
import { GET_JOB_LINES_BY_PK } from "../../graphql/jobs-lines.queries";
|
import { GET_JOB_LINES_BY_PK } from "../../graphql/jobs-lines.queries";
|
||||||
|
|
||||||
export default function JobLinesContainer({ match }) {
|
export default function JobLinesContainer({ jobId }) {
|
||||||
const { jobId } = match.params;
|
|
||||||
|
|
||||||
const { loading, error, data } = useQuery(GET_JOB_LINES_BY_PK, {
|
const { loading, error, data } = useQuery(GET_JOB_LINES_BY_PK, {
|
||||||
variables: { id: jobId },
|
variables: { id: jobId },
|
||||||
|
|||||||
@@ -1,217 +0,0 @@
|
|||||||
import React, { useState } from "react";
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import AlertComponent from "../alert/alert.component";
|
|
||||||
import {
|
|
||||||
Form,
|
|
||||||
Input,
|
|
||||||
Row,
|
|
||||||
Col,
|
|
||||||
Button,
|
|
||||||
Typography,
|
|
||||||
PageHeader,
|
|
||||||
Descriptions,
|
|
||||||
Tag,
|
|
||||||
notification,
|
|
||||||
Avatar,
|
|
||||||
Layout
|
|
||||||
} from "antd";
|
|
||||||
import { UPDATE_JOB, CONVERT_JOB_TO_RO } from "../../graphql/jobs.queries";
|
|
||||||
import { useMutation } from "@apollo/react-hooks";
|
|
||||||
import FormItemPhone from "../form-items-formatted/phone-form-item.component";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import CarImage from "../../assets/car.svg";
|
|
||||||
|
|
||||||
const { Content } = Layout;
|
|
||||||
const formItemLayout = {
|
|
||||||
// labelCol: {
|
|
||||||
// xs: { span: 12 },
|
|
||||||
// sm: { span: 5 }
|
|
||||||
// },
|
|
||||||
// wrapperCol: {
|
|
||||||
// xs: { span: 24 },
|
|
||||||
// sm: { span: 12 }
|
|
||||||
// }
|
|
||||||
};
|
|
||||||
|
|
||||||
function JobTombstone({ job, ...otherProps }) {
|
|
||||||
const [jobContext, setJobContext] = useState(job);
|
|
||||||
const [mutationUpdateJob] = useMutation(UPDATE_JOB);
|
|
||||||
const [mutationConvertJob] = useMutation(CONVERT_JOB_TO_RO);
|
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
if (!job) {
|
|
||||||
return <AlertComponent message={t("jobs.errors.noaccess")} type='error' />;
|
|
||||||
}
|
|
||||||
|
|
||||||
const handleSubmit = e => {
|
|
||||||
e.preventDefault();
|
|
||||||
|
|
||||||
otherProps.form.validateFieldsAndScroll((err, values) => {
|
|
||||||
if (err) {
|
|
||||||
notification["error"]({
|
|
||||||
message: t("jobs.errors.validationtitle"),
|
|
||||||
description: t("jobs.errors.validation")
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (!err) {
|
|
||||||
mutationUpdateJob({
|
|
||||||
variables: { jobId: jobContext.id, job: values }
|
|
||||||
}).then(r =>
|
|
||||||
notification["success"]({
|
|
||||||
message: t("jobs.successes.savetitle")
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleChange = event => {
|
|
||||||
const { name, value } = event.target ? event.target : event;
|
|
||||||
setJobContext({ ...jobContext, [name]: value });
|
|
||||||
};
|
|
||||||
|
|
||||||
const { getFieldDecorator } = otherProps.form;
|
|
||||||
|
|
||||||
const tombstoneTitle = (
|
|
||||||
<div>
|
|
||||||
<Avatar size='large' alt='Vehicle Image' src={CarImage} />
|
|
||||||
{`${t("jobs.fields.ro_number")} ${
|
|
||||||
jobContext.ro_number ? jobContext.ro_number : t("general.labels.na")
|
|
||||||
}`}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<Content>
|
|
||||||
<Form onSubmit={handleSubmit} {...formItemLayout}>
|
|
||||||
<PageHeader
|
|
||||||
style={{
|
|
||||||
border: "1px solid rgb(235, 237, 240)"
|
|
||||||
}}
|
|
||||||
title={tombstoneTitle}
|
|
||||||
subTitle={
|
|
||||||
jobContext.owner
|
|
||||||
? (jobContext.owner?.first_name || "") +
|
|
||||||
" " +
|
|
||||||
(jobContext.owner?.last_name || "")
|
|
||||||
: t("jobs.errors.noowner")
|
|
||||||
}
|
|
||||||
tags={
|
|
||||||
<span key='job-status'>
|
|
||||||
{jobContext.job_status ? (
|
|
||||||
<Tag color='blue'>{jobContext.job_status.name}</Tag>
|
|
||||||
) : null}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
extra={[
|
|
||||||
<Button
|
|
||||||
key='convert'
|
|
||||||
type='dashed'
|
|
||||||
disabled={jobContext.converted}
|
|
||||||
onClick={() => {
|
|
||||||
mutationConvertJob({
|
|
||||||
variables: { jobId: jobContext.id }
|
|
||||||
}).then(r => {
|
|
||||||
console.log("r", r);
|
|
||||||
setJobContext({
|
|
||||||
...jobContext,
|
|
||||||
converted: true,
|
|
||||||
ro_number: r.data.update_jobs.returning[0].ro_number
|
|
||||||
});
|
|
||||||
|
|
||||||
notification["success"]({
|
|
||||||
message: t("jobs.successes.converted")
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}}>
|
|
||||||
{t("jobs.actions.convert")}
|
|
||||||
</Button>,
|
|
||||||
<Button type='primary' key='submit' htmlType='submit'>
|
|
||||||
{t("general.labels.save")}
|
|
||||||
</Button>
|
|
||||||
]}>
|
|
||||||
<Descriptions size='small' column={5}>
|
|
||||||
<Descriptions.Item label={t("jobs.fields.vehicle")}>
|
|
||||||
<Link to={`/manage/vehicles/${jobContext.vehicle?.id}`}>
|
|
||||||
{jobContext.vehicle?.v_model_yr || t("general.labels.na")}{" "}
|
|
||||||
{jobContext.vehicle?.v_make_desc || t("general.labels.na")}{" "}
|
|
||||||
{jobContext.vehicle?.v_model_desc || t("general.labels.na")} |{" "}
|
|
||||||
{jobContext.vehicle?.plate_no || t("general.labels.na")}
|
|
||||||
</Link>
|
|
||||||
</Descriptions.Item>
|
|
||||||
|
|
||||||
<Descriptions.Item label={t("jobs.fields.est_number")}>
|
|
||||||
{jobContext.est_number}
|
|
||||||
</Descriptions.Item>
|
|
||||||
|
|
||||||
<Descriptions.Item label={t("jobs.fields.claim_total")}>
|
|
||||||
$ {jobContext.claim_total?.toFixed(2)}
|
|
||||||
</Descriptions.Item>
|
|
||||||
|
|
||||||
<Descriptions.Item label={t("jobs.fields.deductible")}>
|
|
||||||
$ {jobContext.deductible?.toFixed(2)}
|
|
||||||
</Descriptions.Item>
|
|
||||||
</Descriptions>
|
|
||||||
</PageHeader>
|
|
||||||
|
|
||||||
<Row>
|
|
||||||
<Typography.Title level={4}>Information</Typography.Title>
|
|
||||||
{
|
|
||||||
// <Form.Item label='Estimate #'>
|
|
||||||
// {getFieldDecorator("est_number", {
|
|
||||||
// initialValue: jobContext.est_number
|
|
||||||
// })(<Input name='est_number' readOnly onChange={handleChange} />)}
|
|
||||||
// </Form.Item>
|
|
||||||
}
|
|
||||||
</Row>
|
|
||||||
|
|
||||||
<Row>
|
|
||||||
<Typography.Title level={4}>Insurance Information</Typography.Title>
|
|
||||||
<Form.Item label='Insurance Company'>
|
|
||||||
{getFieldDecorator("est_co_nm", {
|
|
||||||
initialValue: jobContext.est_co_nm
|
|
||||||
})(<Input name='est_co_nm' onChange={handleChange} />)}
|
|
||||||
</Form.Item>
|
|
||||||
<Col span={8}>
|
|
||||||
<Form.Item label='Estimator Last Name'>
|
|
||||||
{getFieldDecorator("est_ct_ln", {
|
|
||||||
initialValue: jobContext.est_ct_ln
|
|
||||||
})(<Input name='est_ct_ln' onChange={handleChange} />)}
|
|
||||||
</Form.Item>
|
|
||||||
<Form.Item label='Estimator First Name'>
|
|
||||||
{getFieldDecorator("est_ct_fn", {
|
|
||||||
initialValue: jobContext.est_ct_fn
|
|
||||||
})(<Input name='est_ct_fn' onChange={handleChange} />)}
|
|
||||||
</Form.Item>
|
|
||||||
</Col>
|
|
||||||
<Col span={8}>
|
|
||||||
<Form.Item label='Estimator Phone #'>
|
|
||||||
{getFieldDecorator("est_ph1", {
|
|
||||||
initialValue: jobContext.est_ph1
|
|
||||||
})(
|
|
||||||
<FormItemPhone
|
|
||||||
customInput={Input}
|
|
||||||
name='est_ph1'
|
|
||||||
onValueChange={handleChange}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</Form.Item>
|
|
||||||
<Form.Item label='Estimator Email'>
|
|
||||||
{getFieldDecorator("est_ea", {
|
|
||||||
initialValue: jobContext.est_ea,
|
|
||||||
rules: [
|
|
||||||
{
|
|
||||||
type: "email",
|
|
||||||
message: "This is not a valid email address."
|
|
||||||
}
|
|
||||||
]
|
|
||||||
})(<Input name='est_ea' onChange={handleChange} />)}
|
|
||||||
</Form.Item>
|
|
||||||
</Col>
|
|
||||||
</Row>
|
|
||||||
</Form>
|
|
||||||
</Content>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Form.create({ name: "JobTombstone" })(JobTombstone);
|
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
import { Form, Input, Switch } from "antd";
|
||||||
|
import React, { useContext } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import JobDetailFormContext from "../../pages/jobs-detail/jobs-detail.page.context";
|
||||||
|
|
||||||
|
export default function JobsDetailClaims({ job }) {
|
||||||
|
const form = useContext(JobDetailFormContext);
|
||||||
|
const { getFieldDecorator } = form;
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
import { Form, Input, InputNumber } from "antd";
|
||||||
|
import React, { useContext } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import JobDetailFormContext from "../../pages/jobs-detail/jobs-detail.page.context";
|
||||||
|
|
||||||
|
export default function JobsDetailFinancials({ job }) {
|
||||||
|
const form = useContext(JobDetailFormContext);
|
||||||
|
const { getFieldDecorator } = form;
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<Form.Item label={t("jobs.fields.ded_amt")}>
|
||||||
|
{getFieldDecorator("ded_amt", {
|
||||||
|
initialValue: job.ded_amt
|
||||||
|
})(<InputNumber name="ded_amt" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ded_status")}>
|
||||||
|
{getFieldDecorator("ded_status", {
|
||||||
|
initialValue: job.ded_status
|
||||||
|
})(<Input name="ded_status" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.depreciation_taxes")}>
|
||||||
|
{getFieldDecorator("depreciation_taxes", {
|
||||||
|
initialValue: job.depreciation_taxes
|
||||||
|
})(<InputNumber name="depreciation_taxes" />)}
|
||||||
|
</Form.Item>
|
||||||
|
TODO: This is equivalent of GST payable.
|
||||||
|
<Form.Item label={t("jobs.fields.federal_tax_payable")}>
|
||||||
|
{getFieldDecorator("federal_tax_payable", {
|
||||||
|
initialValue: job.federal_tax_payable
|
||||||
|
})(<InputNumber name="federal_tax_payable" />)}
|
||||||
|
</Form.Item>
|
||||||
|
TODO: equivalent of other customer amount
|
||||||
|
<Form.Item label={t("jobs.fields.other_amount_payable")}>
|
||||||
|
{getFieldDecorator("other_amount_payable", {
|
||||||
|
initialValue: job.other_amount_payable
|
||||||
|
})(<InputNumber name="other_amount_payable" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.towing_payable")}>
|
||||||
|
{getFieldDecorator("towing_payable", {
|
||||||
|
initialValue: job.towing_payable
|
||||||
|
})(<InputNumber name="towing_payable" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.storage_payable")}>
|
||||||
|
{getFieldDecorator("storage_payable", {
|
||||||
|
initialValue: job.storage_payable
|
||||||
|
})(<InputNumber name="storage_payable" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.adjustment_bottom_line")}>
|
||||||
|
{getFieldDecorator("adjustment_bottom_line", {
|
||||||
|
initialValue: job.adjustment_bottom_line
|
||||||
|
})(<InputNumber name="adjustment_bottom_line" />)}
|
||||||
|
</Form.Item>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,107 @@
|
|||||||
|
import { Avatar, Button, Checkbox, Descriptions, notification, PageHeader, Tag } from "antd";
|
||||||
|
import React from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import Moment from "react-moment";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
import CarImage from "../../assets/car.svg";
|
||||||
|
import CurrencyFormatter from "../../utils/CurrencyFormatter";
|
||||||
|
|
||||||
|
export default function JobsDetailHeader({
|
||||||
|
job,
|
||||||
|
mutationConvertJob,
|
||||||
|
refetch,
|
||||||
|
getFieldDecorator
|
||||||
|
}) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
const tombstoneTitle = (
|
||||||
|
<div>
|
||||||
|
<Avatar size='large' alt='Vehicle Image' src={CarImage} />
|
||||||
|
{`${t("jobs.fields.ro_number")} ${
|
||||||
|
job.ro_number ? job.ro_number : t("general.labels.na")
|
||||||
|
}`}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
const tombstoneSubtitle = (
|
||||||
|
<div>
|
||||||
|
{job.owner
|
||||||
|
? (job.owner.first_name || "") + " " + (job.owner.last_name || "")
|
||||||
|
: t("jobs.errors.noowner")}
|
||||||
|
|
||||||
|
{job.vehicle ? (
|
||||||
|
<Link to={`/manage/vehicles/${job.vehicle.id}`}>
|
||||||
|
{job.vehicle.v_model_yr || t("general.labels.na")}{" "}
|
||||||
|
{job.vehicle.v_make_desc || t("general.labels.na")}{" "}
|
||||||
|
{job.vehicle.v_model_desc || t("general.labels.na")} |{" "}
|
||||||
|
{job.vehicle.plate_no || t("general.labels.na")} |{" "}
|
||||||
|
{job.vehicle.v_vin || t("general.labels.na")}
|
||||||
|
</Link>
|
||||||
|
) : null}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
const menuExtra = [
|
||||||
|
<Button
|
||||||
|
key='convert'
|
||||||
|
type='dashed'
|
||||||
|
disabled={job.converted}
|
||||||
|
onClick={() => {
|
||||||
|
mutationConvertJob({
|
||||||
|
variables: { jobId: job.id }
|
||||||
|
}).then(r => {
|
||||||
|
refetch();
|
||||||
|
|
||||||
|
notification["success"]({
|
||||||
|
message: t("jobs.successes.converted")
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}}>
|
||||||
|
{t("jobs.actions.convert")}
|
||||||
|
</Button>,
|
||||||
|
<Button type='primary' key='submit' htmlType='submit'>
|
||||||
|
{t("general.labels.save")}
|
||||||
|
</Button>
|
||||||
|
];
|
||||||
|
|
||||||
|
return (
|
||||||
|
<PageHeader
|
||||||
|
style={{
|
||||||
|
border: "1px solid rgb(235, 237, 240)"
|
||||||
|
}}
|
||||||
|
title={tombstoneTitle}
|
||||||
|
subTitle={tombstoneSubtitle}
|
||||||
|
tags={
|
||||||
|
<span key='job-status'>
|
||||||
|
{job.job_status ? (
|
||||||
|
<Tag color='blue'>{job.job_status.name}</Tag>
|
||||||
|
) : null}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
extra={menuExtra}>
|
||||||
|
<Descriptions size='small' column={5}>
|
||||||
|
<Descriptions.Item label={t("jobs.fields.repairtotal")}>
|
||||||
|
<CurrencyFormatter>{job.claim_total}</CurrencyFormatter>
|
||||||
|
</Descriptions.Item>
|
||||||
|
|
||||||
|
<Descriptions.Item label={t("jobs.fields.customerowing")}>
|
||||||
|
##NO BINDING YET##
|
||||||
|
</Descriptions.Item>
|
||||||
|
|
||||||
|
<Descriptions.Item label={t("jobs.fields.specialcoveragepolicy")}>
|
||||||
|
<Checkbox checked={job.special_coverage_policy} />
|
||||||
|
</Descriptions.Item>
|
||||||
|
|
||||||
|
<Descriptions.Item label={t("jobs.fields.scheduled_completion")}>
|
||||||
|
{job.scheduled_completion ? (
|
||||||
|
<Moment format='MM/DD/YYYY'>{job.scheduled_completion}</Moment>
|
||||||
|
) : null}
|
||||||
|
</Descriptions.Item>
|
||||||
|
|
||||||
|
<Descriptions.Item label={t("jobs.fields.servicecar")}>
|
||||||
|
{job.service_car}
|
||||||
|
</Descriptions.Item>
|
||||||
|
</Descriptions>
|
||||||
|
</PageHeader>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,150 @@
|
|||||||
|
import { Divider, Form, Input, DatePicker } from "antd";
|
||||||
|
import React, { useContext } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import JobDetailFormContext from "../../pages/jobs-detail/jobs-detail.page.context";
|
||||||
|
import FormItemEmail from "../form-items-formatted/email-form-item.component";
|
||||||
|
import FormItemPhone from "../form-items-formatted/phone-form-item.component";
|
||||||
|
import moment from "moment";
|
||||||
|
|
||||||
|
export default function JobsDetailInsurance({ job }) {
|
||||||
|
const form = useContext(JobDetailFormContext);
|
||||||
|
const { getFieldDecorator, getFieldValue } = form;
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
console.log("job.loss_date", job.loss_date);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_co_id")}>
|
||||||
|
{getFieldDecorator("ins_co_id", {
|
||||||
|
initialValue: job.ins_co_id
|
||||||
|
})(<Input name="ins_co_id" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.policy_no")}>
|
||||||
|
{getFieldDecorator("policy_no", {
|
||||||
|
initialValue: job.policy_no
|
||||||
|
})(<Input name="policy_no" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.clm_no")}>
|
||||||
|
{getFieldDecorator("clm_no", {
|
||||||
|
initialValue: job.clm_no
|
||||||
|
})(<Input name="clm_no" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.regie_number")}>
|
||||||
|
{getFieldDecorator("regie_number", {
|
||||||
|
initialValue: job.regie_number
|
||||||
|
})(<Input name="regie_number" />)}
|
||||||
|
</Form.Item>
|
||||||
|
TODO: missing KOL field???
|
||||||
|
<Form.Item label={t("jobs.fields.loss_date")}>
|
||||||
|
{getFieldDecorator("loss_date", {
|
||||||
|
initialValue: job.loss_date ? moment(job.loss_date) : null
|
||||||
|
})(<DatePicker name="loss_date" />)}
|
||||||
|
</Form.Item>
|
||||||
|
DAMAGE {JSON.stringify(job.area_of_damage)}
|
||||||
|
CAA # seems not correct based on field mapping Class seems not correct
|
||||||
|
based on field mapping
|
||||||
|
<Form.Item label={t("jobs.fields.ins_co_nm")}>
|
||||||
|
{getFieldDecorator("ins_co_nm", {
|
||||||
|
initialValue: job.ins_co_nm
|
||||||
|
})(<Input name="ins_co_nm" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_addr1")}>
|
||||||
|
{getFieldDecorator("ins_addr1", {
|
||||||
|
initialValue: job.ins_addr1
|
||||||
|
})(<Input name="ins_addr1" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_city")}>
|
||||||
|
{getFieldDecorator("ins_city", {
|
||||||
|
initialValue: job.ins_city
|
||||||
|
})(<Input name="ins_city" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_ct_ln")}>
|
||||||
|
{getFieldDecorator("ins_ct_ln", {
|
||||||
|
initialValue: job.ins_ct_ln
|
||||||
|
})(<Input name="ins_ct_ln" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_ct_fn")}>
|
||||||
|
{getFieldDecorator("ins_ct_fn", {
|
||||||
|
initialValue: job.ins_ct_fn
|
||||||
|
})(<Input name="ins_ct_fn" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_ph1")}>
|
||||||
|
{getFieldDecorator("ins_ph1", {
|
||||||
|
initialValue: job.ins_ph1
|
||||||
|
})(<FormItemPhone customInput={Input} name="ins_ph1" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.ins_ea")}>
|
||||||
|
{getFieldDecorator("ins_ea", {
|
||||||
|
initialValue: job.ins_ea,
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
type: "email",
|
||||||
|
message: "This is not a valid email address."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})(<FormItemEmail name="ins_ea" email={getFieldValue("ins_ea")} />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Divider />
|
||||||
|
Appraiser Info
|
||||||
|
<Form.Item label={t("jobs.fields.est_co_nm")}>
|
||||||
|
{getFieldDecorator("est_co_nm", {
|
||||||
|
initialValue: job.est_co_nm
|
||||||
|
})(<Input name="est_co_nm" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.est_ct_fn")}>
|
||||||
|
{getFieldDecorator("est_ct_fn", {
|
||||||
|
initialValue: job.est_ct_fn
|
||||||
|
})(<Input name="est_ct_fn" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.est_ct_ln")}>
|
||||||
|
{getFieldDecorator("est_ct_ln", {
|
||||||
|
initialValue: job.est_ct_ln
|
||||||
|
})(<Input name="est_ct_ln" />)}
|
||||||
|
</Form.Item>
|
||||||
|
TODO: Field is pay date but title is inspection date. Likely incorrect?
|
||||||
|
<Form.Item label={t("jobs.fields.pay_date")}>
|
||||||
|
{getFieldDecorator("pay_date", {
|
||||||
|
initialValue: job.pay_date
|
||||||
|
})(<Input name="pay_date" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.est_ph1")}>
|
||||||
|
{getFieldDecorator("est_ph1", {
|
||||||
|
initialValue: job.est_ph1
|
||||||
|
})(<Input name="est_ph1" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.est_ea")}>
|
||||||
|
{getFieldDecorator("est_ea", {
|
||||||
|
initialValue: job.est_ea,
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
type: "email",
|
||||||
|
message: "This is not a valid email address."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})(<FormItemEmail name="est_ea" email={getFieldValue("est_ea")} />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.selling_dealer")}>
|
||||||
|
{getFieldDecorator("selling_dealer", {
|
||||||
|
initialValue: job.selling_dealer
|
||||||
|
})(<Input name="selling_dealer" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.servicing_dealer")}>
|
||||||
|
{getFieldDecorator("servicing_dealer", {
|
||||||
|
initialValue: job.servicing_dealer
|
||||||
|
})(<Input name="servicing_dealer" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.selling_dealer_contact")}>
|
||||||
|
{getFieldDecorator("selling_dealer_contact", {
|
||||||
|
initialValue: job.selling_dealer_contact
|
||||||
|
})(<Input name="selling_dealer_contact" />)}
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label={t("jobs.fields.servicing_dealer_contact")}>
|
||||||
|
{getFieldDecorator("servicing_dealer_contact", {
|
||||||
|
initialValue: job.servicing_dealer_contact
|
||||||
|
})(<Input name="servicing_dealer_contact" />)}
|
||||||
|
</Form.Item>
|
||||||
|
TODO: Adding servicing/selling dealer contact info?
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -25,6 +25,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.ro_number"),
|
title: t("jobs.fields.ro_number"),
|
||||||
dataIndex: "ro_number",
|
dataIndex: "ro_number",
|
||||||
key: "ro_number",
|
key: "ro_number",
|
||||||
|
width: "8%",
|
||||||
// onFilter: (value, record) => record.ro_number.includes(value),
|
// onFilter: (value, record) => record.ro_number.includes(value),
|
||||||
// filteredValue: state.filteredInfo.text || null,
|
// filteredValue: state.filteredInfo.text || null,
|
||||||
sorter: (a, b) => alphaSort(a, b),
|
sorter: (a, b) => alphaSort(a, b),
|
||||||
@@ -45,6 +46,7 @@ export default withRouter(function JobsList({
|
|||||||
key: "owner",
|
key: "owner",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: (a, b) => alphaSort(a.ownr_ln, b.ownr_ln),
|
sorter: (a, b) => alphaSort(a.ownr_ln, b.ownr_ln),
|
||||||
|
width: "25%",
|
||||||
sortOrder:
|
sortOrder:
|
||||||
state.sortedInfo.columnKey === "owner" && state.sortedInfo.order,
|
state.sortedInfo.columnKey === "owner" && state.sortedInfo.order,
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
@@ -64,6 +66,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.phone1"),
|
title: t("jobs.fields.phone1"),
|
||||||
dataIndex: "ownr_ph1",
|
dataIndex: "ownr_ph1",
|
||||||
key: "ownr_ph1",
|
key: "ownr_ph1",
|
||||||
|
width: "12%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
return record.ownr_ph1 ? (
|
return record.ownr_ph1 ? (
|
||||||
@@ -86,6 +89,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.status"),
|
title: t("jobs.fields.status"),
|
||||||
dataIndex: "status",
|
dataIndex: "status",
|
||||||
key: "status",
|
key: "status",
|
||||||
|
width: "10%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: (a, b) => alphaSort(a, b),
|
sorter: (a, b) => alphaSort(a, b),
|
||||||
sortOrder:
|
sortOrder:
|
||||||
@@ -99,6 +103,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.vehicle"),
|
title: t("jobs.fields.vehicle"),
|
||||||
dataIndex: "vehicle",
|
dataIndex: "vehicle",
|
||||||
key: "vehicle",
|
key: "vehicle",
|
||||||
|
width: "15%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
return record.vehicle ? (
|
return record.vehicle ? (
|
||||||
@@ -115,6 +120,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("vehicles.fields.plate_no"),
|
title: t("vehicles.fields.plate_no"),
|
||||||
dataIndex: "plate_no",
|
dataIndex: "plate_no",
|
||||||
key: "plate_no",
|
key: "plate_no",
|
||||||
|
width: "8%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: (a, b) => alphaSort(a, b),
|
sorter: (a, b) => alphaSort(a, b),
|
||||||
sortOrder:
|
sortOrder:
|
||||||
@@ -131,6 +137,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.clm_no"),
|
title: t("jobs.fields.clm_no"),
|
||||||
dataIndex: "clm_no",
|
dataIndex: "clm_no",
|
||||||
key: "clm_no",
|
key: "clm_no",
|
||||||
|
width: "12%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: (a, b) => alphaSort(a, b),
|
sorter: (a, b) => alphaSort(a, b),
|
||||||
sortOrder:
|
sortOrder:
|
||||||
@@ -147,11 +154,12 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.clm_total"),
|
title: t("jobs.fields.clm_total"),
|
||||||
dataIndex: "clm_total",
|
dataIndex: "clm_total",
|
||||||
key: "clm_total",
|
key: "clm_total",
|
||||||
sorter: (a, b) => {
|
width: "8%",
|
||||||
return a > b;
|
// sorter: (a, b) => {
|
||||||
},
|
// return a > b;
|
||||||
sortOrder:
|
// },
|
||||||
state.sortedInfo.columnKey === "clm_total" && state.sortedInfo.order,
|
// sortOrder:
|
||||||
|
// state.sortedInfo.columnKey === "clm_total" && state.sortedInfo.order,
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
return record.clm_total ? (
|
return record.clm_total ? (
|
||||||
<span>{record.clm_total}</span>
|
<span>{record.clm_total}</span>
|
||||||
@@ -164,6 +172,7 @@ export default withRouter(function JobsList({
|
|||||||
title: t("jobs.fields.owner_owing"),
|
title: t("jobs.fields.owner_owing"),
|
||||||
dataIndex: "owner_owing",
|
dataIndex: "owner_owing",
|
||||||
key: "owner_owing",
|
key: "owner_owing",
|
||||||
|
width: "8%",
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
return record.owner_owing ? (
|
return record.owner_owing ? (
|
||||||
<span>{record.owner_owing}</span>
|
<span>{record.owner_owing}</span>
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
|
export default function JobsRatesComponent() {
|
||||||
|
return <div>Jobs Rates Comp</div>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
import React from "react";
|
||||||
|
import JobsRatesComponent from "./jobs-rates.component";
|
||||||
|
|
||||||
|
export default function JobsRatesContainer() {
|
||||||
|
return <JobsRatesComponent />;
|
||||||
|
}
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import i18next from "i18next";
|
|
||||||
import { Dropdown, Menu, Icon } from "antd";
|
|
||||||
|
|
||||||
export default function LanguageSelector() {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
const handleMenuClick = e => {
|
|
||||||
i18next.changeLanguage(e.key, (err, t) => {
|
|
||||||
if (err)
|
|
||||||
return console.log("Error encountered when changing languages.", err);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const menu = (
|
|
||||||
<Menu onClick={handleMenuClick}>
|
|
||||||
<Menu.Item key="en_us">{t("general.languages.english")}</Menu.Item>
|
|
||||||
<Menu.Item key="fr">{t("general.languages.french")}</Menu.Item>
|
|
||||||
<Menu.Item key="es">{t("general.languages.spanish")}</Menu.Item>
|
|
||||||
</Menu>
|
|
||||||
);
|
|
||||||
return (
|
|
||||||
<Dropdown overlay={menu}>
|
|
||||||
<Icon type="global" />
|
|
||||||
</Dropdown>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -37,12 +37,12 @@ export default function NoteUpsertModalContainer({
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}).then(r => {
|
}).then(r => {
|
||||||
|
refetch();
|
||||||
|
changeVisibility(!visible);
|
||||||
notification["success"]({
|
notification["success"]({
|
||||||
message: t("notes.successes.create")
|
message: t("notes.successes.create")
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
refetch();
|
|
||||||
changeVisibility(!visible);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const updateExistingNote = () => {
|
const updateExistingNote = () => {
|
||||||
|
|||||||
@@ -3,5 +3,6 @@ export default {
|
|||||||
currentUser: null,
|
currentUser: null,
|
||||||
selectedNavItem: "Home",
|
selectedNavItem: "Home",
|
||||||
recentItems: [],
|
recentItems: [],
|
||||||
bodyShopData: null
|
bodyShopData: null,
|
||||||
|
language: "en_us"
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,34 +1,7 @@
|
|||||||
import { gql } from "apollo-boost";
|
import { gql } from "apollo-boost";
|
||||||
|
|
||||||
export const GET_ALL_OPEN_JOBS = gql`
|
export const QUERY_ALL_OPEN_JOBS = gql`
|
||||||
query GET_ALL_OPEN_JOBS {
|
query QUERY_ALL_OPEN_JOBS {
|
||||||
jobs {
|
|
||||||
id
|
|
||||||
est_number
|
|
||||||
ro_number
|
|
||||||
job_status {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
}
|
|
||||||
scheduled_completion
|
|
||||||
scheduled_delivery
|
|
||||||
vehicle {
|
|
||||||
id
|
|
||||||
v_model_yr
|
|
||||||
v_make_desc
|
|
||||||
v_model_desc
|
|
||||||
plate_no
|
|
||||||
}
|
|
||||||
owner {
|
|
||||||
first_name
|
|
||||||
last_name
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
|
||||||
subscription SUBSCRIPTION_ALL_OPEN_JOBS {
|
|
||||||
jobs {
|
jobs {
|
||||||
ownr_fn
|
ownr_fn
|
||||||
ownr_ln
|
ownr_ln
|
||||||
@@ -89,30 +62,6 @@ export const SUBSCRIPTION_ALL_OPEN_JOBS = gql`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const QUERY_JOBS_IN_PRODUCTION = gql`
|
|
||||||
query QUERY_JOBS_IN_PRODUCTION {
|
|
||||||
jobs {
|
|
||||||
id
|
|
||||||
updated_at
|
|
||||||
est_number
|
|
||||||
ro_number
|
|
||||||
scheduled_completion
|
|
||||||
scheduled_delivery
|
|
||||||
vehicle {
|
|
||||||
id
|
|
||||||
v_model_yr
|
|
||||||
v_make_desc
|
|
||||||
v_model_desc
|
|
||||||
plate_no
|
|
||||||
}
|
|
||||||
owner {
|
|
||||||
first_name
|
|
||||||
last_name
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
|
export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
|
||||||
subscription SUBSCRIPTION_JOBS_IN_PRODUCTION {
|
subscription SUBSCRIPTION_JOBS_IN_PRODUCTION {
|
||||||
job_status(
|
job_status(
|
||||||
@@ -149,36 +98,19 @@ export const SUBSCRIPTION_JOBS_IN_PRODUCTION = gql`
|
|||||||
export const GET_JOB_BY_PK = gql`
|
export const GET_JOB_BY_PK = gql`
|
||||||
query GET_JOB_BY_PK($id: uuid!) {
|
query GET_JOB_BY_PK($id: uuid!) {
|
||||||
jobs_by_pk(id: $id) {
|
jobs_by_pk(id: $id) {
|
||||||
actual_completion
|
service_car
|
||||||
actual_delivery
|
csr
|
||||||
actual_in
|
loss_desc
|
||||||
created_at
|
kmin
|
||||||
est_number
|
kmout
|
||||||
id
|
referral_source
|
||||||
local_tax_rate
|
unit_number
|
||||||
owner {
|
po_number
|
||||||
id
|
special_coverage_policy
|
||||||
first_name
|
|
||||||
last_name
|
|
||||||
phone
|
|
||||||
}
|
|
||||||
est_co_nm
|
|
||||||
est_ph1
|
|
||||||
est_ea
|
|
||||||
est_ct_fn
|
|
||||||
est_ct_ln
|
|
||||||
regie_number
|
|
||||||
ro_number
|
|
||||||
scheduled_completion
|
|
||||||
scheduled_in
|
|
||||||
scheduled_delivery
|
scheduled_delivery
|
||||||
job_status {
|
converted
|
||||||
id
|
est_number
|
||||||
name
|
ro_number
|
||||||
}
|
|
||||||
updated_at
|
|
||||||
claim_total
|
|
||||||
deductible
|
|
||||||
vehicle {
|
vehicle {
|
||||||
id
|
id
|
||||||
plate_no
|
plate_no
|
||||||
@@ -188,6 +120,38 @@ export const GET_JOB_BY_PK = gql`
|
|||||||
v_make_desc
|
v_make_desc
|
||||||
v_color
|
v_color
|
||||||
}
|
}
|
||||||
|
ins_co_id
|
||||||
|
policy_no
|
||||||
|
loss_date
|
||||||
|
area_of_damage
|
||||||
|
ins_co_nm
|
||||||
|
ins_addr1
|
||||||
|
ins_city
|
||||||
|
ins_ct_ln
|
||||||
|
ins_ct_fn
|
||||||
|
ins_ea
|
||||||
|
ins_ph1
|
||||||
|
est_co_nm
|
||||||
|
est_ct_fn
|
||||||
|
est_ct_ln
|
||||||
|
pay_date
|
||||||
|
est_ph1
|
||||||
|
est_ea
|
||||||
|
selling_dealer
|
||||||
|
servicing_dealer
|
||||||
|
selling_dealer_contact
|
||||||
|
servicing_dealer_contact
|
||||||
|
regie_number
|
||||||
|
scheduled_completion
|
||||||
|
id
|
||||||
|
ded_amt
|
||||||
|
ded_status
|
||||||
|
depreciation_taxes
|
||||||
|
federal_tax_payable
|
||||||
|
other_amount_payable
|
||||||
|
towing_payable
|
||||||
|
storage_payable
|
||||||
|
adjustment_bottom_line
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -1,13 +1,5 @@
|
|||||||
import { gql } from "apollo-boost";
|
import { gql } from "apollo-boost";
|
||||||
|
|
||||||
export const SET_CURRENT_USER = gql`
|
|
||||||
mutation SetCurrentUser($user: User!) {
|
|
||||||
setCurrentUser(user: $user) @client {
|
|
||||||
email
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const GET_CURRENT_USER = gql`
|
export const GET_CURRENT_USER = gql`
|
||||||
query GET_CURRENT_USER {
|
query GET_CURRENT_USER {
|
||||||
currentUser @client {
|
currentUser @client {
|
||||||
@@ -26,16 +18,8 @@ export const GET_CURRENT_SELECTED_NAV_ITEM = gql`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const GET_WHITE_BOARD_LEFT_SIDER_VISIBLE = gql`
|
export const GET_LANGUAGE = gql`
|
||||||
{
|
query GET_USER_LANGUAGE {
|
||||||
whiteBoardLeftSiderVisible @client
|
language @client
|
||||||
}
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const GET_BODYSHOP = gql`
|
|
||||||
query LOCAL_GET_BODY_SHOP {
|
|
||||||
bodyShopData @client {
|
|
||||||
shopname
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
export default function JobsAvailablePageComponent() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
JobsAvailablePageComponent
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import JobsAvailablePageComponent from './jobs-available.page.component'
|
||||||
|
|
||||||
|
export default function JobsAvailablePageContainer() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<JobsAvailablePageComponent />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
173
client/src/pages/jobs-detail/jobs-detail.page.component.jsx
Normal file
173
client/src/pages/jobs-detail/jobs-detail.page.component.jsx
Normal file
@@ -0,0 +1,173 @@
|
|||||||
|
import { Alert, Button, Form, Icon, Tabs } from "antd";
|
||||||
|
import React, { useContext } from "react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import {
|
||||||
|
FaHardHat,
|
||||||
|
FaInfo,
|
||||||
|
FaRegStickyNote,
|
||||||
|
FaShieldAlt
|
||||||
|
} from "react-icons/fa";
|
||||||
|
import JobLinesContainer from "../../components/job-lines/job-lines.container.component";
|
||||||
|
import JobsDetailClaims from "../../components/jobs-detail-claims/jobs-detail-claims.component";
|
||||||
|
import JobsDetailFinancials from "../../components/jobs-detail-financial/jobs-detail-financial.component";
|
||||||
|
import JobsDetailHeader from "../../components/jobs-detail-header/jobs-detail-header.component";
|
||||||
|
import JobsDetailInsurance from "../../components/jobs-detail-insurance/jobs-detail-insurance.component";
|
||||||
|
import JobsDocumentsContainer from "../../components/jobs-documents/jobs-documents.container";
|
||||||
|
import JobNotesContainer from "../../components/jobs-notes/jobs-notes.container";
|
||||||
|
import JobDetailFormContext from "./jobs-detail.page.context";
|
||||||
|
|
||||||
|
export default function JobsDetailPage({
|
||||||
|
job,
|
||||||
|
mutationUpdateJob,
|
||||||
|
mutationConvertJob,
|
||||||
|
handleSubmit,
|
||||||
|
refetch
|
||||||
|
}) {
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
const { isFieldsTouched, resetFields } = useContext(JobDetailFormContext);
|
||||||
|
|
||||||
|
const formItemLayout = {
|
||||||
|
labelCol: {
|
||||||
|
xs: { span: 12 },
|
||||||
|
sm: { span: 5 }
|
||||||
|
},
|
||||||
|
wrapperCol: {
|
||||||
|
xs: { span: 24 },
|
||||||
|
sm: { span: 12 }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Form onSubmit={handleSubmit} {...formItemLayout}>
|
||||||
|
<JobsDetailHeader
|
||||||
|
job={job}
|
||||||
|
mutationConvertJob={mutationConvertJob}
|
||||||
|
refetch={refetch}
|
||||||
|
/>
|
||||||
|
|
||||||
|
{isFieldsTouched() ? (
|
||||||
|
<Alert
|
||||||
|
message={
|
||||||
|
<div>
|
||||||
|
{t("general.messages.unsavedchanges")}
|
||||||
|
<Button onClick={() => resetFields()}>
|
||||||
|
{t("general.actions.reset")}
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
closable
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
|
|
||||||
|
<Tabs defaultActiveKey="claimdetail">
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon component={FaInfo} />
|
||||||
|
{t("menus.jobsdetail.claimdetail")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="claimdetail"
|
||||||
|
>
|
||||||
|
<JobsDetailClaims job={job} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon component={FaShieldAlt} />
|
||||||
|
{t("menus.jobsdetail.insurance")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="insurance"
|
||||||
|
>
|
||||||
|
<JobsDetailInsurance job={job} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon type="bars" />
|
||||||
|
{t("menus.jobsdetail.repairdata")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="repairdata"
|
||||||
|
>
|
||||||
|
<JobLinesContainer jobId={job.id} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon type="dollar" />
|
||||||
|
{t("menus.jobsdetail.financials")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="financials"
|
||||||
|
>
|
||||||
|
<JobsDetailFinancials job={job} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon type="tool" />
|
||||||
|
{t("menus.jobsdetail.partssublet")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="partssublet"
|
||||||
|
>
|
||||||
|
Partssublet
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon component={FaHardHat} />
|
||||||
|
{t("menus.jobsdetail.labor")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="labor"
|
||||||
|
>
|
||||||
|
Labor
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon type="calendar" />
|
||||||
|
{t("menus.jobsdetail.dates")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="dates"
|
||||||
|
>
|
||||||
|
Dates
|
||||||
|
</Tabs.TabPane>
|
||||||
|
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon type="file-image" />
|
||||||
|
{t("jobs.labels.documents")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="#documents"
|
||||||
|
>
|
||||||
|
<JobsDocumentsContainer jobId={job.id} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
<Tabs.TabPane
|
||||||
|
tab={
|
||||||
|
<span>
|
||||||
|
<Icon component={FaRegStickyNote} />
|
||||||
|
{t("jobs.labels.notes")}
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
key="#notes"
|
||||||
|
>
|
||||||
|
<JobNotesContainer jobId={job.id} />
|
||||||
|
</Tabs.TabPane>
|
||||||
|
</Tabs>
|
||||||
|
</Form>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,38 +1,76 @@
|
|||||||
import { useQuery } from "@apollo/react-hooks";
|
import { Form, notification } from "antd";
|
||||||
import React, { useEffect } from "react";
|
import React, { useEffect } from "react";
|
||||||
|
import { useMutation, useQuery } from "react-apollo";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import AlertComponent from "../../components/alert/alert.component";
|
import AlertComponent from "../../components/alert/alert.component";
|
||||||
import SpinComponent from "../../components/loading-spinner/loading-spinner.component";
|
import SpinComponent from "../../components/loading-spinner/loading-spinner.component";
|
||||||
import { GET_JOB_BY_PK } 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";
|
import JobsDetailPage from "./jobs-detail.page.component";
|
||||||
|
import JobDetailFormContext from "./jobs-detail.page.context";
|
||||||
|
|
||||||
function JobsDetailPageContainer({ match, location }) {
|
function JobsDetailPageContainer({ match, form }) {
|
||||||
const { jobId } = match.params;
|
const { jobId } = match.params;
|
||||||
const { hash } = location;
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { loading, error, data } = useQuery(GET_JOB_BY_PK, {
|
|
||||||
|
const { loading, error, data, refetch } = useQuery(GET_JOB_BY_PK, {
|
||||||
variables: { id: jobId },
|
variables: { id: jobId },
|
||||||
fetchPolicy: "network-only"
|
fetchPolicy: "network-only"
|
||||||
});
|
});
|
||||||
|
const [mutationUpdateJob] = useMutation(UPDATE_JOB);
|
||||||
|
const [mutationConvertJob] = useMutation(CONVERT_JOB_TO_RO);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
document.title = loading
|
document.title = loading
|
||||||
? "..."
|
? "..."
|
||||||
|
: error
|
||||||
|
? t("titles.app")
|
||||||
: t("titles.jobsdetail", {
|
: t("titles.jobsdetail", {
|
||||||
ro_number: data.jobs_by_pk.ro_number
|
ro_number: data.jobs_by_pk.ro_number
|
||||||
});
|
});
|
||||||
}, [loading, data, t]);
|
}, [loading, data, t, error]);
|
||||||
|
|
||||||
|
const handleSubmit = e => {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
form.validateFieldsAndScroll((err, values) => {
|
||||||
|
if (err) {
|
||||||
|
notification["error"]({
|
||||||
|
message: t("jobs.errors.validationtitle"),
|
||||||
|
description: t("jobs.errors.validation")
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (!err) {
|
||||||
|
mutationUpdateJob({
|
||||||
|
variables: { jobId: data.jobs_by_pk.id, job: values }
|
||||||
|
}).then(r => {
|
||||||
|
notification["success"]({
|
||||||
|
message: t("jobs.successes.savetitle")
|
||||||
|
});
|
||||||
|
//TODO: Better way to reset the field decorators?
|
||||||
|
refetch().then(r => form.resetFields());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
if (loading) return <SpinComponent />;
|
if (loading) return <SpinComponent />;
|
||||||
if (error) return <AlertComponent message={error.message} type='error' />;
|
if (error) return <AlertComponent message={error.message} type='error' />;
|
||||||
|
|
||||||
return (
|
return data.jobs_by_pk ? (
|
||||||
<JobsDetailPage
|
<JobDetailFormContext.Provider value={form}>
|
||||||
hash={hash ? hash.substring(1) : "#lines"}
|
<JobsDetailPage
|
||||||
data={data}
|
job={data.jobs_by_pk}
|
||||||
jobId={jobId}
|
mutationUpdateJob={mutationUpdateJob}
|
||||||
match={match}
|
mutationConvertJob={mutationConvertJob}
|
||||||
/>
|
handleSubmit={handleSubmit}
|
||||||
|
getFieldDecorator={form.getFieldDecorator}
|
||||||
|
refetch={refetch}
|
||||||
|
/>
|
||||||
|
</JobDetailFormContext.Provider>
|
||||||
|
) : (
|
||||||
|
<AlertComponent message={t("jobs.errors.noaccess")} type='error' />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
export default JobsDetailPageContainer;
|
export default Form.create({ name: "JobsDetailPageContainer" })(
|
||||||
|
JobsDetailPageContainer
|
||||||
|
);
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import React from "react";
|
||||||
|
const JobDetailFormContext = React.createContext(null);
|
||||||
|
export default JobDetailFormContext;
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
import { Icon, Row, Tabs } from "antd";
|
|
||||||
import React from "react";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import { FaRegStickyNote } from "react-icons/fa";
|
|
||||||
import { withRouter } from "react-router-dom";
|
|
||||||
import JobLinesContainer from "../../components/job-lines/job-lines.container.component";
|
|
||||||
import JobTombstone from "../../components/job-tombstone/job-tombstone.component";
|
|
||||||
import JobsDocumentsContainer from "../../components/jobs-documents/jobs-documents.container";
|
|
||||||
import JobNotesContainer from "../../components/jobs-notes/jobs-notes.container";
|
|
||||||
|
|
||||||
function JobsDetailPage({ jobId, hash, data, match, history }) {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<Row>
|
|
||||||
<JobTombstone job={data.jobs_by_pk} />
|
|
||||||
</Row>
|
|
||||||
<Row>
|
|
||||||
<Tabs
|
|
||||||
defaultActiveKey={`#${hash}`}
|
|
||||||
onChange={p => {
|
|
||||||
history.push(p);
|
|
||||||
}}>
|
|
||||||
<Tabs.TabPane
|
|
||||||
tab={
|
|
||||||
<span>
|
|
||||||
<Icon type='bars' />
|
|
||||||
{t("jobs.labels.lines")}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
key='#lines'>
|
|
||||||
<JobLinesContainer match={match} />
|
|
||||||
</Tabs.TabPane>
|
|
||||||
<Tabs.TabPane
|
|
||||||
tab={
|
|
||||||
<span>
|
|
||||||
<Icon type='dollar' />
|
|
||||||
{t("jobs.labels.rates")}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
key='#rates'>
|
|
||||||
Estimate Rates
|
|
||||||
</Tabs.TabPane>
|
|
||||||
<Tabs.TabPane
|
|
||||||
tab={
|
|
||||||
<span>
|
|
||||||
<Icon type='tool1' />
|
|
||||||
{t("jobs.labels.parts")}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
key='#parts'>
|
|
||||||
Estimate Parts
|
|
||||||
</Tabs.TabPane>
|
|
||||||
<Tabs.TabPane
|
|
||||||
tab={
|
|
||||||
<span>
|
|
||||||
<Icon type='file-image' />
|
|
||||||
{t("jobs.labels.documents")}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
key='#documents'>
|
|
||||||
<JobsDocumentsContainer jobId={jobId} />
|
|
||||||
</Tabs.TabPane>
|
|
||||||
<Tabs.TabPane
|
|
||||||
tab={
|
|
||||||
<span>
|
|
||||||
<Icon component={FaRegStickyNote} />
|
|
||||||
{t("jobs.labels.notes")}
|
|
||||||
</span>
|
|
||||||
}
|
|
||||||
key='#notes'>
|
|
||||||
<JobNotesContainer jobId={jobId} />
|
|
||||||
</Tabs.TabPane>
|
|
||||||
</Tabs>
|
|
||||||
</Row>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
export default withRouter(JobsDetailPage);
|
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import { useSubscription } from "@apollo/react-hooks";
|
import { useQuery } from "@apollo/react-hooks";
|
||||||
import AlertComponent from "../../components/alert/alert.component";
|
import AlertComponent from "../../components/alert/alert.component";
|
||||||
import { Col } from "antd";
|
import { Col } from "antd";
|
||||||
import { SUBSCRIPTION_ALL_OPEN_JOBS } from "../../graphql/jobs.queries";
|
import { QUERY_ALL_OPEN_JOBS } from "../../graphql/jobs.queries";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import JobsList from "../../components/jobs-list/jobs-list.component";
|
import JobsList from "../../components/jobs-list/jobs-list.component";
|
||||||
import JobDetailCards from "../../components/job-detail-cards/job-detail-cards.component";
|
import JobDetailCards from "../../components/job-detail-cards/job-detail-cards.component";
|
||||||
|
|
||||||
//TODO: Implement pagination for this.
|
//TODO: Implement pagination for this.
|
||||||
export default function JobsPage({ match, location }) {
|
export default function JobsPage({ match, location }) {
|
||||||
const { loading, error, data } = useSubscription(SUBSCRIPTION_ALL_OPEN_JOBS, {
|
const { loading, error, data } = useQuery(QUERY_ALL_OPEN_JOBS, {
|
||||||
fetchPolicy: "network-only"
|
fetchPolicy: "network-only"
|
||||||
});
|
});
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|||||||
@@ -8,17 +8,21 @@ import HeaderContainer from "../../components/header/header.container";
|
|||||||
import FooterComponent from "../../components/footer/footer.component";
|
import FooterComponent from "../../components/footer/footer.component";
|
||||||
import ErrorBoundary from "../../components/error-boundary/error-boundary.component";
|
import ErrorBoundary from "../../components/error-boundary/error-boundary.component";
|
||||||
|
|
||||||
import './manage.page.styles.scss'
|
import "./manage.page.styles.scss";
|
||||||
|
import ChatWindowContainer from "../../components/chat-window/chat-window.container";
|
||||||
|
|
||||||
const WhiteBoardPage = lazy(() => import("../white-board/white-board.page"));
|
const WhiteBoardPage = lazy(() => import("../white-board/white-board.page"));
|
||||||
const JobsPage = lazy(() => import("../jobs/jobs.page"));
|
const JobsPage = lazy(() => import("../jobs/jobs.page"));
|
||||||
const JobsDetailPage = lazy(() => import("../jobs-detail/jobs-detail.page.container"));
|
const JobsDetailPage = lazy(() =>
|
||||||
|
import("../jobs-detail/jobs-detail.page.container")
|
||||||
|
);
|
||||||
const ProfilePage = lazy(() => import("../profile/profile.container.page"));
|
const ProfilePage = lazy(() => import("../profile/profile.container.page"));
|
||||||
const JobsDocumentsPage = lazy(() =>
|
const JobsDocumentsPage = lazy(() =>
|
||||||
import("../../components/jobs-documents/jobs-documents.container")
|
import("../../components/jobs-documents/jobs-documents.container")
|
||||||
);
|
);
|
||||||
|
const JobsAvailablePage = lazy(() =>
|
||||||
|
import("../jobs-available/jobs-available.page.container")
|
||||||
|
);
|
||||||
|
|
||||||
const { Header, Content, Footer } = Layout;
|
const { Header, Content, Footer } = Layout;
|
||||||
//This page will handle all routing for the entire application.
|
//This page will handle all routing for the entire application.
|
||||||
@@ -35,13 +39,14 @@ export default function Manage({ match }) {
|
|||||||
<HeaderContainer />
|
<HeaderContainer />
|
||||||
</Header>
|
</Header>
|
||||||
|
|
||||||
<Content className="content-container">
|
<Content className='content-container'>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Suspense
|
<Suspense
|
||||||
fallback={<div>TODO: Suspended Loading in Manage Page...</div>}>
|
fallback={<div>TODO: Suspended Loading in Manage Page...</div>}>
|
||||||
<Route exact path={`${match.path}`} component={WhiteBoardPage} />
|
<Route exact path={`${match.path}`} component={WhiteBoardPage} />
|
||||||
|
|
||||||
<Route exact path={`${match.path}/jobs`} component={JobsPage} />
|
<Route exact path={`${match.path}/jobs`} component={JobsPage} />
|
||||||
|
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
path={`${match.path}/jobs/:jobId`}
|
path={`${match.path}/jobs/:jobId`}
|
||||||
@@ -57,11 +62,18 @@ export default function Manage({ match }) {
|
|||||||
path={`${match.path}/profile`}
|
path={`${match.path}/profile`}
|
||||||
component={ProfilePage}
|
component={ProfilePage}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<Route
|
||||||
|
exact
|
||||||
|
path={`${match.path}/available`}
|
||||||
|
component={JobsAvailablePage}
|
||||||
|
/>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<Footer>
|
<Footer>
|
||||||
|
<ChatWindowContainer />
|
||||||
<FooterComponent />
|
<FooterComponent />
|
||||||
</Footer>
|
</Footer>
|
||||||
<BackTop />
|
<BackTop />
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
|
"actions": {
|
||||||
|
"reset": "Reset to original."
|
||||||
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"in": "In",
|
"in": "In",
|
||||||
"loading": "Loading...",
|
"loading": "Loading...",
|
||||||
@@ -28,6 +31,9 @@
|
|||||||
"english": "English",
|
"english": "English",
|
||||||
"french": "French",
|
"french": "French",
|
||||||
"spanish": "Spanish"
|
"spanish": "Spanish"
|
||||||
|
},
|
||||||
|
"messages": {
|
||||||
|
"unsavedchanges": "You have unsaved changes."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jobs": {
|
"jobs": {
|
||||||
@@ -52,27 +58,67 @@
|
|||||||
"actual_completion": "Actual Completion",
|
"actual_completion": "Actual Completion",
|
||||||
"actual_delivery": "Actual Delivery",
|
"actual_delivery": "Actual Delivery",
|
||||||
"actual_in": "Actual In",
|
"actual_in": "Actual In",
|
||||||
|
"adjustment_bottom_line": "Adjustments",
|
||||||
"claim_total": "Claim Total",
|
"claim_total": "Claim Total",
|
||||||
"clm_no": "Claim #",
|
"clm_no": "Claim #",
|
||||||
"clm_total": "Claim Total",
|
"clm_total": "Claim Total",
|
||||||
|
"csr": "Customer Service Rep.",
|
||||||
|
"customerowing": "Customer Owing",
|
||||||
"date_closed": "Closed",
|
"date_closed": "Closed",
|
||||||
"date_estimated": "Date Estimated",
|
"date_estimated": "Date Estimated",
|
||||||
"date_exported": "Exported",
|
"date_exported": "Exported",
|
||||||
"date_invoiced": "Invoiced",
|
"date_invoiced": "Invoiced",
|
||||||
"date_open": "Open",
|
"date_open": "Open",
|
||||||
"date_scheduled": "Scheduled",
|
"date_scheduled": "Scheduled",
|
||||||
"deductible": "Deductible",
|
"ded_amt": "Deductible",
|
||||||
|
"ded_status": "Deductible Status",
|
||||||
|
"depreciation_taxes": "Depreciation/Taxes",
|
||||||
|
"est_addr1": "Appraiser Address",
|
||||||
|
"est_co_nm": "Appraiser",
|
||||||
|
"est_ct_fn": "Appraiser First Name",
|
||||||
|
"est_ct_ln": "Appraiser Last Name",
|
||||||
|
"est_ea": "Appraiser Email",
|
||||||
"est_number": "Estimate Number",
|
"est_number": "Estimate Number",
|
||||||
|
"est_ph1": "Appraiser Phone #",
|
||||||
|
"federal_tax_payable": "Federal Tax Payable",
|
||||||
|
"ins_addr1": "Insurance Co. Address",
|
||||||
|
"ins_city": "Insurance City",
|
||||||
|
"ins_co_id": "Insurance Co. ID",
|
||||||
|
"ins_co_nm": "Insurance Company Name",
|
||||||
|
"ins_ct_fn": "File Handler First Name",
|
||||||
|
"ins_ct_ln": "File Handler Last Name",
|
||||||
|
"ins_ea": "File Handler Email",
|
||||||
|
"ins_ph1": "File Handler Phone #",
|
||||||
|
"kmin": "Mileage In",
|
||||||
|
"kmout": "Mileage Out",
|
||||||
|
"loss_date": "Loss Date",
|
||||||
|
"loss_desc": "Loss of Use",
|
||||||
|
"other_amount_payable": "Other Amount Payable",
|
||||||
"owner": "Owner",
|
"owner": "Owner",
|
||||||
"owner_owing": "Cust. Owes",
|
"owner_owing": "Cust. Owes",
|
||||||
"ownr_ea": "Email",
|
"ownr_ea": "Email",
|
||||||
|
"pay_date": "Inspection Date",
|
||||||
"phone1": "Phone 1",
|
"phone1": "Phone 1",
|
||||||
"phoneshort": "PH",
|
"phoneshort": "PH",
|
||||||
|
"policy_no": "Policy #",
|
||||||
|
"ponumber": "PO Number",
|
||||||
|
"referralsource": "Referral Source",
|
||||||
|
"regie_number": "Registration #",
|
||||||
|
"repairtotal": "Repair Total",
|
||||||
"ro_number": "RO #",
|
"ro_number": "RO #",
|
||||||
"scheduled_completion": "Scheduled Completion",
|
"scheduled_completion": "Scheduled Completion",
|
||||||
"scheduled_delivery": "Scheduled Delivery",
|
"scheduled_delivery": "Scheduled Delivery",
|
||||||
"scheduled_in": "Scheduled In",
|
"scheduled_in": "Scheduled In",
|
||||||
|
"selling_dealer": "Selling Dealer",
|
||||||
|
"selling_dealer_contact": "Selling Dealer Contact",
|
||||||
|
"servicecar": "Service Car",
|
||||||
|
"servicing_dealer": "Servicing Dealer",
|
||||||
|
"servicing_dealer_contact": "Servicing Dealer Contact",
|
||||||
|
"specialcoveragepolicy": "Special Coverage Policy",
|
||||||
"status": "Job Status",
|
"status": "Job Status",
|
||||||
|
"storage_payable": "Storage/PVRT",
|
||||||
|
"towing_payable": "Towing Payable",
|
||||||
|
"unitnumber": "Unit #",
|
||||||
"vehicle": "Vehicle"
|
"vehicle": "Vehicle"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
@@ -108,6 +154,21 @@
|
|||||||
"languageselector": "Language",
|
"languageselector": "Language",
|
||||||
"profile": "Profile"
|
"profile": "Profile"
|
||||||
},
|
},
|
||||||
|
"header": {
|
||||||
|
"activejobs": "Active Jobs",
|
||||||
|
"availablejobs": "Available Jobs",
|
||||||
|
"home": "Home",
|
||||||
|
"jobs": "Jobs"
|
||||||
|
},
|
||||||
|
"jobsdetail": {
|
||||||
|
"claimdetail": "Claim Details",
|
||||||
|
"dates": "Dates",
|
||||||
|
"financials": "Financials",
|
||||||
|
"insurance": "Insurance",
|
||||||
|
"labor": "Labor",
|
||||||
|
"partssublet": "Parts/Sublet",
|
||||||
|
"repairdata": "Repair Data"
|
||||||
|
},
|
||||||
"profilesidebar": {
|
"profilesidebar": {
|
||||||
"profile": "My Profile",
|
"profile": "My Profile",
|
||||||
"shops": "My Shops"
|
"shops": "My Shops"
|
||||||
@@ -131,7 +192,7 @@
|
|||||||
"newnoteplaceholder": "Add a note..."
|
"newnoteplaceholder": "Add a note..."
|
||||||
},
|
},
|
||||||
"successes": {
|
"successes": {
|
||||||
"created": "Note created successfully.",
|
"create": "Note created successfully.",
|
||||||
"deleted": "Note deleted successfully.",
|
"deleted": "Note deleted successfully.",
|
||||||
"updated": "Note updated successfully."
|
"updated": "Note updated successfully."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
|
"actions": {
|
||||||
|
"reset": "Restablecer a original."
|
||||||
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"in": "en",
|
"in": "en",
|
||||||
"loading": "Cargando...",
|
"loading": "Cargando...",
|
||||||
@@ -28,6 +31,9 @@
|
|||||||
"english": "Inglés",
|
"english": "Inglés",
|
||||||
"french": "francés",
|
"french": "francés",
|
||||||
"spanish": "español"
|
"spanish": "español"
|
||||||
|
},
|
||||||
|
"messages": {
|
||||||
|
"unsavedchanges": "Usted tiene cambios no guardados."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jobs": {
|
"jobs": {
|
||||||
@@ -52,27 +58,67 @@
|
|||||||
"actual_completion": "Realización real",
|
"actual_completion": "Realización real",
|
||||||
"actual_delivery": "Entrega real",
|
"actual_delivery": "Entrega real",
|
||||||
"actual_in": "Real en",
|
"actual_in": "Real en",
|
||||||
|
"adjustment_bottom_line": "Ajustes",
|
||||||
"claim_total": "Reclamar total",
|
"claim_total": "Reclamar total",
|
||||||
"clm_no": "Reclamación #",
|
"clm_no": "Reclamación #",
|
||||||
"clm_total": "Reclamar total",
|
"clm_total": "Reclamar total",
|
||||||
|
"csr": "Representante de servicio al cliente.",
|
||||||
|
"customerowing": "Cliente debido",
|
||||||
"date_closed": "Cerrado",
|
"date_closed": "Cerrado",
|
||||||
"date_estimated": "Fecha estimada",
|
"date_estimated": "Fecha estimada",
|
||||||
"date_exported": "Exportado",
|
"date_exported": "Exportado",
|
||||||
"date_invoiced": "Facturado",
|
"date_invoiced": "Facturado",
|
||||||
"date_open": "Abierto",
|
"date_open": "Abierto",
|
||||||
"date_scheduled": "Programado",
|
"date_scheduled": "Programado",
|
||||||
"deductible": "Deducible",
|
"ded_amt": "Deducible",
|
||||||
|
"ded_status": "Estado deducible",
|
||||||
|
"depreciation_taxes": "Depreciación / Impuestos",
|
||||||
|
"est_addr1": "Dirección del tasador",
|
||||||
|
"est_co_nm": "Tasador",
|
||||||
|
"est_ct_fn": "Nombre del tasador",
|
||||||
|
"est_ct_ln": "Apellido del tasador",
|
||||||
|
"est_ea": "Correo electrónico del tasador",
|
||||||
"est_number": "Numero Estimado",
|
"est_number": "Numero Estimado",
|
||||||
|
"est_ph1": "Número de teléfono del tasador",
|
||||||
|
"federal_tax_payable": "Impuesto federal por pagar",
|
||||||
|
"ins_addr1": "Dirección de Insurance Co.",
|
||||||
|
"ins_city": "Ciudad de seguros",
|
||||||
|
"ins_co_id": "ID de la compañía de seguros",
|
||||||
|
"ins_co_nm": "Nombre de la compañía de seguros",
|
||||||
|
"ins_ct_fn": "Nombre del controlador de archivos",
|
||||||
|
"ins_ct_ln": "Apellido del manejador de archivos",
|
||||||
|
"ins_ea": "Correo electrónico del controlador de archivos",
|
||||||
|
"ins_ph1": "File Handler Phone #",
|
||||||
|
"kmin": "Kilometraje en",
|
||||||
|
"kmout": "Kilometraje",
|
||||||
|
"loss_date": "Fecha de pérdida",
|
||||||
|
"loss_desc": "Perdida de uso",
|
||||||
|
"other_amount_payable": "Otra cantidad a pagar",
|
||||||
"owner": "Propietario",
|
"owner": "Propietario",
|
||||||
"owner_owing": "Cust. Debe",
|
"owner_owing": "Cust. Debe",
|
||||||
"ownr_ea": "Email",
|
"ownr_ea": "Email",
|
||||||
|
"pay_date": "Fecha de inspección",
|
||||||
"phone1": "Teléfono 1",
|
"phone1": "Teléfono 1",
|
||||||
"phoneshort": "PH",
|
"phoneshort": "PH",
|
||||||
|
"policy_no": "Política #",
|
||||||
|
"ponumber": "numero postal",
|
||||||
|
"referralsource": "Fuente de referencia",
|
||||||
|
"regie_number": "N. ° de registro",
|
||||||
|
"repairtotal": "Reparación total",
|
||||||
"ro_number": "RO #",
|
"ro_number": "RO #",
|
||||||
"scheduled_completion": "Finalización programada",
|
"scheduled_completion": "Finalización programada",
|
||||||
"scheduled_delivery": "Entrega programada",
|
"scheduled_delivery": "Entrega programada",
|
||||||
"scheduled_in": "Programado en",
|
"scheduled_in": "Programado en",
|
||||||
|
"selling_dealer": "Distribuidor vendedor",
|
||||||
|
"selling_dealer_contact": "Contacto con el vendedor",
|
||||||
|
"servicecar": "Auto de servicio",
|
||||||
|
"servicing_dealer": "Distribuidor de servicio",
|
||||||
|
"servicing_dealer_contact": "Servicio Contacto con el concesionario",
|
||||||
|
"specialcoveragepolicy": "Política de cobertura especial",
|
||||||
"status": "Estado del trabajo",
|
"status": "Estado del trabajo",
|
||||||
|
"storage_payable": "Almacenamiento / PVRT",
|
||||||
|
"towing_payable": "Remolque a pagar",
|
||||||
|
"unitnumber": "Unidad #",
|
||||||
"vehicle": "Vehículo"
|
"vehicle": "Vehículo"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
@@ -108,6 +154,21 @@
|
|||||||
"languageselector": "idioma",
|
"languageselector": "idioma",
|
||||||
"profile": "Perfil"
|
"profile": "Perfil"
|
||||||
},
|
},
|
||||||
|
"header": {
|
||||||
|
"activejobs": "Empleos activos",
|
||||||
|
"availablejobs": "Trabajos disponibles",
|
||||||
|
"home": "Casa",
|
||||||
|
"jobs": "Trabajos"
|
||||||
|
},
|
||||||
|
"jobsdetail": {
|
||||||
|
"claimdetail": "Detalles de la reclamación",
|
||||||
|
"dates": "fechas",
|
||||||
|
"financials": "finanzas",
|
||||||
|
"insurance": "Seguro",
|
||||||
|
"labor": "Labor",
|
||||||
|
"partssublet": "Piezas / Subarrendamiento",
|
||||||
|
"repairdata": "Datos de reparación"
|
||||||
|
},
|
||||||
"profilesidebar": {
|
"profilesidebar": {
|
||||||
"profile": "Mi perfil",
|
"profile": "Mi perfil",
|
||||||
"shops": "Mis tiendas"
|
"shops": "Mis tiendas"
|
||||||
@@ -131,7 +192,7 @@
|
|||||||
"newnoteplaceholder": "Agrega una nota..."
|
"newnoteplaceholder": "Agrega una nota..."
|
||||||
},
|
},
|
||||||
"successes": {
|
"successes": {
|
||||||
"created": "Nota creada con éxito.",
|
"create": "Nota creada con éxito.",
|
||||||
"deleted": "Nota eliminada con éxito.",
|
"deleted": "Nota eliminada con éxito.",
|
||||||
"updated": "Nota actualizada con éxito."
|
"updated": "Nota actualizada con éxito."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
|
"actions": {
|
||||||
|
"reset": "Rétablir l'original."
|
||||||
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"in": "dans",
|
"in": "dans",
|
||||||
"loading": "Chargement...",
|
"loading": "Chargement...",
|
||||||
@@ -28,6 +31,9 @@
|
|||||||
"english": "Anglais",
|
"english": "Anglais",
|
||||||
"french": "Francais",
|
"french": "Francais",
|
||||||
"spanish": "Espanol"
|
"spanish": "Espanol"
|
||||||
|
},
|
||||||
|
"messages": {
|
||||||
|
"unsavedchanges": "Vous avez des changements non enregistrés."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jobs": {
|
"jobs": {
|
||||||
@@ -52,27 +58,67 @@
|
|||||||
"actual_completion": "Achèvement réel",
|
"actual_completion": "Achèvement réel",
|
||||||
"actual_delivery": "Livraison réelle",
|
"actual_delivery": "Livraison réelle",
|
||||||
"actual_in": "En réel",
|
"actual_in": "En réel",
|
||||||
|
"adjustment_bottom_line": "Ajustements",
|
||||||
"claim_total": "Total réclamation",
|
"claim_total": "Total réclamation",
|
||||||
"clm_no": "Prétendre #",
|
"clm_no": "Prétendre #",
|
||||||
"clm_total": "Total réclamation",
|
"clm_total": "Total réclamation",
|
||||||
|
"csr": "représentant du service à la clientèle",
|
||||||
|
"customerowing": "Client propriétaire",
|
||||||
"date_closed": "Fermé",
|
"date_closed": "Fermé",
|
||||||
"date_estimated": "Date estimée",
|
"date_estimated": "Date estimée",
|
||||||
"date_exported": "Exportés",
|
"date_exported": "Exportés",
|
||||||
"date_invoiced": "Facturé",
|
"date_invoiced": "Facturé",
|
||||||
"date_open": "Ouvrir",
|
"date_open": "Ouvrir",
|
||||||
"date_scheduled": "Prévu",
|
"date_scheduled": "Prévu",
|
||||||
"deductible": "Déductible",
|
"ded_amt": "Déductible",
|
||||||
|
"ded_status": "Statut de franchise",
|
||||||
|
"depreciation_taxes": "Amortissement / taxes",
|
||||||
|
"est_addr1": "Adresse de l'évaluateur",
|
||||||
|
"est_co_nm": "Expert",
|
||||||
|
"est_ct_fn": "Prénom de l'évaluateur",
|
||||||
|
"est_ct_ln": "Nom de l'évaluateur",
|
||||||
|
"est_ea": "Courriel de l'évaluateur",
|
||||||
"est_number": "Numéro d'estimation",
|
"est_number": "Numéro d'estimation",
|
||||||
|
"est_ph1": "Numéro de téléphone de l'évaluateur",
|
||||||
|
"federal_tax_payable": "Impôt fédéral à payer",
|
||||||
|
"ins_addr1": "Adresse Insurance Co.",
|
||||||
|
"ins_city": "Insurance City",
|
||||||
|
"ins_co_id": "ID de la compagnie d'assurance",
|
||||||
|
"ins_co_nm": "Nom de la compagnie d'assurance",
|
||||||
|
"ins_ct_fn": "Prénom du gestionnaire de fichiers",
|
||||||
|
"ins_ct_ln": "Nom du gestionnaire de fichiers",
|
||||||
|
"ins_ea": "Courriel du gestionnaire de fichiers",
|
||||||
|
"ins_ph1": "Numéro de téléphone du gestionnaire de fichiers",
|
||||||
|
"kmin": "Kilométrage en",
|
||||||
|
"kmout": "Kilométrage hors",
|
||||||
|
"loss_date": "Date de perte",
|
||||||
|
"loss_desc": "Perte d'usage",
|
||||||
|
"other_amount_payable": "Autre montant à payer",
|
||||||
"owner": "Propriétaire",
|
"owner": "Propriétaire",
|
||||||
"owner_owing": "Cust. Owes",
|
"owner_owing": "Cust. Owes",
|
||||||
"ownr_ea": "Email",
|
"ownr_ea": "Email",
|
||||||
|
"pay_date": "Date d'inspection",
|
||||||
"phone1": "Téléphone 1",
|
"phone1": "Téléphone 1",
|
||||||
"phoneshort": "PH",
|
"phoneshort": "PH",
|
||||||
|
"policy_no": "Politique #",
|
||||||
|
"ponumber": "Numéro de bon de commande",
|
||||||
|
"referralsource": "Source de référence",
|
||||||
|
"regie_number": "Enregistrement #",
|
||||||
|
"repairtotal": "Réparation totale",
|
||||||
"ro_number": "RO #",
|
"ro_number": "RO #",
|
||||||
"scheduled_completion": "Achèvement planifié",
|
"scheduled_completion": "Achèvement planifié",
|
||||||
"scheduled_delivery": "Livraison programmée",
|
"scheduled_delivery": "Livraison programmée",
|
||||||
"scheduled_in": "Planifié dans",
|
"scheduled_in": "Planifié dans",
|
||||||
|
"selling_dealer": "Revendeur vendeur",
|
||||||
|
"selling_dealer_contact": "Contacter le revendeur",
|
||||||
|
"servicecar": "Voiture de service",
|
||||||
|
"servicing_dealer": "Concessionnaire",
|
||||||
|
"servicing_dealer_contact": "Contacter le concessionnaire",
|
||||||
|
"specialcoveragepolicy": "Politique de couverture spéciale",
|
||||||
"status": "Statut de l'emploi",
|
"status": "Statut de l'emploi",
|
||||||
|
"storage_payable": "Stockage / PVRT",
|
||||||
|
"towing_payable": "Remorquage à payer",
|
||||||
|
"unitnumber": "Unité #",
|
||||||
"vehicle": "Véhicule"
|
"vehicle": "Véhicule"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
@@ -108,6 +154,21 @@
|
|||||||
"languageselector": "La langue",
|
"languageselector": "La langue",
|
||||||
"profile": "Profil"
|
"profile": "Profil"
|
||||||
},
|
},
|
||||||
|
"header": {
|
||||||
|
"activejobs": "Emplois actifs",
|
||||||
|
"availablejobs": "Emplois disponibles",
|
||||||
|
"home": "Accueil",
|
||||||
|
"jobs": "Emplois"
|
||||||
|
},
|
||||||
|
"jobsdetail": {
|
||||||
|
"claimdetail": "Détails de la réclamation",
|
||||||
|
"dates": "Rendez-vous",
|
||||||
|
"financials": "Financiers",
|
||||||
|
"insurance": "Assurance",
|
||||||
|
"labor": "La main d'oeuvre",
|
||||||
|
"partssublet": "Pièces / Sous-location",
|
||||||
|
"repairdata": "Données de réparation"
|
||||||
|
},
|
||||||
"profilesidebar": {
|
"profilesidebar": {
|
||||||
"profile": "Mon profil",
|
"profile": "Mon profil",
|
||||||
"shops": "Mes boutiques"
|
"shops": "Mes boutiques"
|
||||||
@@ -131,7 +192,7 @@
|
|||||||
"newnoteplaceholder": "Ajouter une note..."
|
"newnoteplaceholder": "Ajouter une note..."
|
||||||
},
|
},
|
||||||
"successes": {
|
"successes": {
|
||||||
"created": "Remarque créée avec succès.",
|
"create": "Remarque créée avec succès.",
|
||||||
"deleted": "Remarque supprimée avec succès.",
|
"deleted": "Remarque supprimée avec succès.",
|
||||||
"updated": "Remarque mise à jour avec succès."
|
"updated": "Remarque mise à jour avec succès."
|
||||||
}
|
}
|
||||||
|
|||||||
13
client/src/utils/CurrencyFormatter.jsx
Normal file
13
client/src/utils/CurrencyFormatter.jsx
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import React from "react";
|
||||||
|
import NumberFormat from "react-number-format";
|
||||||
|
|
||||||
|
export default function CurrencyFormatter(props) {
|
||||||
|
return (
|
||||||
|
<NumberFormat
|
||||||
|
thousandSeparator={true}
|
||||||
|
prefix={"$"}
|
||||||
|
value={props.children}
|
||||||
|
displayType={"text"}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "service_Car";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "service_Car" text NULL;
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,212 @@
|
|||||||
|
- 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:
|
||||||
|
- actual_completion
|
||||||
|
- actual_delivery
|
||||||
|
- actual_in
|
||||||
|
- 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
|
||||||
|
- area_of_damage
|
||||||
|
- asgn_date
|
||||||
|
- asgn_no
|
||||||
|
- asgn_type
|
||||||
|
- cat_no
|
||||||
|
- ciecaid
|
||||||
|
- claim_total
|
||||||
|
- 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_total
|
||||||
|
- clm_zip
|
||||||
|
- converted
|
||||||
|
- created_at
|
||||||
|
- cust_pr
|
||||||
|
- date_closed
|
||||||
|
- date_estimated
|
||||||
|
- date_exported
|
||||||
|
- date_invoiced
|
||||||
|
- date_open
|
||||||
|
- date_scheduled
|
||||||
|
- ded_amt
|
||||||
|
- ded_status
|
||||||
|
- deductible
|
||||||
|
- est_addr1
|
||||||
|
- est_addr2
|
||||||
|
- est_city
|
||||||
|
- est_co_nm
|
||||||
|
- est_ct_fn
|
||||||
|
- est_ct_ln
|
||||||
|
- est_ctry
|
||||||
|
- est_ea
|
||||||
|
- est_number
|
||||||
|
- est_ph1
|
||||||
|
- est_st
|
||||||
|
- est_zip
|
||||||
|
- federal_tax_rate
|
||||||
|
- id
|
||||||
|
- inproduction
|
||||||
|
- 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
|
||||||
|
- ins_ea
|
||||||
|
- ins_fax
|
||||||
|
- ins_faxx
|
||||||
|
- ins_memo
|
||||||
|
- ins_ph1
|
||||||
|
- ins_ph1x
|
||||||
|
- ins_ph2
|
||||||
|
- ins_ph2x
|
||||||
|
- ins_st
|
||||||
|
- ins_title
|
||||||
|
- ins_zip
|
||||||
|
- 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
|
||||||
|
- invoice_date
|
||||||
|
- labor_rate_desc
|
||||||
|
- labor_rate_id
|
||||||
|
- local_tax_rate
|
||||||
|
- loss_cat
|
||||||
|
- loss_date
|
||||||
|
- loss_desc
|
||||||
|
- loss_type
|
||||||
|
- owner_owing
|
||||||
|
- ownerid
|
||||||
|
- 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_amt
|
||||||
|
- pay_chknm
|
||||||
|
- pay_date
|
||||||
|
- pay_type
|
||||||
|
- payee_nms
|
||||||
|
- policy_no
|
||||||
|
- 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
|
||||||
|
- regie_number
|
||||||
|
- ro_number
|
||||||
|
- scheduled_completion
|
||||||
|
- scheduled_delivery
|
||||||
|
- scheduled_in
|
||||||
|
- shopid
|
||||||
|
- state_tax_rate
|
||||||
|
- statusid
|
||||||
|
- theft_ind
|
||||||
|
- tlos_ind
|
||||||
|
- updated_at
|
||||||
|
- vehicleid
|
||||||
|
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_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
|
||||||
|
localPresets:
|
||||||
|
- key: ""
|
||||||
|
value: ""
|
||||||
|
set: {}
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: create_insert_permission
|
||||||
@@ -0,0 +1,210 @@
|
|||||||
|
- args:
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: drop_select_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
allow_aggregations: false
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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
|
||||||
|
- 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,211 @@
|
|||||||
|
- args:
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: drop_select_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
allow_aggregations: false
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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
|
||||||
|
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,212 @@
|
|||||||
|
- args:
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: drop_update_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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
|
||||||
|
- 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,213 @@
|
|||||||
|
- args:
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: drop_update_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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,6 @@
|
|||||||
|
- args:
|
||||||
|
sql: COMMENT ON COLUMN "public"."jobs"."service_Car" IS E'null'
|
||||||
|
type: run_sql
|
||||||
|
- args:
|
||||||
|
sql: alter table "public"."jobs" rename column "service_car" to "service_Car";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
- args:
|
||||||
|
sql: COMMENT ON COLUMN "public"."jobs"."service_Car" IS E''
|
||||||
|
type: run_sql
|
||||||
|
- args:
|
||||||
|
sql: alter table "public"."jobs" rename column "service_Car" to "service_car";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "special_coverage_policy";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "special_coverage_policy" boolean
|
||||||
|
NOT NULL DEFAULT false;
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,213 @@
|
|||||||
|
- 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
|
||||||
|
localPresets:
|
||||||
|
- key: ""
|
||||||
|
value: ""
|
||||||
|
set: {}
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: create_insert_permission
|
||||||
@@ -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,211 @@
|
|||||||
|
- args:
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: drop_select_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
allow_aggregations: false
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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
|
||||||
|
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,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_update_permission
|
||||||
|
- args:
|
||||||
|
permission:
|
||||||
|
columns:
|
||||||
|
- converted
|
||||||
|
- inproduction
|
||||||
|
- 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,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,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
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "selling_dealer";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "selling_dealer" text NULL;
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "servicing_dealer";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "servicing_dealer" text NULL;
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "servicing_dealer_contact";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "servicing_dealer_contact" text NULL;
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" DROP COLUMN "selling_dealer_contact";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "selling_dealer_contact" text NULL;
|
||||||
|
type: run_sql
|
||||||
@@ -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,224 @@
|
|||||||
|
- 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
|
||||||
|
- selling_dealer
|
||||||
|
- servicing_dealer
|
||||||
|
- servicing_dealer_contact
|
||||||
|
- selling_dealer_contact
|
||||||
|
localPresets:
|
||||||
|
- key: ""
|
||||||
|
value: ""
|
||||||
|
set: {}
|
||||||
|
role: user
|
||||||
|
table:
|
||||||
|
name: jobs
|
||||||
|
schema: public
|
||||||
|
type: create_insert_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,222 @@
|
|||||||
|
- 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
|
||||||
|
- selling_dealer
|
||||||
|
- selling_dealer_contact
|
||||||
|
- service_car
|
||||||
|
- servicing_dealer
|
||||||
|
- servicing_dealer_contact
|
||||||
|
- 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,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
|
||||||
@@ -0,0 +1,224 @@
|
|||||||
|
- 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
|
||||||
|
- selling_dealer
|
||||||
|
- selling_dealer_contact
|
||||||
|
- service_car
|
||||||
|
- servicing_dealer
|
||||||
|
- servicing_dealer_contact
|
||||||
|
- 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 "depreciation_taxes";
|
||||||
|
type: run_sql
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- args:
|
||||||
|
sql: ALTER TABLE "public"."jobs" ADD COLUMN "depreciation_taxes" numeric NULL;
|
||||||
|
type: run_sql
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user