Test Setup Failed
Push — development ( 7589fb...de5847 )
by Ashutosh
08:45
created
app/Http/Controllers/Common/BaseTemplateController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,13 +25,14 @@
 block discarded – undo
25 25
             $currencyAndSymbol = $cart_controller->currency();
26 26
             $currency = $currencyAndSymbol['currency'];
27 27
             $symbol = $currencyAndSymbol['symbol'];
28
-            if ($symbol == '') {  //If user has no currency symbol(In case of old customers)
28
+            if ($symbol == '') {
29
+//If user has no currency symbol(In case of old customers)
29 30
                 $symbol = Currency::where('code', $currency)->pluck('symbol')->first();
30 31
                 $symbol = \Auth::user()->update(['currency_symbol'=> $symbol]);
31 32
             }
32 33
             foreach ($plans as $value) {
33 34
                 $cost = $value->planPrice()->where('currency', $currency)->first();
34
-                if ($cost) {    
35
+                if ($cost) {
35 36
                     $cost = $cost->add_price;
36 37
                 } 
37 38
                 $priceDescription = $value->planPrice->first();
Please login to merge, or discard this patch.