diff --git a/common/forms/LedgerForm.php b/common/forms/LedgerForm.php index 97b1246..aa18bae 100644 --- a/common/forms/LedgerForm.php +++ b/common/forms/LedgerForm.php @@ -195,7 +195,7 @@ class LedgerForm extends BaseModel $model = new MonthlyPaymentModel(); $model->store_id = $productOrder->store_id; $model->order_id = $productOrder->id; - $model->amount = $totalBuyPrice; + $model->amount = $productOrder->market_price; $model->created_at = $time; $model->save();