Invoice enter modal now saves invoices.
This commit is contained in:
@@ -57,9 +57,9 @@ export default function InvoiceEnterModalLinesComponent({
|
||||
? ""
|
||||
: opt.value,
|
||||
actual_price: opt.cost ? opt.cost : 0,
|
||||
cost_center: opt.mod_lbr_ty
|
||||
cost_center: opt.part_type
|
||||
? responsibilityCenters.defaults[
|
||||
opt.mod_lbr_ty
|
||||
opt.part_type
|
||||
] || null
|
||||
: null
|
||||
};
|
||||
@@ -83,7 +83,7 @@ export default function InvoiceEnterModalLinesComponent({
|
||||
key={item.id}
|
||||
value={item.line_desc}
|
||||
cost={item.act_price ? item.act_price : 0}
|
||||
mod_lbr_ty={item.mod_lbr_ty}
|
||||
part_type={item.part_type}
|
||||
>
|
||||
<Row justify="center" align="middle">
|
||||
<Col span={12}> {item.line_desc}</Col>
|
||||
|
||||
Reference in New Issue
Block a user