Commit f1f64d22fd510ce4dfb3c2c1d02143a1f553867e
1 parent
b86fb27e
fix(order): remove taxId from invoice company value
The taxId was appended to the company name in the invoice drawer form, resulting in a combined value used as the `value` prop for company selection. This change removes the tax
Showing
1 changed file
with
1 additions
and
1 deletions
src/pages/Order/components/InvoicingDrawerForm.tsx
@@ -126,7 +126,7 @@ export default ({ dataList, setVisible, onClose }) => { | @@ -126,7 +126,7 @@ export default ({ dataList, setVisible, onClose }) => { | ||
126 | return { | 126 | return { |
127 | ...company, | 127 | ...company, |
128 | label: company.name, | 128 | label: company.name, |
129 | - value: company.name + '|' + company.taxId, | 129 | + value: company.name, |
130 | key: company.id, | 130 | key: company.id, |
131 | }; | 131 | }; |
132 | }); | 132 | }); |