{{-- Conditional views --}}
@if (!empty($chart_of_accounts) && count($chart_of_accounts) > 0)
@switch(Request::get('view'))
@case('monthly')
@include('accounting::budget.partials.monthly_view')
@break
@case('quarterly')
@include('accounting::budget.partials.quarterly_view')
@break
@case('yearly')
@include('accounting::budget.partials.yearly_view')
@break
@default
{{ trans('accounting::lang.an_error_occurred') }}
@endswitch
@else
{{ trans('accounting::lang.chart_of_account_needed_to_budget') }}
{{ trans('accounting::lang.add') }}
{{ trans('accounting::lang.here') }}
@endif