Fixed some styling issues
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
.imex-flex-row {
|
.imex-flex-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
flex-wrap: wrap;
|
//flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
&__grow {
|
&__grow {
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ function ChatSendMessageComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="imex-flex-row">
|
<div className="imex-flex-row" style={{ width: "100%" }}>
|
||||||
<ChatPresetsComponent className="imex-flex-row__margin" />
|
<ChatPresetsComponent className="imex-flex-row__margin" />
|
||||||
|
|
||||||
<Input.TextArea
|
<Input.TextArea
|
||||||
|
|||||||
@@ -7,22 +7,13 @@ import "./phone-form-item.styles.scss";
|
|||||||
function FormItemPhone(props, ref) {
|
function FormItemPhone(props, ref) {
|
||||||
return (
|
return (
|
||||||
<PhoneInput
|
<PhoneInput
|
||||||
|
country="ca"
|
||||||
onlyCountries={["ca", "us"]}
|
onlyCountries={["ca", "us"]}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className="ant-input"
|
className="ant-input"
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
// return (
|
|
||||||
// <NumberFormat
|
|
||||||
// {...props}
|
|
||||||
// className="ant-input"
|
|
||||||
// ref={ref}
|
|
||||||
// type="tel"
|
|
||||||
// format="###-###-####"
|
|
||||||
// />
|
|
||||||
// );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default forwardRef(FormItemPhone);
|
export default forwardRef(FormItemPhone);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Col, Result, Row, Typography } from "antd";
|
import { Col, Collapse, Result, Row, Typography } from "antd";
|
||||||
import Dinero from "dinero.js";
|
import Dinero from "dinero.js";
|
||||||
import { JsonEditor as Editor } from "jsoneditor-react";
|
import { JsonEditor as Editor } from "jsoneditor-react";
|
||||||
import "jsoneditor-react/es/editor.min.css";
|
import "jsoneditor-react/es/editor.min.css";
|
||||||
@@ -326,7 +326,9 @@ export function JobsTotalsTableComponent({ bodyshop, jobRO, job }) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{t("jobs.labels.subtotal")}</td>
|
<td>{t("jobs.labels.subtotal")}</td>
|
||||||
<td className="currency">
|
<td className="currency">
|
||||||
{Dinero(job.job_totals.totals.subtotal).toFormat()}
|
<strong>
|
||||||
|
{Dinero(job.job_totals.totals.subtotal).toFormat()}
|
||||||
|
</strong>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -338,19 +340,25 @@ export function JobsTotalsTableComponent({ bodyshop, jobRO, job }) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{t("jobs.labels.net_repairs")}</td>
|
<td>{t("jobs.labels.net_repairs")}</td>
|
||||||
<td className="currency">
|
<td className="currency">
|
||||||
{Dinero(job.job_totals.totals.net_repairs).toFormat()}
|
<strong>
|
||||||
|
{Dinero(job.job_totals.totals.net_repairs).toFormat()}
|
||||||
|
</strong>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<JobCalculateTotals job={job} disabled={jobRO} />
|
<JobCalculateTotals job={job} disabled={jobRO} />
|
||||||
<Editor
|
<Collapse>
|
||||||
value={{
|
<Collapse.Panel header="JSON Tree Totals">
|
||||||
CIECA: job.cieca_ttl && job.cieca_ttl.data,
|
<Editor
|
||||||
ImEXCalc: job.job_totals,
|
value={{
|
||||||
}}
|
CIECA: job.cieca_ttl && job.cieca_ttl.data,
|
||||||
/>
|
ImEXCalc: job.job_totals,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Collapse.Panel>
|
||||||
|
</Collapse>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|||||||
Reference in New Issue
Block a user