moonsflyer 5 luni în urmă
părinte
comite
e06d7cde3e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/shopapi/lists/OrderLists.php

+ 1 - 1
app/shopapi/lists/OrderLists.php

@@ -81,7 +81,7 @@ class OrderLists extends BaseShopDataLists
             if ($list['order_type'] == OrderEnum::PRESELL_ORDER) {
                 $list['presell'] = CommonPresellLogic::orderInfo($list);
             }
-
+            $list['btn']['after_sale_btn'] = ($list['is_after_sale'] == 1) ? 1 : 0;
             if($this->params['type'] == 'return'){
                 $afterOrder = AfterSale::where(['order_id'=>$list['id']])->find();
                 $list['after_order'] = $afterOrder;