修改药品订单中药品单价问题
This commit is contained in:
parent
2f92ef3dfc
commit
920228fe48
@ -3500,6 +3500,14 @@ class PatientOrderService extends BaseService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach ($product_datas as &$product_data){
|
||||||
|
$product_data["actual_product_price"] = bcdiv(
|
||||||
|
$product_data['actual_product_price'],
|
||||||
|
$product_data['actual_quantity'],
|
||||||
|
2
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return $product_datas;
|
return $product_datas;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user