There are backdated bookings from OTA or Manual; please check in first, and then don't forget to update DRR according to the date in the details.
@endif
{{--
Daily Revenue Report
--}}
@include('report.daily_revenue')
Room Sales
No | MARKET SEGMENT | TODAY | MONTH TO DATE | YEAR TO DATE | |||
---|---|---|---|---|---|---|---|
ROOMS | REVENUE | ROOMS | REVENUE | ROOMS | REVENUE | ||
{{$loop->iteration}} | {{ config('custom.segment_ratecodes.'.$segment->segment_id) }} | {{ @$segment->room ? ribuan($segment->room) : '-' }} | {{ @$segment->revenue ? ribuan($segment->revenue) : '-' }} | {{ @$segment->room_mtd ? ribuan($segment->room_mtd) : '-' }} | {{ @$segment->revenue_mtd ? ribuan($segment->revenue_mtd) : '-'}} | {{ @$segment->room_ytd ? ribuan($segment->room_ytd) : '-' }} | {{ @$segment->revenue_ytd ? ribuan($segment->revenue_ytd) : '-'}} |
TOTAL ROOM SALES |
{{ ribuan($jml_room_day) }} | {{ ribuan($jml_rvnu_day) }} | {{ ribuan($jml_room_mon) }} | {{ ribuan($jml_rvnu_mon) }} | {{ ribuan($jml_room_yer) }} | {{ ribuan($jml_rvnu_yer) }} |
Room Statistic
no | ROOM STATISTIC | TODAY | MONTH TO DATE | YTD | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TODAY | BUDGET | VARIANCE | MTD | BUDGET | VARIANCE | |||||||||||||||||
{{ $loop->iteration }} | {{ 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->variance_mtd; $room_ytd = $room_stat->ytd; } elseif($room_stat->statistic_id==3) { //compliment $comp_mtd = $room_stat->mtd; $comp_bud = $room_stat->budget_mtd; $comp_var = $room_stat->variance_mtd; $comp_ytd = $room_stat->ytd; } elseif($room_stat->statistic_id==7) { //room occupied $occu_mtd = $room_stat->mtd; $occu_bud = $room_stat->budget_mtd; $occu_var = $room_stat->variance_mtd; $occu_ytd = $room_stat->ytd; } @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; @endphp{{ number_format($room_stat->today, 2, ".", ",") }}% | {{ number_format($room_stat->budget, 2, ".", ",") }}% | {{ number_format($room_stat->variance, 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)/$room_mtd)*100) : 0; $bud = $room_bud>0 ? ((($occu_bud-$comp_bud)/$room_bud)*100) : 0; $var = $room_var>0 ? ((($occu_var-$comp_var)/$room_var)*100) : 0; $ytd = $room_ytd>0 ? ((($occu_ytd-$comp_ytd)/$room_ytd)*100) : 0; @endphp{{ number_format($room_stat->today, 2, ".", ",") }}% | {{ number_format($room_stat->budget, 2, ".", ",") }}% | {{ number_format($room_stat->variance, 2, ".", ",") }}% | {{ number_format($mtd, 2, ".", ",") }}% | {{ number_format($bud, 2, ".", ",") }}% | {{ number_format($var, 2, ".", ",") }}% | {{ number_format($ytd, 2, ".", ",") }}% | @else{{ ribuan($room_stat->today) }} | {{ ribuan($room_stat->budget) }} | {{ ribuan($room_stat->variance) }} | {{ ribuan($room_stat->mtd) }} | {{ ribuan($room_stat->budget_mtd) }} | {{ ribuan($room_stat->variance_mtd) }} | {{ ribuan($room_stat->ytd) }} | @endif
Description
# | DESCRIPTION | TODAY | MONTH TO DATE | YTD | ||||
---|---|---|---|---|---|---|---|---|
TODAY | BUDGET | VARIANCE | MTD | BUDGET | VARIANCE | |||
# | Room Revenue | |||||||
# | Lodging | {{ ribuan(@$lodging_day) }} | {{ ribuan(@$lodging_bdy) }} | {{ ribuan(@$lodging_vdy) }} | {{ ribuan(@$lodging_mtd) }} | {{ ribuan(@$lodging_bud) }} | {{ ribuan(@$lodging_var) }} | {{ ribuan(@$lodging_ytd) }} |
@if($shop_room->tipe_menu_id>0) {{ @$shop_room->tipe->nama_tipe }} @elseif($shop_room->tipe_menu_id===0) Custom Menu @elseif(!$shop_room->tipe_menu_id) Discount @endif | {{ ribuan($shop_room->today) }} | {{ ribuan($shop_room->budget) }} | {{ ribuan($shop_room->variance) }} | {{ ribuan($shop_room->mtd) }} | {{ ribuan($shop_room->budget_mtd) }} | {{ ribuan($shop_room->variance_mtd) }} | {{ ribuan($shop_room->ytd) }} | |
# | TOTAL ROOM REVENUE | {{ ribuan(@$lodging_day) }} | {{ ribuan(@$lodging_bdy) }} | {{ ribuan(@$lodging_vdy) }} | {{ ribuan(@$lodging_mtd) }} | {{ ribuan(@$lodging_bud) }} | {{ ribuan(@$lodging_var) }} | {{ ribuan(@$lodging_ytd) }} |
# | TOTAL {{ strtoupper($shop_name) }} REVENUE | {{ ribuan($total_today) }} | {{ ribuan($total_budget_day) }} | {{ ribuan($total_variance_day) }} | {{ ribuan($total_mtd) }} | {{ ribuan($total_budget_mtd) }} | {{ ribuan($total_variance_mtd) }} | {{ ribuan($total_ytd) }} |
# | {{ @$shop_stat->shop->nama }} | |||||||
# | @if($shop_stat->tipe_menu_id>0) {{ @$shop_stat->tipe->nama_tipe }} @elseif($shop_stat->tipe_menu_id===0) Custom Menu @elseif(!$shop_stat->tipe_menu_id) Discount @endif | {{ ribuan($shop_stat->today) }} | {{ ribuan($shop_stat->budget) }} | {{ ribuan($shop_stat->variance) }} | {{ ribuan($shop_stat->mtd) }} | {{ ribuan($shop_stat->budget_mtd) }} | {{ ribuan($shop_stat->variance_mtd) }} | {{ ribuan($shop_stat->ytd) }} |
# | TOTAL {{ strtoupper($shop_name) }} REVENUE | {{ ribuan($total_today) }} | {{ ribuan($total_budget_day) }} | {{ ribuan($total_variance_day) }} | {{ ribuan($total_mtd) }} | {{ ribuan($total_budget_mtd) }} | {{ ribuan($total_variance_mtd) }} | {{ ribuan($total_ytd) }} |
# | TOTAL NET REVENUE | {{ ribuan($gtotal_today) }} | {{ ribuan($gtotal_budget_day) }} | {{ ribuan($gtotal_variance_day) }} | {{ ribuan($gtotal_mtd) }} | {{ ribuan($gtotal_budget_mtd) }} | {{ ribuan($gtotal_variance_mtd) }} | {{ ribuan($gtotal_ytd) }} |