审计追溯:手动修正退款状态记录快照并在详情展示
This commit is contained in:
@@ -611,6 +611,10 @@ class PlatformOrderController extends Controller
|
||||
'at' => $now->toDateTimeString(),
|
||||
'admin_id' => $admin->id,
|
||||
'note' => '手动标记为已退款(仅修正支付状态,不自动写退款回执)',
|
||||
'snapshot' => [
|
||||
'paid_amount' => $paidAmount,
|
||||
'refund_total' => $refundTotal,
|
||||
],
|
||||
];
|
||||
data_set($meta, 'audit', $audit);
|
||||
|
||||
@@ -654,6 +658,10 @@ class PlatformOrderController extends Controller
|
||||
'at' => $now->toDateTimeString(),
|
||||
'admin_id' => $admin->id,
|
||||
'note' => '手动标记为部分退款(仅修正支付状态,不自动写退款回执)',
|
||||
'snapshot' => [
|
||||
'paid_amount' => $paidAmount,
|
||||
'refund_total' => $refundTotal,
|
||||
],
|
||||
];
|
||||
data_set($meta, 'audit', $audit);
|
||||
|
||||
@@ -692,6 +700,10 @@ class PlatformOrderController extends Controller
|
||||
'at' => $now->toDateTimeString(),
|
||||
'admin_id' => $admin->id,
|
||||
'note' => '手动标记为已支付(仅修正支付状态,不自动写回执/退款回执)',
|
||||
'snapshot' => [
|
||||
'paid_amount' => $paidAmount,
|
||||
'refund_total' => (float) $this->refundTotalForOrder($order),
|
||||
],
|
||||
];
|
||||
data_set($meta, 'audit', $audit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user