Merge pull request 'feat(CashFlowLogic): 添加现金流来源标记功能' (#460) from dev into main
Reviewed-on: #460
This commit is contained in:
commit
a42e67a79c
@ -15,6 +15,9 @@ class CashFlowLogic extends BaseLogic
|
|||||||
if ($find) {
|
if ($find) {
|
||||||
$find->cash_price = bcadd($find->cash_price, $amount, 2);
|
$find->cash_price = bcadd($find->cash_price, $amount, 2);
|
||||||
$find->receivable = bcadd($find->receivable, $amount, 2);
|
$find->receivable = bcadd($find->receivable, $amount, 2);
|
||||||
|
if($source_mark){
|
||||||
|
$find->source_mark =$find->source_mark.','.$source_mark;
|
||||||
|
}
|
||||||
$find->save();
|
$find->save();
|
||||||
} else {
|
} else {
|
||||||
$model->store_id = $storeId;
|
$model->store_id = $storeId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user