Statistiques
Stats sur le mois, année. Avec données réel et théorique
@if($annee != null) @endif
@if($annee != null) Reset @endif @if($annee != null) Afficher l'année @endif @if($selectionDuMois != null) Afficher le mois @endif
@if($monthSelected) @if($reel) Stats réel @else Stats réel @endif @if($theorique) Stats théorique @else Stats théorique @endif @if($attente) Stats Attente @else Stats Attente @endif @endif
@if($theorique)
* Statistiques basées sur le status de paiement "Payé, Impayé, Attente"
@elseif($reel)
* Statistiques basées sur le status de paiement "Payé"
@elseif($attente)
* Statistiques basées sur le status de paiement "Attente"
@endif
@if($yearSelected)

Chiffre d'affaires

{{ number_format($sumPriceTTC, 2, ',', ' ') }} €

Vente : {{ number_format($countVente, 0, ',', ' ') }} € - Service : {{ number_format($countService, 0, ',', ' ') }} €

Bénéfice Net

{{ number_format(($sumPriceTTC - $sumPricePieces - round($impotVente + $impotService)), 2, ',', ' ') }} €

Somme total pièces : {{ number_format($sumPricePieces, 0, ',', ' ') }} €

Impôts

{{ number_format(round($impotVente + $impotService), 2, ',', ' ') }} €

Vente : {{ number_format(round($impotVente), 0, ',', ' ') }} € - Service : {{ number_format(round($impotService), 0, ',', ' ') }} €

Nombre d'interventions

{{ $countReparationByMonth }}

Nombre de clients : {{ $countClients }}

@endif @if($monthSelected) @if($reel)

Chiffre d'affaires

{{ number_format($sumPriceTTC, 2, ',', ' ') }} €

Vente : {{ number_format($countVente, 0, ',', ' ') }} € - Service : {{ number_format($countService, 0, ',', ' ') }} €

Bénéfice Net

{{ number_format(($sumPriceTTC - $sumPricePieces - round($impotVente + $impotService)), 2, ',', ' ') }} €

Somme total pièces : {{ number_format($sumPricePieces, 0, ',', ' ') }} €

Impôts

{{ number_format(round($impotVente + $impotService), 2, ',', ' ') }} €

Vente : {{ number_format(round($impotVente), 0, ',', ' ') }} € - Service : {{ number_format(round($impotService), 0, ',', ' ') }} €

Nombre d'interventions

{{ $countReparationByMonth }}

Nombre de clients : {{ $countClients }}

@endif @if($theorique)

Chiffre d'affaires

{{ number_format($sumPriceTTCTheorique, 2, ',', ' ') }} €

Vente : {{ number_format($countVenteTheorique, 0, ',', ' ') }} € - Service : {{ number_format($countServiceTheorique, 0, ',', ' ') }} €

Bénéfice Net

{{ number_format(($sumPriceTTCTheorique - $sumPricePiecesTheorique - round($impotVenteTheorique + $impotServiceTheorique)), 2, ',', ' ') }} €

Somme total pièces : {{ number_format($sumPricePiecesTheorique, 0, ',', ' ') }} €

Impôts

{{ number_format(round($impotVenteTheorique + $impotServiceTheorique), 2, ',', ' ') }} €

Vente : {{ number_format(round($impotVenteTheorique), 0, ',', ' ') }} € - Service : {{ number_format(round($impotServiceTheorique), 0, ',', ' ') }} €

Nombre d'interventions

{{ $countReparationByMonth }}

Nombre de clients : {{ $countClients }}

@endif @if($attente)

Chiffre d'affaires

{{ number_format($sumPriceTTCAttente, 2, ',', ' ') }} €

Vente : {{ number_format($countVenteAttente, 0, ',', ' ') }} € - Service : {{ number_format($countServiceAttente, 0, ',', ' ') }} €

Bénéfice Net

{{ number_format(($sumPriceTTCAttente - $sumPricePiecesAttente - round($impotVenteAttente + $impotServiceAttente)), 2, ',', ' ') }} €

Somme total pièces : {{ number_format($sumPricePiecesAttente, 0, ',', ' ') }} €

Impôts

{{ number_format(round($impotVenteAttente + $impotServiceAttente), 2, ',', ' ') }} €

Vente : {{ number_format(round($impotVenteAttente), 0, ',', ' ') }} € - Service : {{ number_format(round($impotServiceAttente), 0, ',', ' ') }} €

Nombre d'interventions

{{ $countReparationByMonth }}

Nombre de clients : {{ $countClients }}

@endif
{{ $this->table }}
@endif