@if(!empty($packages=$row->packages))
{{ Str::plural(__("Package"),count($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))
{{ format_money($price) }} {{ $item['name'] ?? "" }} |
@else
@endif @endforeach | |
---|---|---|---|
@foreach($packages as $key => $item) @if(!empty($item['price'])) | {{$item['desc'] ?? ""}} | @else@endif @endforeach | |
{{ $item2['name'] }} | {{ $item2['content'] }} | {{ $item2['content1'] }} | {{ $item2['content2'] }} |
{{ __('Revisions') }} | @foreach($packages as $key => $item) @if(!empty($item['price']))@if($item['revision'] == -1) {{ __("Unlimited") }} @else {{ __(":number Revisions",['number'=>$item['revision'] ?? ""]) }} @endif | @else@endif @endforeach | |
{{ __("Delivery Time") }} | @foreach($packages as $key => $item) @if(!empty($item['price'])){{ __(":number Day Delivery",['number'=>$item['delivery_time'] ?? ""]) }} | @else@endif @endforeach |