@extends('master') @section('head') {{config('app.name')}} | Mijn Caravans @endsection @section('content') @include('dashboard.partials._header')
Statistieken

Totaal aantal dagen verhuurd {{$arr_statistics['tot_booking']}}
Totaal aantal keer verhuurd {{$arr_statistics['ncount']}}
Totale huuropbrengst {{formatPrice($arr_statistics['rental_income'])}}
Mijn caravan{{ count($campers) > 1 ? 's' : ''}}
Nieuwe caravan toevoegen

@foreach($campers as $camper) @php $camper_tot_booking = isset($arr_rent_campers[$camper->id]) ? (!$arr_rent_campers[$camper->id]->tot ? 0 : $arr_rent_campers[$camper->id]->tot) : 0; $camper_rental_income = isset($arr_rent_campers[$camper->id]) ? (!$arr_rent_campers[$camper->id]->rental_income ? 0 : $arr_rent_campers[$camper->id]->rental_income) : 0; $camper_income = $camper_tot_booking - ($camper_tot_booking * Auth::user()->fee_percentage / 100) + $camper_rental_income; @endphp @endforeach
@include('partials.modals.submitted-for-review-modal')
@endsection