Reorder totals table IO-734

This commit is contained in:
Patrick Fic
2021-03-04 09:05:46 -08:00
parent 73f3cc7df0
commit 664f4a6e67
6 changed files with 22 additions and 22 deletions

View File

@@ -25619,7 +25619,7 @@
</translations> </translations>
</concept_node> </concept_node>
<concept_node> <concept_node>
<name>filing_coverhseet_portrait</name> <name>filing_coversheet_portrait</name>
<definition_loaded>false</definition_loaded> <definition_loaded>false</definition_loaded>
<description></description> <description></description>
<comment></comment> <comment></comment>

View File

@@ -267,6 +267,14 @@ export function JobsTotalsTableComponent({ bodyshop, jobRO, job }) {
</Typography.Title> </Typography.Title>
<table> <table>
<tbody> <tbody>
<tr>
<td>{t("jobs.labels.subtotal")}</td>
<td className="currency">
<strong>
{Dinero(job.job_totals.totals.subtotal).toFormat()}
</strong>
</td>
</tr>
<tr> <tr>
<td>{t("jobs.labels.local_tax_amt")}</td> <td>{t("jobs.labels.local_tax_amt")}</td>
<td className="currency"> <td className="currency">
@@ -317,26 +325,18 @@ export function JobsTotalsTableComponent({ bodyshop, jobRO, job }) {
).toFormat()} ).toFormat()}
</td> </td>
</tr> </tr>
<tr>
<td>{t("jobs.labels.total_cust_payable")}</td>
<td className="currency">
{Dinero(job.job_totals.totals.custPayable.total).toFormat()}
</td>
</tr>
<tr>
<td>{t("jobs.labels.subtotal")}</td>
<td className="currency">
<strong>
{Dinero(job.job_totals.totals.subtotal).toFormat()}
</strong>
</td>
</tr>
<tr> <tr>
<td>{t("jobs.labels.total_repairs")}</td> <td>{t("jobs.labels.total_repairs")}</td>
<td className="currency"> <td className="currency">
{Dinero(job.job_totals.totals.total_repairs).toFormat()} {Dinero(job.job_totals.totals.total_repairs).toFormat()}
</td> </td>
</tr> </tr>
<tr>
<td>{t("jobs.labels.total_cust_payable")}</td>
<td className="currency">
{Dinero(job.job_totals.totals.custPayable.total).toFormat()}
</td>
</tr>
<tr> <tr>
<td>{t("jobs.labels.net_repairs")}</td> <td>{t("jobs.labels.net_repairs")}</td>
<td className="currency"> <td className="currency">

View File

@@ -1552,7 +1552,7 @@
"diagnostic_authorization": "Diagnostic Authorization", "diagnostic_authorization": "Diagnostic Authorization",
"estimate": "Estimate Only", "estimate": "Estimate Only",
"estimate_detail": "Estimate Details", "estimate_detail": "Estimate Details",
"filing_coverhseet_portrait": "Filing Coversheet (Portrait)", "filing_coversheet_portrait": "Filing Coversheet (Portrait)",
"final_invoice": "Final Invoice", "final_invoice": "Final Invoice",
"fippa_authorization": "FIPPA Authorization", "fippa_authorization": "FIPPA Authorization",
"glass_express_checklist": "Glass Express Checklist", "glass_express_checklist": "Glass Express Checklist",

View File

@@ -1552,7 +1552,7 @@
"diagnostic_authorization": "", "diagnostic_authorization": "",
"estimate": "", "estimate": "",
"estimate_detail": "", "estimate_detail": "",
"filing_coverhseet_portrait": "", "filing_coversheet_portrait": "",
"final_invoice": "", "final_invoice": "",
"fippa_authorization": "", "fippa_authorization": "",
"glass_express_checklist": "", "glass_express_checklist": "",

View File

@@ -1552,7 +1552,7 @@
"diagnostic_authorization": "", "diagnostic_authorization": "",
"estimate": "", "estimate": "",
"estimate_detail": "", "estimate_detail": "",
"filing_coverhseet_portrait": "", "filing_coversheet_portrait": "",
"final_invoice": "", "final_invoice": "",
"fippa_authorization": "", "fippa_authorization": "",
"glass_express_checklist": "", "glass_express_checklist": "",

View File

@@ -167,11 +167,11 @@ export const TemplateList = (type, context) => {
key: "coversheet_portrait", key: "coversheet_portrait",
disabled: false, disabled: false,
}, },
filing_coverhseet_portrait: { filing_coversheet_portrait: {
title: i18n.t("printcenter.jobs.filing_coverhseet_portrait"), title: i18n.t("printcenter.jobs.filing_coversheet_portrait"),
description: "All Jobs Notes", description: "All Jobs Notes",
subject: i18n.t("printcenter.jobs.filing_coverhseet_portrait"), subject: i18n.t("printcenter.jobs.filing_coversheet_portrait"),
key: "filing_coverhseet_portrait", key: "filing_coversheet_portrait",
disabled: false, disabled: false,
}, },
} }