diff --git a/resources/views/website/card.blade.php b/resources/views/website/card.blade.php index b9ca9c6..f747f43 100755 --- a/resources/views/website/card.blade.php +++ b/resources/views/website/card.blade.php @@ -70,7 +70,7 @@ @if($pro->quantities()->sum('count') > 0) @foreach($pro->quantities as $index => $q) @if($q->count > 0) - @include('component.card-quantity',compact('q','pro','$index')) + @include('component.card-quantity',compact('q','pro','index')) @endif @endforeach @else