{{-- --}} | DAILY REVENUE REPORT | ||
DAILY REVENUE REPORT {{namaHotel()}} |
|||
Report Date Printed |
: {{ date('d-m-y', strtotime($date_now)) }} : {{ date('d-m-y') }} |
MARKET SEGMENT | TODAY | MONTH TO DATE | YEAR TO DATE | |||
---|---|---|---|---|---|---|
ROOMS | REVENUE | ROOMS | REVENUE | ROOMS | REVENUE | |
{{ config('custom.segment_ratecodes.'.$segment->segment_id) }} | {{ @$segment->room ? ribuanWithComma($segment->room) : '-' }} | {{ @$segment->revenue ? ribuanWithComma($segment->revenue) : '-' }} | {{ @$segment->room_mtd ? ribuanWithComma($segment->room_mtd) : '-' }} | {{ @$segment->revenue_mtd ? ribuanWithComma($segment->revenue_mtd) : '-'}} | {{ @$segment->room_ytd ? ribuanWithComma($segment->room_ytd) : '-' }} | {{ @$segment->revenue_ytd ? ribuanWithComma($segment->revenue_ytd) : '-'}} |
TOTAL ROOM SALES | {{ ribuanWithComma($jml_room_day) }} | {{ ribuanWithComma($jml_rvnu_day) }} | {{ ribuanWithComma($jml_room_mon) }} | {{ ribuanWithComma($jml_rvnu_mon) }} | {{ ribuanWithComma($jml_room_yer) }} | {{ ribuanWithComma($jml_rvnu_yer) }} |
ADDITIONAL SEGMENT | TODAY | MONTH TO DATE | YEAR TO DATE | |||
---|---|---|---|---|---|---|
ROOMS | REVENUE | ROOMS | REVENUE | ROOMS | REVENUE | |
{{ config('custom.segment_ratecodes.'.$segment->segment_id) }} | {{ @$segment->room ? ribuanWithComma($segment->room) : '-' }} | {{ @$segment->revenue ? ribuanWithComma($segment->revenue) : '-' }} | {{ @$segment->room_mtd ? ribuanWithComma($segment->room_mtd) : '-' }} | {{ @$segment->revenue_mtd ? ribuanWithComma($segment->revenue_mtd) : '-'}} | {{ @$segment->room_ytd ? ribuanWithComma($segment->room_ytd) : '-' }} | {{ @$segment->revenue_ytd ? ribuanWithComma($segment->revenue_ytd) : '-'}} |
TOTAL ROOM SALES | {{ ribuanWithComma($jml_room_day_com) }} | {{ ribuanWithComma($jml_rvnu_day_com) }} | {{ ribuanWithComma($jml_room_mon_com) }} | {{ ribuanWithComma($jml_rvnu_mon_com) }} | {{ ribuanWithComma($jml_room_yer_com) }} | {{ ribuanWithComma($jml_rvnu_yer_com) }} |
OTA LIST | TODAY | MONTH TO DATE | YEAR TO DATE |
---|---|---|---|
{{ @$ota->company->name }} | {{ @$ota->price ? ribuanWithComma($ota->price) : '-' }} | {{ @$ota->price_ota_mtd ? ribuanWithComma($ota->price_ota_mtd) : '-' }} | {{ @$ota->price_ota_ytd ? ribuanWithComma($ota->price_ota_ytd) : '-' }} |
TOTAL REVENUE | {{ ribuanWithComma($rev_ota_tdy) }} | {{ ribuanWithComma($rev_ota_mtd) }} | {{ ribuanWithComma($rev_ota_ytd) }} |
ROOM STATISTIC | TODAY | MONTH TO DATE | YTD | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TODAY | BUDGET | VARIANCE | MTD | BUDGET | VARIANCE | |||||||||||||||||||||||||||||||||||||
Room Inventory | {{ number_format($room_inventory) }} | {{ number_format($b_tdy) }} | {{ number_format($v_tdy) }} | {{ number_format($room_inventory) }} | {{ number_format($b_tdy) }} | {{ number_format($v_mtd) }} | {{ number_format($room_inventory) }} | |||||||||||||||||||||||||||||||||||
{{ config('custom.room_statistic.'.$room_stat->statistic_id) }} | @php if($room_stat->statistic_id==1) { //room available $room_mtd = $room_stat->mtd; $room_bud = $room_stat->budget_mtd; $room_var = ($room_stat->mtd - $room_stat->budget_mtd); $room_ytd = $room_stat->ytd; $budget_room_available = $room_stat->budget; //ambil budget room available $var_room_available = $room_stat->today - $room_stat->budget; //Variance room available } elseif($room_stat->statistic_id==3) { //compliment $comp_mtd = $room_stat->mtd; $comp_bud = $room_stat->budget_mtd; $comp_var = ($room_stat->mtd - $room_stat->budget_mtd); $comp_ytd = $room_stat->ytd; $comp_tdy = $room_stat->today; } elseif($room_stat->statistic_id==7) { //room occupied $occu_mtd = $room_stat->mtd; $occu_bud = $room_stat->budget_mtd; $occu_var = ($room_stat->mtd - $room_stat->budget_mtd); $occu_ytd = $room_stat->ytd; $budget_room_occupied = $room_stat->budget; //Ambil Budget Room Occupied }elseif ($room_stat->statistic_id==8) { // Room Occupied (Paying Only) $budget_room_occupied_pay_only = $room_stat->budget; } elseif ($room_stat->statistic_id==19) { // House Use $house_mtd = $room_stat->mtd; $house_bud = $room_stat->budget_mtd; $house_var = ($room_stat->mtd - $room_stat->budget_mtd); $house_ytd = $room_stat->ytd; $house_tdy = $room_stat->today; }elseif ($room_stat->statistic_id==18) { // Average Room Rates $average_room_rates_tdy = ($room_occupied_variable_hidden_tdy > 0) ? ($lodgin_tdy_pre_view-@$jml_rvnu_day_com)/$room_occupied_variable_hidden_tdy : 0; $average_room_rates_mtd = ($room_occupied_variable_hidden_mtd > 0) ? ($lodgin_mtd_pre_view-@$jml_rvnu_mon_com)/$room_occupied_variable_hidden_mtd : 0; $average_room_rates_ytd = ($room_occupied_variable_hidden_ytd > 0) ? ($lodgin_ytd_pre_view-@$jml_rvnu_yer_com)/$room_occupied_variable_hidden_ytd : 0; }elseif ($room_stat->statistic_id==15) { $revpar_tdy = ($room_ava_variable_hidden_tdy > 0) ? ($lodgin_tdy_pre_view-@$jml_rvnu_day_com)/$room_ava_variable_hidden_tdy : 0; $revpar_mtd = ($room_ava_variable_hidden_mtd > 0) ? ($lodgin_mtd_pre_view-@$jml_rvnu_mon_com)/$room_ava_variable_hidden_mtd : 0; $revpar_ytd = ($room_ava_variable_hidden_ytd > 0) ? $lodgin_ytd_pre_view/$room_ava_variable_hidden_ytd : 0; }elseif ($room_stat->statistic_id==16) { $revpar_tdy = ($room_g_in_variable_hidden_tdy > 0) ? ($lodgin_tdy_pre_view-@$jml_rvnu_day_com)/$room_g_in_variable_hidden_tdy : 0; $revpar_mtd = ($room_g_in_variable_hidden_mtd > 0) ? ($lodgin_mtd_pre_view-@$jml_rvnu_mon_com)/$room_g_in_variable_hidden_mtd : 0; $revpar_ytd = ($room_g_in_variable_hidden_ytd > 0) ? ($lodgin_ytd_pre_view-@$jml_rvnu_yer_com)/$room_g_in_variable_hidden_ytd : 0; } @endphp @if($room_stat->statistic_id==9) @php $mtd = $room_mtd>0 ? (($occu_mtd/$room_mtd)*100) : 0; $bud = $room_bud>0 ? (($occu_bud/$room_bud)*100) : 0; $var = $room_var>0 ? (($occu_var/$room_var)*100) : 0; $ytd = $room_ytd>0 ? (($occu_ytd/$room_ytd)*100) : 0; // Calculate budget today room occupied % $budget_today_perc = ($budget_room_available>0 ? (($budget_room_occupied>0) ? (($budget_room_occupied/$budget_room_available)*100): 0) : 0); // Calculate variance today room occupied % $var_today = $room_stat->today - $room_stat->budget; // $var_today_perc = ($room_var>0) ? ((($var_today)/$room_var)*100) : 0; $var_today_perc = $var_today; @endphp{{ number_format($room_stat->today, 2, ".", ",") }}% | {{ number_format($budget_today_perc, 2, ".", ",") }}% | {{ number_format($var_today_perc, 2, ".", ",") }}% | {{ number_format($mtd, 2, ".", ",") }}% | {{ number_format($bud, 2, ".", ",") }}% | {{ number_format($var, 2, ".", ",") }}% | {{ number_format($ytd, 2, ".", ",") }}% | @elseif($room_stat->statistic_id==10) @php $mtd = $room_mtd>0 ? ((($occu_mtd-$comp_mtd-$house_mtd)/$room_mtd)*100) : 0; $bud = $room_bud>0 ? ((($occu_bud-$comp_bud-$house_bud)/$room_bud)*100) : 0; $var = $room_var>0 ? ((($occu_var-$comp_var-$house_var)/$room_var)*100) : 0; $ytd = $room_ytd>0 ? ((($occu_ytd-$comp_ytd-$house_ytd)/$room_ytd)*100) : 0; // Calculate budget today room occupied paying_only % $budget_today_perc = ($budget_room_available>0 ? (($budget_room_occupied_pay_only>0) ? (($budget_room_occupied_pay_only/$budget_room_available)*100) : 0) : 0); // Calculate variance today room occupied paying_only % $var_today = $room_stat->today - $room_stat->budget; // $var_today_perc = ($var_room_available>0) ? ((($var_today-$comp_tdy-$house_tdy)/$var_room_available)*100) : 0; $var_today_perc = $var_today; $var_mtd_perc = $mtd - $bud; @endphp{{ number_format($room_stat->today, 2, ".", ",") }}% | {{ number_format($budget_today_perc, 2, ".", ",") }}% | {{ number_format($var_today_perc, 2, ".", ",") }}% | {{ number_format($mtd, 2, ".", ",") }}% | {{ number_format($bud, 2, ".", ",") }}% | {{ number_format($var_mtd_perc, 2, ".", ",") }}% | {{ number_format($ytd, 2, ".", ",") }}% | @elseif ($room_stat->statistic_id==17) @php $lentgh_st_mtd = $room_stat->mtd / $room_stat->count_data_mtd; $lentgh_st_ytd = $room_stat->ytd / $room_stat->count_data_ytd; @endphp{{ number_format($room_stat->today, 2, ".", "") }} | {{ number_format($room_stat->budget, 2, ".", "") }} | {{ $room_stat->today - $room_stat->budget < 0 ? '('.number_format(($room_stat->today - $room_stat->budget) * -1, 2, ".", "").')' : number_format($room_stat->today - $room_stat->budget, 2, ".", "") }} | {{ number_format($lentgh_st_mtd, 2, ".", "") }} | {{ number_format($room_stat->budget_mtd, 2, ".", "") }} | {{ $lentgh_st_mtd - $room_stat->budget_mtd < 0 ? '('.number_format(($lentgh_st_mtd - $room_stat->budget_mtd) * -1, 2, ".", "").')' : number_format($lentgh_st_mtd - $room_stat->budget_mtd, 2, ".", "") }} | {{ number_format($lentgh_st_ytd, 2, ".", " ") }} | @elseif ($room_stat->statistic_id == 18){{ ribuanWithComma($average_room_rates_tdy, 2, ".", "") }} | {{ ($average_room_rates_tdy - $room_stat->budget < 0 ? '('.number_format(($average_room_rates_tdy - $room_stat->budget) * -1, 2, ".", "").')' : number_format($average_room_rates_tdy - $room_stat->budget, 2, ".", "")) }} | {{ ribuanWithComma($average_room_rates_tdy, 2, ".", "") }} | {{ ribuanWithComma($average_room_rates_mtd, 2, ".", "") }} | {{ ($average_room_rates_mtd - $room_stat->budget < 0 ? '('.number_format(($average_room_rates_mtd - $room_stat->budget_mtd) * -1, 2, ".", "").')' : number_format($average_room_rates_mtd - $room_stat->budget_mtd, 2, ".", "")) }} | {{ ribuanWithComma($average_room_rates_mtd, 2, ".", "") }} | {{ ribuanWithComma($average_room_rates_ytd, 2, ".", " ") }} | @elseif ($room_stat->statistic_id == 15 || $room_stat->statistic_id == 16){{ ribuanWithComma($revpar_tdy, 2, ".", "") }} | {{ ribuanWithComma($room_stat->budget, 2, ".", "") }} | {{ (($revpar_tdy - $room_stat->budget < 0 ? '('.ribuanDuaAngkaBelakangKomaIndo(($revpar_tdy - $room_stat->budget) * -1).')' : ribuanDuaAngkaBelakangKomaIndo($revpar_tdy - $room_stat->budget))) }} | {{ ribuanWithComma($revpar_mtd, 2, ".", "") }} | {{ ribuanWithComma($room_stat->budget_mtd, 2, ".", "") }} | {{ (($revpar_mtd - $room_stat->budget_mtd < 0 ? '('.ribuanDuaAngkaBelakangKomaIndo(($revpar_mtd - $room_stat->budget_mtd) * -1).')' : ribuanDuaAngkaBelakangKomaIndo($revpar_mtd - $room_stat->budget_mtd))) }} | {{ ribuanWithComma($revpar_ytd, 2, ".", " ") }} | @else{{ ribuanWithComma($room_stat->today) }} | {{ ribuanWithComma($room_stat->budget) }} | {{ ($room_stat->today - $room_stat->budget) < 0 ? '('.ribuanWithComma(($room_stat->today - $room_stat->budget) *-1).')' : ribuanWithComma($room_stat->today - $room_stat->budget) }} | {{ ribuanWithComma($room_stat->mtd) }} | {{ ribuanWithComma($room_stat->budget_mtd) }} | {{ $room_stat->mtd - $room_stat->budget_mtd < 0 ? '('.ribuanWithComma(($room_stat->mtd - $room_stat->budget_mtd) *-1).')' : ribuanWithComma($room_stat->mtd - $room_stat->budget_mtd) }} | {{ ribuanWithComma($room_stat->ytd) }} | @endif
DESCRIPTION | TODAY | MONTH TO DATE | YTD | ||||
---|---|---|---|---|---|---|---|
TODAY | BUDGET | VARIANCE | MTD | BUDGET | VARIANCE | ||
Room Revenue | |||||||
Lodging | {{ ribuanWithComma(@$lodging_day) }} | {{ ribuanWithComma(@$lodging_bdy) }} | {{ @$lodging_vdy < 0 ? '('.ribuanWithComma(@$lodging_vdy *-1).')' : ribuanWithComma(@$lodging_vdy) }} | {{ ribuanWithComma(@$lodging_mtd) }} | {{ ribuanWithComma(@$lodging_bud) }} | {{ @$lodging_var < 0 ? '('.ribuanWithComma(@$lodging_var *-1).')' : ribuanWithComma(@$lodging_var) }} | {{ ribuanWithComma(@$lodging_ytd) }} |
@if($shop_room->nama ?? $shop_room['item']) {{$shop_room->nama ?? $shop_room['item']}} @else Custom Menu @endif {{-- @if($shop_room->menu_id>0) {{ $shop_room->menu_id ? $shop_room->item->nama : ' - ' }} {{ @$shop_stat->shop ? "(".@$shop_stat->shop->nama.")" : '' }} @elseif($shop_room->menu_id===0) Custom Menu {{ @$shop_stat->shop ? "(".@$shop_stat->shop->nama.")" : '' }} @elseif(!$shop_room->menu_id) Discount {{ @$shop_stat->shop ? "(".@$shop_stat->shop->nama.")" : '' }} @endif --}} | {{ ribuanWithComma($shop_room['today']) }} | {{ ribuanWithComma($shop_room['budget']) }} | {{ $shop_room['today'] - $shop_room['budget'] < 0 ? '('.ribuanWithComma(($shop_room['today'] - $shop_room['budget']) *-1).')' : ribuanWithComma($shop_room['today'] - $shop_room['budget']) }} | {{ ribuanWithComma($shop_room['mtd']) }} | {{ ribuanWithComma($shop_room['budget_mtd']) }} | {{ $shop_room['mtd'] - $shop_room['budget_mtd'] < 0 ? '('.ribuanWithComma(($shop_room['mtd'] - $shop_room['budget_mtd']) *-1).')' : ribuanWithComma($shop_room['mtd'] - $shop_room['budget_mtd']) }} | {{ ribuanWithComma($shop_room['ytd']) }} |
Discount & Allowance | {{ $rm_rv_disc_tdy < 0 ? '('.ribuanWithComma($rm_rv_disc_tdy *-1).')' : ribuanWithComma($rm_rv_disc_tdy) }} | {{ '-' }} | {{ $rm_rv_disc_tdy < 0 ? '('.ribuanWithComma($rm_rv_disc_tdy *-1).')' : ribuanWithComma($rm_rv_disc_tdy) }} | {{ $rm_rv_disc_mtd < 0 ? '('.ribuanWithComma($rm_rv_disc_mtd *-1).')' : ribuanWithComma($rm_rv_disc_mtd) }} | {{ '-' }} | {{ $rm_rv_disc_mtd < 0 ? '('.ribuanWithComma($rm_rv_disc_mtd *-1).')' : ribuanWithComma($rm_rv_disc_mtd) }} | {{ $rm_rv_disc_ytd < 0 ? '('.ribuanWithComma($rm_rv_disc_ytd *-1).')' : ribuanWithComma($rm_rv_disc_ytd) }} |
TOTAL ROOM REVENUE | {{ ribuanWithComma(@$lodging_day) }} | {{ ribuanWithComma(@$lodging_bdy) }} | {{ $lodging_vdy < 0 ? '('.ribuanWithComma(@$lodging_vdy *-1).')' : ribuanWithComma(@$lodging_vdy) }} | {{ ribuanWithComma(@$lodging_mtd) }} | {{ ribuanWithComma(@$lodging_bud) }} | {{ $lodging_var < 0 ? '('.ribuanWithComma(@$lodging_var *-1).')' : ribuanWithComma(@$lodging_var) }} | {{ ribuanWithComma(@$lodging_ytd) }} |
F&B | |||||||
Food F&B | |||||||
B'fast Restaurant (Room) | {{ ribuanWithComma($b_fast_today) }} | {{ ribuanWithComma($b_fast_tbdgt) }} | {{ $b_fast_today - $b_fast_tbdgt < 0 ? '('.ribuanWithComma(($b_fast_today - $b_fast_tbdgt) *-1).')' : ribuanWithComma($b_fast_today - $b_fast_tbdgt) }} | {{ ribuanWithComma($b_fast_mtd) }} | {{ ribuanWithComma($b_fast_bdgtmtd) }} | {{ $b_fast_mtd - $b_fast_bdgtmtd < 0 ? '('.ribuanWithComma(($b_fast_mtd - $b_fast_bdgtmtd) *-1).')' : ribuanWithComma($b_fast_mtd - $b_fast_bdgtmtd) }} | {{ ribuanWithComma($b_fast_ytd) }} | @php $total_today += $b_fast_today; $total_budget_day += $b_fast_tbdgt; $total_variance_day += ($b_fast_today - $b_fast_tbdgt); $total_mtd += $b_fast_mtd; $total_budget_mtd += $b_fast_bdgtmtd; $total_variance_mtd += ($b_fast_mtd - $b_fast_bdgtmtd); $total_ytd += $b_fast_ytd; $total_food += $b_fast_today; $total_food_budget += $b_fast_tbdgt; $total_food_variance_today += ($b_fast_today - $b_fast_tbdgt); $total_food_mtd += $b_fast_mtd; $total_food_budget_mtd += $b_fast_bdgtmtd; $total_food_variance_mtd += ($b_fast_mtd - $b_fast_bdgtmtd); $total_food_ytd += $b_fast_ytd; @endphp --}} {{--
{{$title}} | |||||||
{{-- @if($shop_stat->tipe) {{ config('custom.jenis_tipe_item')[@$shop_stat->tipe->type_category_id] }} {{ @$shop_stat->shop ? @$shop_stat->shop->nama : '' }} @elseif($shop_stat->tipe_menu_id===0) Custom Menu {{ @$shop_stat->shop ? @$shop_stat->shop->nama : '' }} @elseif(!$shop_stat->tipe_menu_id) Discount {{ @$shop_stat->shop ? @$shop_stat->shop->nama : '' }} @else - {{@$shop_stat->shop->nama}} @endif --}} @if($shop_stat->tipe) {{-- {{ config('custom.jenis_tipe_item')[@$shop_stat->tipe->type_category_id] }} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} --}} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @elseif($shop_stat->tipe_menu_id===0) Custom Menu {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @elseif(!$shop_stat->tipe_menu_id) Discount {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @else - {{@$shop_stat->tipe->nama_tipe}} @endif | {{ ribuanWithComma($this_today) }} | {{ ribuanWithComma($shop_stat->budget) }} | {{ $this_today - $shop_stat->budget < 0 ? '('.ribuanWithComma(($this_today - $shop_stat->budget) *-1).')' : ribuanWithComma($this_today - $shop_stat->budget) }} | {{ ribuanWithComma($this_mtd) }} | {{ ribuanWithComma($shop_stat->budget_mtd) }} | {{ $this_mtd - $shop_stat->budget_mtd < 0 ? '('.ribuanWithComma(($this_mtd - $shop_stat->budget_mtd) *-1).')' : ribuanWithComma($this_mtd - $shop_stat->budget_mtd) }} | {{ ribuanWithComma($this_ytd) }} |
Discount & Allowance | {{ '('.ribuanWithComma($food_discount_allowance*(1)).')' }} | {{ '-' }} | {{ '('.ribuanWithComma($food_discount_allowance*(1)).')' }} | {{ '('.ribuanWithComma($food_discount_allowance_mtd*(1)).')' }} | {{ '-' }} | {{ '('.ribuanWithComma($food_discount_allowance_mtd*(1)).')' }} | {{ '('.ribuanWithComma($food_discount_allowance_ytd*(1)).')' }} |
Total {{$title}} | {{ ribuanWithComma(@$shop_tdy-$food_discount_allowance) }} | {{ ribuanWithComma(@$shop_bud_tdy) }} | {{ $shop_var_tdy < 0 ? '('.ribuanWithComma(@$shop_var_tdy *-1).')' : ribuanWithComma(@$shop_var_tdy-$food_discount_allowance) }} | {{ ribuanWithComma(@$shop_mtd-$food_discount_allowance_mtd) }} | {{ ribuanWithComma(@$shop_bud_mtd) }} | {{ $shop_var_mtd < 0 ? '('.ribuanWithComma(@$shop_var_mtd *-1).')' : ribuanWithComma(@$shop_var_mtd-$food_discount_allowance_mtd) }} | {{ ribuanWithComma(@$shop_ytd-$food_discount_allowance_ytd) }} |
TOTAL FOOD F&B | {{ ribuanWithComma($total_food) }} | {{ ribuanWithComma($total_food_budget) }} | {{ $total_food_variance_today < 0 ? '('.ribuanWithComma($total_food_variance_today *-1).')' : ribuanWithComma($total_food_variance_today) }} | {{ ribuanWithComma($total_food_mtd) }} | {{ ribuanWithComma($total_food_budget_mtd) }} | {{ $total_food_variance_mtd < 0 ? '('.ribuanWithComma($total_food_variance_mtd *-1).')' : ribuanWithComma($total_food_variance_mtd) }} | {{ ribuanWithComma($total_food_ytd) }} |
Beverages F&B | |||||||
{{$title}} | |||||||
@if($shop_stat->tipe) @if ($shop_stat->tipe->type_category_id != null) {{-- {{ config('custom.jenis_tipe_item')[@$shop_stat->tipe->type_category_id] }} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} --}} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @endif @elseif($shop_stat->tipe_menu_id===0) Custom Menu {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @elseif(!$shop_stat->tipe_menu_id) Discount {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @else - {{@$shop_stat->tipe->nama_tipe}} @endif | {{ ribuanWithComma($this_today) }} | {{ ribuanWithComma($shop_stat->budget) }} | {{ $this_today - $shop_stat->budget < 0 ? '('.ribuanWithComma(($this_today - $shop_stat->budget) *-1).')' : ribuanWithComma($this_today - $shop_stat->budget) }} | {{ ribuanWithComma($this_mtd) }} | {{ ribuanWithComma($shop_stat->budget_mtd) }} | {{ $this_mtd - $shop_stat->budget_mtd < 0 ? '('.ribuanWithComma(($this_mtd - $shop_stat->budget_mtd) *-1).')' : ribuanWithComma($this_mtd - $shop_stat->budget_mtd) }} | {{ ribuanWithComma($this_ytd) }} |
Discount & Allowance | {{ '('.(ribuanWithComma($beverages_discount_allowance*(1))).')' }} | {{ '-' }} | {{ '('.(ribuanWithComma($beverages_discount_allowance*(1))).')' }} | {{ '('.(ribuanWithComma($beverages_discount_allowance_mtd*(1))).')' }} | {{ '-' }} | {{ '('.(ribuanWithComma($beverages_discount_allowance_mtd*(1))).')' }} | {{ '('.ribuanWithComma($beverages_discount_allowance_ytd*(1)).')' }} |
Total {{$title}} | {{ ribuanWithComma(@$shop_tdy-$beverages_discount_allowance) }} | {{ ribuanWithComma(@$shop_bud_tdy) }} | {{ $shop_var_tdy < 0 ? '('.ribuanWithComma(@$shop_var_tdy *-1).')' : ribuanWithComma(@$shop_var_tdy-$beverages_discount_allowance) }} | {{ ribuanWithComma(@$shop_mtd) }} | {{ ribuanWithComma(@$shop_bud_mtd-$beverages_discount_allowance_mtd) }} | {{ $shop_var_mtd < 0 ? '('.ribuanWithComma(@$shop_var_mtd *-1).')' : ribuanWithComma(@$shop_var_mtd-$beverages_discount_allowance_mtd) }} | {{ ribuanWithComma(@$shop_ytd-$beverages_discount_allowance_ytd) }} |
TOTAL BEVERAGES F&B | {{ ribuanWithComma($total_beverages) }} | {{ ribuanWithComma($total_beverages_budget) }} | {{ $total_beverages_variance_today < 0 ? '('.ribuanWithComma($total_beverages_variance_today *-1).')' : ribuanWithComma($total_beverages_variance_today) }} | {{ ribuanWithComma($total_beverages_mtd) }} | {{ ribuanWithComma($total_beverages_budget_mtd) }} | {{ $total_beverages_variance_mtd < 0 ? '('.ribuanWithComma($total_beverages_variance_mtd *-1).')' : ribuanWithComma($total_beverages_variance_mtd) }} | {{ ribuanWithComma($total_beverages_ytd) }} |
Other F&B | |||||||
{{$title}} | |||||||
@if($shop_stat->tipe) @if ($shop_stat->tipe->type_category_id != null) {{-- {{ config('custom.jenis_tipe_item')[@$shop_stat->tipe->type_category_id] }} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} --}} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @endif @elseif($shop_stat->tipe_menu_id===0) Custom Menu {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @elseif(!$shop_stat->tipe_menu_id) Discount {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @else - {{@$shop_stat->tipe->nama_tipe}} @endif | {{ ribuanWithComma($this_today) }} | {{ ribuanWithComma($shop_stat->budget) }} | {{ $this_today - $shop_stat->budget < 0 ? '('.ribuanWithComma(($this_today - $shop_stat->budget) *-1).')' : ribuanWithComma($this_today - $shop_stat->budget) }} | {{ ribuanWithComma($this_mtd) }} | {{ ribuanWithComma($shop_stat->budget_mtd) }} | {{ $this_mtd - $shop_stat->budget_mtd < 0 ? '('.ribuanWithComma(($this_mtd - $shop_stat->budget_mtd) *-1).')' : ribuanWithComma($this_mtd - $shop_stat->budget_mtd) }} | {{ ribuanWithComma($this_ytd) }} |
Discount & Allowance | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} | {{ ribuanWithComma(0) }} |
{{$title}} | |||||||
@if($shop_stat->tipe) @if ($shop_stat->tipe->type_category_id != null) {{-- {{ config('custom.jenis_tipe_item')[@$shop_stat->tipe->type_category_id] }} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} --}} {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @endif @elseif($shop_stat->tipe_menu_id===0) Custom Menu {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @elseif(!$shop_stat->tipe_menu_id) Discount {{ @$shop_stat->tipe ? @$shop_stat->tipe->nama_tipe : '' }} @else - {{@$shop_stat->tipe->nama_tipe}} @endif | {{ ribuanWithComma($this_today) }} | {{ ribuanWithComma($shop_stat->budget) }} | {{ $this_today - $shop_stat->budget < 0 ? '('.ribuanWithComma(($this_today - $shop_stat->budget) *-1).')' : ribuanWithComma($this_today - $shop_stat->budget) }} | {{ ribuanWithComma($this_mtd) }} | {{ ribuanWithComma($shop_stat->budget_mtd) }} | {{ $this_mtd - $shop_stat->budget_mtd < 0 ? '('.ribuanWithComma(($this_mtd - $shop_stat->budget_mtd) *-1).')' : ribuanWithComma($this_mtd - $shop_stat->budget_mtd) }} | {{ ribuanWithComma($this_ytd) }} |
Discount & Allowance | {{ '('.ribuanWithComma($other_discount_allowance*(1)).')' }} | {{ '-' }} | {{ '('.ribuanWithComma($other_discount_allowance*(1)).')' }} | {{ ribuanWithComma($other_discount_allowance_mtd*(1)).')' }} | {{ '-' }} | {{ '('.ribuanWithComma($other_discount_allowance_mtd*(1)).')' }} | {{ '('.ribuanWithComma($other_discount_allowance_ytd*(1)).')' }} |
Total {{$title}} | {{ ribuanWithComma(@$shop_tdy) }} | {{ ribuanWithComma(@$shop_bud_tdy) }} | {{ $shop_var_tdy < 0 ? '('.ribuanWithComma(@$shop_var_tdy *-1).')' : ribuanWithComma(@$shop_var_tdy) }} | {{ ribuanWithComma(@$shop_mtd) }} | {{ ribuanWithComma(@$shop_bud_mtd) }} | {{ $shop_var_mtd < 0 ? '('.ribuanWithComma(@$shop_var_mtd *-1).')' : ribuanWithComma(@$shop_var_mtd) }} | {{ ribuanWithComma(@$shop_ytd) }} |
TOTAL OTHER F&B | {{ ribuanWithComma($total_other_fb-$other_discount_allowance) }} | {{ ribuanWithComma($total_other_fb_budget) }} | {{ $total_other_fb_variance_today < 0 ? '('.ribuanWithComma(($total_other_fb_variance_today) *-1).')' : ribuanWithComma($total_other_fb_variance_today-$other_discount_allowance) }} | {{ ribuanWithComma($total_other_fb_mtd-$other_discount_allowance_mtd) }} | {{ ribuanWithComma($total_other_fb_budget_mtd) }} | {{ $total_other_fb_variance_mtd < 0 ? '('.ribuanWithComma(($total_other_fb_variance_mtd) *-1).')' : ribuanWithComma($total_other_fb_variance_mtd-$other_discount_allowance_mtd) }} | {{ ribuanWithComma($total_other_fb_ytd-$other_discount_allowance_ytd) }} |
TOTAL F&B REVENUE | {{ ribuanWithComma($total_today) }} | {{ ribuanWithComma($total_budget_day) }} | {{ $total_variance_day < 0 ? '('.ribuanWithComma($total_variance_day).')' : ribuanWithComma($total_variance_day) }} | {{ ribuanWithComma($total_mtd) }} | {{ ribuanWithComma($total_budget_mtd) }} | {{ $total_variance_mtd < 0 ? '('.ribuanWithComma($total_variance_mtd).')' : ribuanWithComma($total_variance_mtd) }} | {{ ribuanWithComma($total_ytd) }} |
Other Revenue | |||||||
{{ @$shop_stat->tipe->nama_tipe }} {{ @$shop_stat->shop ? "(".@$shop_stat->shop->nama.")" : '' }} | {{ ribuanWithComma($this_today) }} | {{ ribuanWithComma($shop_stat->budget) }} | {{ $this_today - $shop_stat->budget < 0 ? '('.ribuanWithComma($this_today - $shop_stat->budget).')' : ribuanWithComma($this_today - $shop_stat->budget) }} | {{ ribuanWithComma($this_mtd) }} | {{ ribuanWithComma($shop_stat->budget_mtd) }} | {{ $this_mtd - $shop_stat->budget_mtd < 0 ? '('.ribuanWithComma($this_mtd - $shop_stat->budget_mtd).')' : ribuanWithComma($this_mtd - $shop_stat->budget_mtd) }} | {{ ribuanWithComma($this_ytd) }} |
TOTAL OTHER REVENUE | {{ ribuanWithComma($other_total_today) }} | {{ ribuanWithComma($other_total_budget_day) }} | {{ $other_total_variance_day < 0 ? '('.ribuanWithComma(($other_total_variance_day) *-1).')' : ribuanWithComma($other_total_variance_day) }} | {{ ribuanWithComma($other_total_mtd) }} | {{ ribuanWithComma($other_total_budget_mtd) }} | {{ $other_total_variance_mtd < 0 ? '('.ribuanWithComma(($other_total_variance_day) *-1).')' : ribuanWithComma($other_total_variance_mtd) }} | {{ ribuanWithComma($other_total_ytd) }} |
TOTAL NET REVENUE | {{ ribuanWithComma($gtotal_today) }} | {{ ribuanWithComma($gtotal_budget_day) }} | {{ $gtotal_variance_day < 0 ? '('.ribuanWithComma(($gtotal_variance_day) *-1).')' : ribuanWithComma($gtotal_variance_day) }} | {{ ribuanWithComma($gtotal_mtd) }} | {{ ribuanWithComma($gtotal_budget_mtd) }} | {{ $gtotal_variance_mtd < 0 ? '('.ribuanWithComma(($gtotal_variance_mtd) *-1).')' : ribuanWithComma($gtotal_variance_mtd) }} | {{ ribuanWithComma($gtotal_ytd) }} |
Service Charge | {{ ribuanWithComma($serv_today) }} | {{ ribuanWithComma($serv_budget) }} | {{ $serv_today - $serv_budget < 0 ? '('.ribuanWithComma(($serv_variance = $serv_today - $serv_budget) *-1).')' : ribuanWithComma($serv_variance = $serv_today - $serv_budget) }} | {{ ribuanWithComma($serv_mtd) }} | {{ ribuanWithComma($serv_mtd_budget) }} | {{ $serv_mtd - $serv_mtd_budget < 0 ? '('.ribuanWithComma(($serv_mtd_variance = $serv_mtd - $serv_mtd_budget) *-1).')' : ribuanWithComma($serv_mtd_variance = $serv_mtd - $serv_mtd_budget) }} | {{ ribuanWithComma($serv_ytd) }} |
Government Tax | {{ ribuanWithComma($tax_today) }} | {{ ribuanWithComma($tax_budget) }} | {{ $tax_today - $tax_budget < 0 ? '('.ribuanWithComma(($tax_variance = $tax_today - $tax_budget) *-1).')' : ribuanWithComma($tax_variance = $tax_today - $tax_budget) }} | {{ ribuanWithComma($tax_mtd) }} | {{ ribuanWithComma($tax_mtd_budget) }} | {{ $tax_mtd - $tax_mtd_budget < 0 ? '('.ribuanWithComma(($tax_mtd_variance = $tax_mtd - $tax_mtd_budget) *-1).')' : ribuanWithComma($tax_mtd_variance = $tax_mtd - $tax_mtd_budget) }} | {{ ribuanWithComma($tax_ytd) }} |
TOTAL GROSS REVENUE | {{-- @php $today_guest_ledger += $gtotal_today + $serv_today + $tax_today; @endphp --}} {{ ribuanWithComma($gtotal_today+$serv_today+$tax_today) }} | {{ ribuanWithComma($gtotal_budget_day+$serv_budget+$tax_budget) }} | {{ $gtotal_variance_day+$serv_variance+$tax_variance < 0 ? '('.ribuanWithComma(($gtotal_variance_day+$serv_variance+$tax_variance) *-1).')' : ribuanWithComma($gtotal_variance_day+$serv_variance+$tax_variance) }} | {{ ribuanWithComma($gtotal_mtd+$serv_mtd+$tax_mtd) }} | {{ ribuanWithComma($gtotal_budget_mtd+$serv_mtd_budget+$tax_mtd_budget) }} | {{ $gtotal_variance_mtd+$serv_mtd_variance+$tax_mtd_variance < 0 ? '('.ribuanWithComma(($gtotal_variance_mtd+$serv_mtd_variance+$tax_mtd_variance) *-1).')' : ribuanWithComma($gtotal_variance_mtd+$serv_mtd_variance+$tax_mtd_variance) }} | {{ ribuanWithComma($gtotal_ytd+$serv_ytd+$tax_ytd) }} |
DESCRIPTION | TODAY | MONTH TO DATE | YTD | |||||
---|---|---|---|---|---|---|---|---|
TODAY | BUDGET | VARIANCE | MTD | BUDGET | VARIANCE | |||
({{@$pay->tipeMenu->nama_tipe}} - {{@$pay->tipeMenu->nama_tipe}}) {{$pay->label ?? ' payable '}} | --}}{{@$pay->tipeMenu->revenue_partner_label}} | {{ ribuanWithComma($this_pay_tdy) }} | {{ ribuanWithComma($pay->budget) }} | {{ $this_pay_tdy - $pay->budget < 0 ? '('. ribuanWithComma(($this_pay_tdy - $pay->budget) *-1).')' : ribuanWithComma($this_pay_tdy - $pay->budget) }} | {{ ribuanWithComma($this_pay_mtd) }} | {{ ribuanWithComma($pay->budget_mtd) }} | {{ $this_pay_mtd - $pay->budget_mtd < 0 ? '('.ribuanWithComma(($this_pay_mtd - $pay->budget_mtd) *-1).')' : ribuanWithComma($this_pay_mtd - $pay->budget_mtd) }} | {{ ribuanWithComma($this_pay_ytd) }} |
TOTAL PAYABLE | {{-- @php $today_guest_ledger += $total_pay_tdy; @endphp --}} {{ ribuanWithComma($total_pay_tdy) }} | {{ ribuanWithComma($total_bpay_tdy) }} | {{ $total_tdy_var < 0 ? '('.ribuanWithComma(($total_tdy_var) *-1).')' : ribuanWithComma($total_tdy_var) }} | {{ ribuanWithComma($total_pay_mtd) }} | {{ ribuanWithComma($total_bpay_mtd) }} | {{ $total_mtd_var < 0 ? '('.ribuanWithComma(($total_mtd_var) *-1).')' : ribuanWithComma($total_mtd_var) }} | {{ ribuanWithComma($total_pay_ytd) }} |
DESCRIPTION | SUMMARY OF PAYMENT | ||
---|---|---|---|
TODAY | MONTH TO DATE | YTD | |
Advance Deposit | {{ $advance_deposit_today ? '('.number_format($advance_deposit_today, 2, ".", ",").')' : '-' }} | {{ $advance_deposit_mtd ? '('.number_format($advance_deposit_mtd, 2, ".", ",").')' : '-' }} | {{ $advance_deposit_ytd ? '('.number_format($advance_deposit_ytd, 2, ".", ",").')' : '-' }} |
Total Deposit | {{ $advance_deposit_today ? '('.number_format($advance_deposit_today, 2, ".", ",").')' : '-'}} | {{ $advance_deposit_mtd ? '('.number_format($advance_deposit_mtd, 2, ".", ",").')' : '-'}} | {{ $advance_deposit_ytd ? '('.number_format($advance_deposit_ytd, 2, ".", ",").')' : '-'}} |
{{ $jenis_cash }} | {{$cash_today[$key] ? '('.number_format($cash_today[$key], 2, '.', ',').')' : '-' }} | {{$cash_mtd[$key] ? '('.number_format($cash_mtd[$key], 2, '.', ',').')' : '-' }} | {{$cash_ytd[$key] ? '('.number_format($cash_ytd[$key], 2, '.', ',').')' : '-' }} |
Total Cash | {{$total_cash_today ? '('.number_format($total_cash_today, 2, '.', ',').')' : '-' }} | {{$total_cash_mtd ? '('.number_format($total_cash_mtd, 2, '.', ',').')' : '-'}} | {{$total_cash_ytd ? '('.number_format($total_cash_ytd, 2, '.', ',').')' : '-'}} |
{{$platform_header->name}} | {{ $cc_today ? '('.number_format($cc_today, 2, '.', ',').')' : '-' }} | {{ $cc_mtd ? '('.number_format($cc_mtd, 2, '.', ',').')' : '-' }} | {{ $cc_ytd ? '('.number_format($cc_ytd, 2, '.', ',').')' : '-' }} |
{{$platform->nama}} | {{$cc_today ? '('.number_format($cc_today, 2, '.', ',').')' : '-' }} | {{$cc_mtd ? '('.number_format($cc_mtd, 2, '.', ',').')' : '-' }} | {{$cc_ytd ? '('.number_format($cc_ytd, 2, '.', ',').')' : '-' }} |
Bank Transfer | {{ $cc_today ? '('.number_format($cc_today, 2, '.', ',').')' : '-' }} | {{ $cc_today ? '('.number_format($cc_mtd, 2, '.', ',').')' : '-' }} | {{ $cc_today ? '('.number_format($cc_ytd, 2, '.', ',').')' : '-' }} |
Total Credit Card | {{ $total_credit_card_today ? '('.number_format($total_credit_card_today, 2, '.', ',').')' : '-'}} | {{ $total_credit_card_mtd ? '('.number_format($total_credit_card_mtd, 2, '.', ',').')' : '-'}} | {{ $total_credit_card_ytd ? '('.number_format($total_credit_card_ytd, 2, '.', ',').')' : '-'}} |
{{ $other_city_ledger->name }} | {{ $today_cl ? '('.number_format($today_cl, 2, '.', ',').')' : '-'}} | {{ $mtd_cl ? '('.number_format($mtd_cl, 2, '.', ',').')' : '-'}} | {{ $ytd_cl ? '('.number_format($ytd_cl, 2, '.', ',').')' : '-'}} |
{{ $segment_ratecode }} {{in_array($key,[14,15]) ? '' : 'Ledger'}} | {{ $today_cl ? '('.number_format($today_cl, 2, '.', ',').')' : '-' }} | {{ $mtd_cl ? '('.number_format($mtd_cl, 2, '.', ',').')' : '-' }} | {{ $ytd_cl ? '('.number_format($ytd_cl, 2, '.', ',').')' : '-' }} |
Total City Ledger | {{$total_today_cl ? '('.number_format($total_today_cl, 2, '.', ',').')' : '-' }} | {{$total_mtd_cl ? '('.number_format($total_mtd_cl, 2, '.', ',').')' : '-' }} | {{$total_ytd_cl ? '('.number_format($total_ytd_cl, 2, '.', ',').')' : '-' }} |
TOTAL | {{ $total_today_payment ? '('.number_format($total_today_payment, 2, '.', ',').')' : '-' }} @php // $today_guest_ledger -= $total_today_payment; @endphp | {{ $total_mtd_payment ? '('.number_format($total_mtd_payment, 2, '.', ',').')' : '-' }} | {{ $total_mtd_payment ? '('.number_format($total_ytd_payment, 2, '.', ',').')' : '-' }} |
Paid Out | {{ $paid_out_tdy ? '('.number_format($paid_out_tdy, 2, '.', ',').')' : '-'}} | {{ $paid_out_mtd ? '('.number_format($paid_out_mtd, 2, '.', ',').')' : '-'}} | {{ $paid_out_ytd ? '('.number_format($paid_out_ytd, 2, '.', ',').')' : '-'}} |
Paid Out POS | {{ $paid_out_pos_tdy ? '('.number_format($paid_out_pos_tdy*-1, 2, '.', ',').')' : '-'}} | {{ $paid_out_pos_mtd ? '('.number_format($paid_out_pos_mtd*-1, 2, '.', ',').')' : '-'}} | {{ $paid_out_pos_ytd ? '('.number_format($paid_out_pos_ytd*-1, 2, '.', ',').')' : '-'}} |
TOTAL PAYMENT | {{ $total_today_payment ? '('.number_format($total_today_payment, 2, '.', ',').')' : '-' }} @php // $today_guest_ledger -= $total_today_payment; @endphp | {{ $total_mtd_payment ? '('.number_format($total_mtd_payment, 2, '.', ',').')' : '-' }} | {{ $total_mtd_payment ? '('.number_format($total_ytd_payment, 2, '.', ',').')' : '-' }} |
Guest Ledger as Date | TODAY | MONTH TO DATE | YTD |
---|---|---|---|
{{ $new_gl_tdy ? number_format($new_gl_tdy, 2, '.', ',') : '-'}} | {{ $new_gl_mtd ? number_format($new_gl_mtd, 2, '.', ',') : '-'}} | {{ $new_gl_ytd ? number_format($new_gl_ytd, 2, '.', ',') : '-'}} |
GUEST LEDGER | |
---|---|
Today Guest Ledger | {{ number_format($today_guest_ledger, 2, ".", ",") }} |
Yesterday Guest Ledger | {{ number_format($yesterday_guest_ledger, 2, ".", ",") }} |
TODAY BALANCE | @php $today_balance_guest_ledger = $today_guest_ledger + $yesterday_guest_ledger; @endphp {{ number_format($today_balance_guest_ledger, 2, ".", ",") }} |