feat(CashFlowLogic): 添加现金流来源标记功能
- 在现金流记录存在时,将新的来源标记添加到原有标记之后 - 仅在来源标记存在时执行添加操作
This commit is contained in:
parent
9ed74f26cf
commit
0caae69371
@ -15,6 +15,9 @@ class CashFlowLogic extends BaseLogic
|
||||
if ($find) {
|
||||
$find->cash_price = bcadd($find->cash_price, $amount, 2);
|
||||
$find->receivable = bcadd($find->receivable, $amount, 2);
|
||||
if($source_mark){
|
||||
$find->source_mark =$find->source_mark.','.$source_mark;
|
||||
}
|
||||
$find->save();
|
||||
} else {
|
||||
$model->store_id = $storeId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user