分账的诊疗费
This commit is contained in:
@@ -925,7 +925,8 @@ class LedgerForm extends BaseModel
|
||||
|
||||
//增加诊疗费
|
||||
if($productOrder->treatement_price > 0){
|
||||
$platformTreatementTotal = Ledger::find()->where(['order_id' => $this->order_id, 'user_type' => 1, 'order_type' => 1, 'fee_type' => 6])->sum('money'); // 该订单诊疗费用
|
||||
// $platformTreatementTotal = Ledger::find()->where(['order_id' => $this->order_id, 'user_type' => 1, 'order_type' => 1, 'fee_type' => 6])->sum('money'); // 该订单诊疗费用
|
||||
$platformTreatementTotal = Ledger::find()->where(['order_id' => $this->order_id, 'order_type' => 1, 'fee_type' => 6])->sum('money'); // 该订单诊疗费用
|
||||
$logTreatement = clone $model;
|
||||
$logTreatement->order_id = $this->order_id;
|
||||
$logTreatement->user_id = $store->id;
|
||||
|
||||
Reference in New Issue
Block a user