Browse Source

标准订单去掉退款俩字

Gorden 3 months ago
parent
commit
8c365e5062
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/event/statistics/InOutEvent.php

+ 3 - 0
app/event/statistics/InOutEvent.php

@@ -183,6 +183,9 @@ class InOutEvent
                 'inout_category' => !empty(self::$orderClassify[$order->order_classify]) ? self::$orderClassify[$order->order_classify] . '退款' : '退款',
 
             ];
+            if (in_array($order->order_classify,['GOODS','SERVICE','CHNMED','CHNNCD'])){
+                $data['inout_category'] = self::$orderClassify[$order->order_classify];
+            }
             // 部门id
             if (!empty($order->order_config_json)) {
                 $orderConfigJson = json_decode($order->order_config_json, true);