Explorar o código

Update index.blade.php

WBLKLeipe %!s(int64=3) %!d(string=hai) anos
pai
achega
fd32a4aa97
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/store/index.blade.php

+ 1 - 1
resources/views/store/index.blade.php

@@ -50,7 +50,7 @@
                             <?php /** @var $product PaypalProduct */?>
                             @foreach($products as $product)
                                 <tr>
-                                    <td>{{$product->formatCurrency()}}</td>
+                                    <td>{{$product->formatToCurrency($product->price)}}</td>
                                     <td>{{strtolower($product->type) == 'credits' ? CREDITS_DISPLAY_NAME : $product->type}}</td>
                                     <td><i class="fa fa-coins mr-2"></i>{{$product->display}}</td>
                                     <td><a href="{{route('checkout' , $product->id)}}" class="btn btn-info">Purchase</a>