IO-852 In House Order to $0
This commit is contained in:
@@ -128,14 +128,12 @@ export function PartsOrderModalContainer({
|
||||
invoice_number: "ih",
|
||||
isinhouse: true,
|
||||
date: new moment(),
|
||||
total: values.parts_order_lines.data.reduce((acc, val) => {
|
||||
return acc + val.act_price * val.quantity;
|
||||
}, 0),
|
||||
total: 0,
|
||||
billlines: values.parts_order_lines.data.map((p) => {
|
||||
return {
|
||||
joblineid: p.job_line_id,
|
||||
actual_price: p.act_price,
|
||||
actual_cost: p.act_price,
|
||||
actual_cost: 0, //p.act_price,
|
||||
line_desc: p.line_desc,
|
||||
line_remarks: p.line_remarks,
|
||||
part_type: p.part_type,
|
||||
|
||||
Reference in New Issue
Block a user