@foreach($detail['songs'] as $product)
@if($product['type'] == 'song')
{{$product['song_title']}}
@else
Bundle : {{$product['song_title']}}
@endif
Platform : {{$product['platform']}}
Category License : {{$product['category_licence']}}
@if($product['type'] == 'bundle')
Songs :
@foreach($product['songs'] as $s)
- {{$s['song_title']}}
@endforeach
@endif
{{$product['price']}}
@endforeach
@foreach($detail['detail_payment'] as $pd)
{{$pd['text']}}
{{$pd['value']}}
@endforeach
GRAND TOTAL
{{$detail['grandtotal']}}
PAYMENT USE
@if(!empty($detail['payment'])) {{$detail['payment']}} @else - @endif