@foreach($myPrescription as $product) @if($product->repeats_used < $product->repeats_allowed || $product->repeats_used != $product->repeats_allowed)
...
{{$product->product_name}}
Product information

{{$product->suggested_use}}

${{$product->product_price}}
@else @endif
Repeats: @if(is_numeric($product->repeats_allowed)) {{$product->repeats_allowed - $product->repeats_used}}{{$product->repeats_allowed}}
Qty:
{{-- @if($product->repeats_allowed==0) @else--}} @if($product->allow_client_reorder=="on") @endif {{-- @endif--}}
@endif @endforeach