续费订单 remark 前缀配置化(saasshop.platform_orders)
This commit is contained in:
@@ -11,6 +11,9 @@ return [
|
||||
|
||||
// 同步失败原因展示截断长度(用于列表/聚合展示,避免撑坏布局)。
|
||||
'sync_failed_reason_display_truncate_len' => 60,
|
||||
|
||||
// 从订阅详情创建“续费订单”时,默认 remark 的前缀(用于运营追溯/检索)。
|
||||
'renewal_order_remark_prefix' => '来自订阅:',
|
||||
],
|
||||
|
||||
// 金额对账相关配置(统一按分取整后做比较,避免浮点误差)。
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
'site_subscription_id' => $subscription->id,
|
||||
'order_type' => 'renewal',
|
||||
'quantity' => 1,
|
||||
'remark' => '来自订阅:' . $subscription->subscription_no,
|
||||
'remark' => (string) config('saasshop.platform_orders.renewal_order_remark_prefix', '来自订阅:') . $subscription->subscription_no,
|
||||
// 保留 back:创建订单 -> 订单详情后可一键返回本订阅详情
|
||||
'back' => $selfWithoutBack,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user