wesmiler hace 1 mes
padre
commit
38f5d4d95d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/OrderService.php

+ 1 - 1
app/Services/Api/OrderService.php

@@ -324,7 +324,7 @@ class OrderService extends BaseService
             'receiver_address' => $address,
             'bonus' => $bonus,
             'bonus_rate' => $bonusRate,
-            'is_revenue' => 2,
+            'is_revenue' => $revenueOpen==1?1: 2,
             'revenue_no' => $revenueOpen==1?(str_replace('JK','RE',$orderNo)):'',
             'revenue_amount' => $revenueOpen==1?$revenueAmount:0,
             'meeting_bonus_rate' => $meetingBonusRate,