Hasura Migrations for parts order, parts order line objects. Fixed error on whiteboard component card.
This commit is contained in:
@@ -31,32 +31,33 @@ export default function WhiteBoardCard({ metadata }) {
|
||||
|
||||
const menu = (
|
||||
<Menu>
|
||||
<Menu.Item key="images">
|
||||
<Icon type="file-image" />
|
||||
<Menu.Item key='images'>
|
||||
<Icon type='file-image' />
|
||||
{t("jobs.actions.viewJobImages")}
|
||||
</Menu.Item>
|
||||
<Menu.Item key="printing">
|
||||
<Icon type="printer" />
|
||||
<Menu.Item key='printing'>
|
||||
<Icon type='printer' />
|
||||
{t("jobs.actions.printCenter")}
|
||||
</Menu.Item>
|
||||
<Menu.Item key="notes">
|
||||
<Icon type="edit" />
|
||||
<Menu.Item key='notes'>
|
||||
<Icon type='edit' />
|
||||
{t("jobs.actions.notes")}
|
||||
</Menu.Item>
|
||||
<Menu.Item key="postinvoices">
|
||||
<Icon type="shopping-cart" />
|
||||
<Menu.Item key='postinvoices'>
|
||||
<Icon type='shopping-cart' />
|
||||
{t("jobs.actions.postInvoices")}
|
||||
</Menu.Item>
|
||||
<Menu.Item key="receiveparts">
|
||||
<Icon type="inbox" />
|
||||
<Menu.Item key='receiveparts'>
|
||||
<Icon type='inbox' />
|
||||
{t("jobs.actions.receiveParts")}
|
||||
</Menu.Item>
|
||||
<Menu.Item key="partstatus">
|
||||
<Icon type="tool" />
|
||||
<Menu.Item key='partstatus'>
|
||||
<Icon type='tool' />
|
||||
{t("jobs.actions.partStatus")}
|
||||
</Menu.Item>
|
||||
</Menu>
|
||||
);
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
@@ -72,17 +73,16 @@ export default function WhiteBoardCard({ metadata }) {
|
||||
bodyStyle={{ padding: 10 }}
|
||||
actions={[
|
||||
<Link to={`/manage/jobs/${metadata.id}`}>
|
||||
<Icon type="eye" key="view" />
|
||||
<Icon type='eye' key='view' />
|
||||
</Link>,
|
||||
<Icon type="message" key="message" />,
|
||||
<Icon type='message' key='message' />,
|
||||
<Dropdown overlay={menu} trigger={["click"]}>
|
||||
<Icon type="ellipsis" />
|
||||
<Icon type='ellipsis' />
|
||||
</Dropdown>
|
||||
]}
|
||||
>
|
||||
]}>
|
||||
<Row>
|
||||
<Col span={6}>
|
||||
<Avatar size="large" alt="Vehicle Image" src={CarImage} />
|
||||
<Avatar size='large' alt='Vehicle Image' src={CarImage} />
|
||||
</Col>
|
||||
<Col span={18}>
|
||||
<Row>
|
||||
@@ -104,11 +104,11 @@ export default function WhiteBoardCard({ metadata }) {
|
||||
<Row>
|
||||
<Col span={12}>
|
||||
{t("general.labels.in")}:
|
||||
<Moment format="MM/DD/YYYY">{metadata.actual_in}</Moment>
|
||||
<Moment format='MM/DD/YYYY'>{metadata.actual_in}</Moment>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
{t("general.labels.out")}:
|
||||
<Moment format="MM/DD/YYYY">{metadata.scheduled_completion}</Moment>
|
||||
<Moment format='MM/DD/YYYY'>{metadata.scheduled_completion}</Moment>
|
||||
</Col>
|
||||
</Row>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user