Language updates + removal of buttons.
This commit is contained in:
@@ -37,12 +37,15 @@ export default function JobDetailCards({ selectedJob }) {
|
||||
<PageHeader
|
||||
ghost={false}
|
||||
onBack={() => window.history.back()}
|
||||
title="Title"
|
||||
subTitle="This is a subtitle"
|
||||
title={
|
||||
data?.jobs_by_pk.ro_number
|
||||
? `${t("jobs.fields.ro_number")} ${data?.jobs_by_pk.ro_number}`
|
||||
: `${t("jobs.fields.est_number")} ${data?.jobs_by_pk.est_number}``
|
||||
}
|
||||
extra={[
|
||||
<Button key="images">
|
||||
<Button key="documents">
|
||||
<Icon type="file-image" />
|
||||
{t("jobs.actions.viewJobImages")}
|
||||
{t("jobs.actions.addDocuments")}
|
||||
</Button>,
|
||||
<Button key="printing">
|
||||
<Icon type="printer" />
|
||||
@@ -50,19 +53,11 @@ export default function JobDetailCards({ selectedJob }) {
|
||||
</Button>,
|
||||
<Button key="notes">
|
||||
<Icon type="edit" />
|
||||
{t("jobs.actions.notes")}
|
||||
{t("jobs.actions.addNote")}
|
||||
</Button>,
|
||||
<Button key="postinvoices">
|
||||
<Icon type="shopping-cart" />
|
||||
{t("jobs.actions.postInvoices")}
|
||||
</Button>,
|
||||
<Button key="receiveparts">
|
||||
<Icon type="inbox" />
|
||||
{t("jobs.actions.receiveParts")}
|
||||
</Button>,
|
||||
<Button key="partstatus">
|
||||
<Icon type="tool" />
|
||||
{t("jobs.actions.partStatus")}
|
||||
</Button>
|
||||
]}
|
||||
>
|
||||
|
||||
@@ -75,13 +75,10 @@
|
||||
"nojobselected": "No job is selected."
|
||||
},
|
||||
"actions": {
|
||||
"viewJobImages": "View Job Images",
|
||||
"addDocuments": "Add Job Documents",
|
||||
"printCenter": "Print Center",
|
||||
"postInvoices": "Post Invoices",
|
||||
"notes": "Job Notes",
|
||||
"partStatus": "Part Status",
|
||||
"receiveParts": "Receive Parts",
|
||||
"card": {}
|
||||
"addNote": "Add Note"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user