فهرست منبع

charge template

zz 6 سال پیش
والد
کامیت
5a49a10bc1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Modules/Channel/Services/PayTemplateService.php

+ 2 - 2
app/Modules/Channel/Services/PayTemplateService.php

@@ -21,10 +21,10 @@ class PayTemplateService
         $res = PayTemplate::where('distribution_channel_id',$distribution_channel_id)->select('product_template_type')->first();
         $template_type = 2;
         if($res){
-            return $template_type = $res->product_template_type;
+             $template_type = $res->product_template_type;
         }
         if(in_array($template_type,[1,2])){
-            return $template_type;
+            //return $template_type;
         }
         return 2;
     }