@if (in_array($show_filter_data, [00,22,99])) @endif @if (in_array($show_filter_data, [00,11,99])) @endif @if (in_array($show_filter_data, [11,22,99])) @endif @if (count($room_productions) > 0) @php $total_perc_lodging_tdy = $total_perc_lodging_mtd = $total_perc_lodging_ytd = 0; @endphp @if (count($companies) > 0) @foreach ($companies as $key_company => $company) @php // Percent Lodging $perc_lodging_tdy = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_productions[$company_key_position[$company['name']]]['lodging_tdy'] ?? 0) / @$total_room_prod['lodging_tdy'] * 100) , 2) ) : 0; $perc_lodging_mtd = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_productions[$company_key_position[$company['name']]]['lodging_mtd'] ?? 0) / @$total_room_prod['lodging_mtd'] * 100) , 2) ) : 0; $perc_lodging_ytd = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_productions[$company_key_position[$company['name']]]['lodging_ytd'] ?? 0) / @$total_room_prod['lodging_ytd'] * 100) , 2) ) : 0; // Total Percent Lodging $total_perc_lodging_tdy += $perc_lodging_tdy ; $total_perc_lodging_mtd += $perc_lodging_mtd ; $total_perc_lodging_ytd += $perc_lodging_ytd ; @endphp @if (in_array($show_filter_data, [00,22,99])) @endif @if (in_array($show_filter_data, [00,11,99])) @endif @if (in_array($show_filter_data, [11,22,99])) @endif @endforeach @else @foreach($room_productions as $key => $room_prod) @php // Percent Lodging $perc_lodging_tdy = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_prod['lodging_tdy'] ?? 0) / @$total_room_prod['lodging_tdy'] * 100) , 2) ) : 0; $perc_lodging_mtd = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_prod['lodging_mtd'] ?? 0) / @$total_room_prod['lodging_mtd'] * 100) , 2) ) : 0; $perc_lodging_ytd = $total_room_prod['lodging_tdy'] > 0 ? ( round( ((@$room_prod['lodging_ytd'] ?? 0) / @$total_room_prod['lodging_ytd'] * 100) , 2) ) : 0; // Total Percent Lodging $total_perc_lodging_tdy += $perc_lodging_tdy ; $total_perc_lodging_mtd += $perc_lodging_mtd ; $total_perc_lodging_ytd += $perc_lodging_ytd ; @endphp @if (in_array($show_filter_data, [00,22,99])) @endif @if (in_array($show_filter_data, [00,11,99])) @endif @if (in_array($show_filter_data, [11,22,99])) @endif @endforeach @endif @if ( count($total_room_prod) > 0 ) @if (in_array($show_filter_data, [00,22,99])) @endif @if (in_array($show_filter_data, [00,11,99])) @endif @if (in_array($show_filter_data, [11,22,99])) @endif @else @endif @else @endif
NameRoom exComp Pax exComp Lodging (%) AvrgRmRate exCompMtd Rm exComp Pax exComp Lodging (%) AvrgRmRate exCompYTD Rm exComp Pax exComp Lodging (%) AvrgRmRate exCompSales Name
{{ @$room_productions[$company_key_position[$company['name']]]['name'] ?? $company['name'] }} {{ @$room_productions[$company_key_position[$company['name']]]['room_tdy'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_room_tdy'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['pax_tdy'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_pax_tdy'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['lodging_tdy'] ?? 0 }} {{ decimalWithDot($perc_lodging_tdy, 2) }} {{ @$room_productions[$company_key_position[$company['name']]]['avr_rm_rate'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_avr_rm_rate'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['room_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_room_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['pax_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_pax_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['lodging_mtd'] ?? 0 }} {{ decimalWithDot($perc_lodging_mtd, 2) }} {{ @$room_productions[$company_key_position[$company['name']]]['avr_rm_rate_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_avr_rm_rate_mtd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['room_ytd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_room_ytd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['pax_ytd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_pax_tdy'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['lodging_ytd'] ?? 0 }} {{ decimalWithDot($perc_lodging_ytd, 2) }} {{ @$room_productions[$company_key_position[$company['name']]]['avr_rm_rate_ytd'] ?? 0 }} {{ @$room_productions[$company_key_position[$company['name']]]['exComp_avr_rm_rate_ytd'] ?? 0 }}{{ @$room_productions[$company_key_position[$company['name']]]['sales'] }}
{{ @$room_prod['name'] }} {{ @$room_prod['room_tdy'] ?? 0 }} {{ @$room_prod['exComp_room_tdy'] ?? 0 }} {{ @$room_prod['pax_tdy'] ?? 0 }} {{ @$room_prod['exComp_pax_tdy'] ?? 0 }} {{ ($room_prod['lodging_tdy'] ?? 0) }} {{ decimalWithDot($perc_lodging_tdy, 2) }} {{ ($room_prod['avr_rm_rate'] ?? 0) }} {{ ($room_prod['exComp_avr_rm_rate'] ?? 0) }} {{ @$room_prod['room_mtd'] ?? 0 }} {{ @$room_prod['exComp_room_mtd'] ?? 0 }} {{ @$room_prod['pax_mtd'] ?? 0 }} {{ @$room_prod['exComp_pax_mtd'] ?? 0 }} {{ ($room_prod['lodging_mtd'] ?? 0) }} {{ decimalWithDot($perc_lodging_mtd, 2) }} {{ ($room_prod['avr_rm_rate_mtd'] ?? 0) }} {{ ($room_prod['exComp_avr_rm_rate_mtd'] ?? 0) }} {{ @$room_prod['room_ytd'] ?? 0 }} {{ @$room_prod['exComp_room_ytd'] ?? 0 }} {{ @$room_prod['pax_ytd'] ?? 0 }} {{ @$room_prod['exComp_pax_tdy'] ?? 0 }} {{ ($room_prod['lodging_ytd'] ?? 0) }} {{ decimalWithDot($perc_lodging_ytd, 2) }} {{ ($room_prod['avr_rm_rate_ytd'] ?? 0) }} {{ ($room_prod['exComp_avr_rm_rate_ytd'] ?? 0) }}{{ @$room_prod['sales'] }}
Total {{($total_room_prod['room_tdy']) }} {{($total_room_prod['exComp_room_tdy']) }} {{($total_room_prod['pax_tdy']) }} {{($total_room_prod['exComp_pax_tdy']) }} {{($total_room_prod['lodging_tdy']) }} {{ decimalWithDot(round($total_perc_lodging_tdy), 2) }} {{($total_room_prod['avr_rm_rate_tdy']) }} {{($total_room_prod['exComp_avr_rm_rate_tdy']) }} {{($total_room_prod['room_mtd']) }} {{($total_room_prod['exComp_room_mtd']) }} {{($total_room_prod['pax_mtd']) }} {{($total_room_prod['exComp_pax_mtd']) }} {{($total_room_prod['lodging_mtd']) }} {{ decimalWithDot(round($total_perc_lodging_mtd), 2) }} {{($total_room_prod['avr_rm_rate_mtd']) }} {{($total_room_prod['exComp_avr_rm_rate_mtd']) }} {{($total_room_prod['room_ytd']) }} {{($total_room_prod['exComp_room_ytd']) }} {{($total_room_prod['pax_ytd']) }} {{($total_room_prod['exComp_pax_ytd']) }} {{($total_room_prod['lodging_ytd']) }} {{ decimalWithDot(round($total_perc_lodging_ytd), 2) }} {{($total_room_prod['avr_rm_rate_ytd']) }} {{($total_room_prod['exComp_avr_rm_rate_ytd']) }}

No Data

No Data