|
Summary |
|
Revenue |
@foreach($periods as $period)
{{ array_key_exists($period, $total_revenues) ? number_format($total_revenues[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_rev, 2)}} |
Cost |
@foreach($periods as $period)
{{ array_key_exists($period, $total_cost) ? number_format($total_cost[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_cost, 2)}} |
Gross |
@foreach($periods as $period)
{{ array_key_exists($period, $total_gross) ? number_format($total_gross[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_gross, 2)}} |
Expenses |
@foreach($periods as $period)
{{ array_key_exists($period, $total_expenses) ? number_format($total_expenses[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_exp, 2)}} |
EBITDA |
@foreach($periods as $period)
{{ array_key_exists($period, $EBITDA) ? number_format($EBITDA[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_ebitda, 2)}} |
Non Operating Exp |
@foreach($periods as $period)
{{ array_key_exists($period, $total_non_operating_exp) ? number_format($total_non_operating_exp[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_non_op_exp, 2)}} |
Nett |
@foreach($periods as $period)
{{ array_key_exists($period, $total_nett_profit) ? number_format($total_nett_profit[$period], 2) : 0}} |
@endforeach
{{number_format($total_year_nett_profit, 2)}} |
|
Revenue: |
|
{{-- NEW PENJABARAN HPP --}}
@if (count($revenue_datas) > 0)
@foreach ($revenue_datas as $item)
@php
$TCoaYear = 0;
@endphp
{{$item['description']}} |
@foreach($periods as $period)
@php
$TCoaYear += array_key_exists($period, $item['value']) ? ($item['value'][$period]) : 0;
@endphp
{{ array_key_exists($period, $item['value']) ? number_format($item['value'][$period], 2) : 0}} |
@endforeach
{{number_format($TCoaYear, 2)}}
|
@endforeach
@endif
{{-- NEW PENJABARAN HPP --}}
{{-- PENJABARAN HPP --}}
{{--
Room Revenue |
@foreach($periods as $period)
{{array_key_exists($period, $room_rev_total) ? number_format($room_rev_total[$period], 2) : ''}} |
@endforeach
Food F&B |
@foreach($periods as $period)
{{array_key_exists($period, $fb_food_total) ? number_format($fb_food_total[$period], 2) : ''}} |
@endforeach
Beverages F&B |
@foreach($periods as $period)
{{array_key_exists($period, $fb_bev_total) ? number_format($fb_bev_total[$period], 2) : ''}} |
@endforeach
Other F&B |
@foreach($periods as $period)
{{array_key_exists($period, $fb_other_total) ? number_format($fb_other_total[$period], 2) : ''}} |
@endforeach
Other Revenue |
@foreach($periods as $period)
{{ array_key_exists($period, $other_rev) ? number_format($other_rev[$period], 2) : ''}} |
@endforeach
--}}
{{-- PENJABARAN HPP --}}
Total Revenue |
@foreach($periods as $period)
{{-- {{ array_key_exists($period, $pendapatan_usaha) ? number_format($pendapatan_usaha[$period], 2) : ''}} | --}}
{{ array_key_exists($period, $total_revenues) ? number_format($total_revenues[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_revenues)) {
$total_year_rev += $total_revenues[$period];
}
@endphp
@endforeach
{{number_format($total_year_rev, 2)}} |
| | | | | | | | | | | | |
Cost |
|
@if (count($costs_datas) > 0)
@foreach ($costs_datas as $item)
@php
$TCoaYear_exp = 0;
@endphp
{{$item['description']}} |
@foreach($periods as $period)
@php
$TCoaYear_exp += array_key_exists($period, $item['value']) ? ($item['value'][$period]) : 0;
@endphp
{{ array_key_exists($period, $item['value']) ? number_format($item['value'][$period], 2) : 0}} |
@endforeach
{{number_format($TCoaYear_exp, 2)}}
|
@endforeach
@endif
Total Cost |
@foreach($periods as $period)
{{ array_key_exists($period, $total_cost) ? number_format($total_cost[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_cost)) {
$total_year_cost += $total_cost[$period];
}
@endphp
@endforeach
{{number_format($total_year_cost, 2)}} |
|
Gross Profit |
@foreach($periods as $period)
{{ array_key_exists($period, $total_gross) ? number_format($total_gross[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_gross)) {
$total_year_gross += $total_gross[$period];
}
@endphp
@endforeach
{{number_format($total_year_gross, 2)}} |
{{-- PENJABARAN COST & EXPENSES --}}
{{-- @if (count($cost_expenses) > 0)
@foreach ($cost_expenses as $item)
{{$item['description']}} |
@foreach($periods as $period)
{{ array_key_exists($period, $item['total']) ? number_format($item['total'][$period], 2) : ''}} |
@endforeach
@endforeach
@endif --}}
{{-- PENJABARAN COST & EXPENSES --}}
{{--
Total Cost & Expenses |
@foreach($periods as $period) --}}
{{-- {{ array_key_exists($period, $total_exp_cost) ? number_format($total_exp_cost[$period], 2) : ''}} | --}}
{{-- {{ array_key_exists($period, $total_expenses) ? number_format($total_expenses[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_expenses)) {
$total_year_cost += $total_expenses[$period];
}
@endphp
@endforeach
{{number_format($total_year_cost, 2)}} |
--}}
| | | | | | | | | | | | |
Expense: |
|
@if (count($expense_datas) > 0)
@foreach ($expense_datas as $item)
@php
$TCoaYear_exp = 0;
@endphp
{{$item['description']}} |
@foreach($periods as $period)
@php
$TCoaYear_exp += array_key_exists($period, $item['value']) ? ($item['value'][$period]) : 0;
@endphp
{{ array_key_exists($period, $item['value']) ? number_format($item['value'][$period], 2) : 0}} |
@endforeach
{{number_format($TCoaYear_exp, 2)}}
|
@endforeach
@endif
Total Expenses |
@foreach($periods as $period)
{{-- {{ array_key_exists($period, $total_exp_cost) ? number_format($total_exp_cost[$period], 2) : ''}} | --}}
{{ array_key_exists($period, $total_expenses) ? number_format($total_expenses[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_expenses)) {
$total_year_exp += $total_expenses[$period];
}
@endphp
@endforeach
{{number_format($total_year_exp, 2)}} |
|
EBITDA(laba Operasional) |
@foreach($periods as $period)
{{ array_key_exists($period, $EBITDA) ? number_format($EBITDA[$period], 2) : 0}} |
@php
if (array_key_exists($period, $EBITDA)) {
$total_year_ebitda += $EBITDA[$period];
}
@endphp
@endforeach
{{number_format($total_year_ebitda, 2)}} |
| |
| | | | | | | | | | | |
Non Operating Exp: |
|
@if (count($non_op_exps_datas) > 0)
@foreach ($non_op_exps_datas as $item)
@php
$TCoaYear_exp = 0;
@endphp
{{$item['description']}} |
@foreach($periods as $period)
@php
$TCoaYear_exp += array_key_exists($period, $item['value']) ? ($item['value'][$period]) : 0;
@endphp
{{ array_key_exists($period, $item['value']) ? number_format($item['value'][$period], 2) : 0}} |
@endforeach
{{number_format($TCoaYear_exp, 2)}}
|
@endforeach
@endif
Total Non Operating Exp |
@foreach($periods as $period)
{{ array_key_exists($period, $total_non_operating_exp) ? number_format($total_non_operating_exp[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_non_operating_exp)) {
$total_year_non_op_exp += $total_non_operating_exp[$period];
}
@endphp
@endforeach
{{number_format($total_year_non_op_exp, 2)}} |
| | | | | | | | | | | | |
Nett Profit |
@foreach($periods as $period)
{{ array_key_exists($period, $total_nett_profit) ? number_format($total_nett_profit[$period], 2) : 0}} |
@php
if (array_key_exists($period, $total_nett_profit)) {
$total_year_nett_profit += $total_nett_profit[$period];
}
@endphp
@endforeach
{{number_format($total_year_nett_profit, 2)}} |
{{--
Profit{{'/'}}Loss |
@foreach($periods as $period) --}}
{{-- {{array_key_exists($period, $profit_or_loss) ? number_format($profit_or_loss[$period], 2) : ''}} | --}}
{{-- {{array_key_exists($period, $profit_or_loss) ? number_format($profit_or_loss[$period], 2) : 0}} |
@endforeach
@php
$prof_loss_year = $total_year_rev - $total_year_cost;
@endphp
{{ number_format($prof_loss_year,0) }} |
--}}
|