fix some bugs card page

pull/22/head
A1Gard 9 months ago
parent a43b29710c
commit 42e5580b05

@ -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

Loading…
Cancel
Save