@extends('layouts.admin') @section('page-title') Gestion des ménages @endsection @section('page-subtitle') Gestion et suivi des ménages @endsection @section('styles') @endsection @section('scripts') @endsection @section('content')
@php $t = \App\Helpers\TranslationHelper::getUserTranslations(); @endphp

{{ count($clientsData) }}

Contrats

{{ collect($clientsData)->pluck('workers')->flatten()->unique('id')->count() }}

Personnel ménage

{{ collect($clientsData)->sum(function($client) { return $client['cleaning_morning'] + $client['cleaning_evening'] + $client['dishwashing']; }) }}

Tâches/semaine

{{ number_format((float)($monthlyPackageRevenue ?? 0), 2, ',', ' ') }} €

Revenu mensuel (forfaits)

{{ number_format((float)($monthlyPackageMargin ?? 0), 2, ',', ' ') }} €

Marge (forfaits)

Type de prestations :

{{ $t['translations']['cleaning']['legend_cleaning'] ?? 'Ménage' }}
-
{{ $t['translations']['cleaning']['bin_task'] ?? 'Poubelle' }}
-
{{ $t['translations']['cleaning']['ironing_task'] ?? 'Repassage' }}
-
{{ $t['translations']['cleaning']['legend_dishwashing'] ?? 'Vaisselle' }}
/
{{ $t['translations']['cleaning']['legend_morning'] ?? 'Matin' }}
|
{{ $t['translations']['cleaning']['legend_evening'] ?? 'Soir' }}
@include('admin.menage.partials.clients-table', ['clientsData' => $clientsData])
@include('admin.menage.partials.planning-wizard') @endsection