Location price = screen price x number of screens x duration x slots
@php($total_price = 0)
@foreach ($screens as $screen)
@php($slot_price = (!empty($screen->price) && $screen->price > 0) ? $screen->price : ((!empty($screen->slotPrice) && !empty($screen->slotPrice->slots)) ? $screen->slotPrice->slots->price : priceFormat(0)))
@if(!empty($screen->discount) && $screen->discount >= 0)
@php($slot_price = $slot_price-(($screen->discount/100)*100))
@endif
@php($slot_price = $slot_price*$total_slot)
@php($slot_price_show = $slot_price*$diff_dates)
{{ !empty($screen->screenTranslation) ? $screen->screenTranslation->title : 'N/A' }}
{{ (!empty($screen->slotPrice) && !empty($screen->slotPrice->slots) && !empty($screen->slotPrice->slots->slotCurrency)) ? $screen->slotPrice->slots->slotCurrency->code : 'N/A' }} {{ priceFormat($slot_price_show) }} {{-- trans('confirmation.confirmation_page.DAY') --}}
@php($currency_code = (!empty($screen->slotPrice) && !empty($screen->slotPrice->slots) && !empty($screen->slotPrice->slots->slotCurrency)) ? $screen->slotPrice->slots->slotCurrency->code :'N/A')
@php($total_price+=$slot_price)
@endforeach