@if(!empty($packages=$row->packages))
    @foreach($packages as $key => $item) @php $price = $row->basic_price; if( $key == 1){ $price = $row->standard_price; } if( $key == 2){ $price = $row->premium_price; } $packages[$key]['price'] = $price; @endphp @if(!empty($price))
  • {{package_key_to_name($item['key'])}}
  • @endif @endforeach
@foreach($packages as $key => $item) @if(!empty($item['price']))
{{!empty($item['name']) ? $item['name'] : package_key_to_name($item['key'])}}
{{format_money($item['price'])}}
{{$item['desc'] ?? ""}}
{{ __(":number Day Delivery",['number'=>$item['delivery_time'] ?? ""]) }}
@if($item['revision'] == -1) {{ __("Unlimited") }} @else {{ __(":number Revisions",['number'=>$item['revision'] ?? ""]) }} @endif
@endif @endforeach
@if(!empty($extra_price = $row->extra_price) and !empty($extra_price[0]['price']))
{{ __("Extra services") }}
    @foreach( $extra_price as $key3=>$item3 )
  • @endforeach
@endif
@endif