diff --git a/client/src/components/bill-form/bill-form.lines.component.jsx b/client/src/components/bill-form/bill-form.lines.component.jsx index 7edadec39..22281c9a4 100644 --- a/client/src/components/bill-form/bill-form.lines.component.jsx +++ b/client/src/components/bill-form/bill-form.lines.component.jsx @@ -42,7 +42,7 @@ export function BillEnterModalLinesComponent({ title: t("billlines.fields.jobline"), dataIndex: "joblineid", editable: true, - width: "10%", + width: "25%", formItemProps: (field) => { return { key: `${field.index}joblinename`, @@ -88,6 +88,7 @@ export function BillEnterModalLinesComponent({ title: t("billlines.fields.line_desc"), dataIndex: "line_desc", editable: true, + width: "12%", formItemProps: (field) => { return { key: `${field.index}line_desc`, @@ -239,46 +240,6 @@ export function BillEnterModalLinesComponent({ ), }, - { - title: t("billlines.fields.federal_tax_applicable"), - dataIndex: "applicable_taxes.federal", - editable: true, - formItemProps: (field) => { - return { - key: `${field.index}fedtax`, - valuePropName: "checked", - initialValue: true, - name: [field.name, "applicable_taxes", "federal"], - }; - }, - formInput: (record, index) => , - }, - { - title: t("billlines.fields.state_tax_applicable"), - dataIndex: "applicable_taxes.state", - editable: true, - formItemProps: (field) => { - return { - key: `${field.index}statetax`, - valuePropName: "checked", - name: [field.name, "applicable_taxes", "state"], - }; - }, - formInput: (record, index) => , - }, - { - title: t("billlines.fields.local_tax_applicable"), - dataIndex: "applicable_taxes.local", - editable: true, - formItemProps: (field) => { - return { - key: `${field.index}localtax`, - valuePropName: "checked", - name: [field.name, "applicable_taxes", "local"], - }; - }, - formInput: (record, index) => , - }, { title: t("billlines.fields.location"), @@ -389,11 +350,54 @@ export function BillEnterModalLinesComponent({ ); - return ; + return <>; }} ), }, + { + title: t("billlines.fields.federal_tax_applicable"), + dataIndex: "applicable_taxes.federal", + editable: true, + width: "3rem", + formItemProps: (field) => { + return { + key: `${field.index}fedtax`, + valuePropName: "checked", + initialValue: true, + name: [field.name, "applicable_taxes", "federal"], + }; + }, + formInput: (record, index) => , + }, + { + title: t("billlines.fields.state_tax_applicable"), + dataIndex: "applicable_taxes.state", + editable: true, + width: "3rem", + formItemProps: (field) => { + return { + key: `${field.index}statetax`, + valuePropName: "checked", + name: [field.name, "applicable_taxes", "state"], + }; + }, + formInput: (record, index) => , + }, + { + title: t("billlines.fields.local_tax_applicable"), + dataIndex: "applicable_taxes.local", + editable: true, + width: "3rem", + formItemProps: (field) => { + return { + key: `${field.index}localtax`, + valuePropName: "checked", + name: [field.name, "applicable_taxes", "local"], + }; + }, + formInput: (record, index) => , + }, { title: t("general.labels.actions"), @@ -479,7 +483,7 @@ const EditableCell = ({ if (additional) return ( - + -
-
{item.line_desc}
+
+
+ {item.line_desc} +
{item.oem_partno ? ( {item.oem_partno} ) : null}