@extends('admin.index') @section('content')
@foreach ($shipments as $shipment) @php $sumPaye = 0; $sumNonPaye = 0; @endphp

{{$shipment[0]->name}}

@endforeach

Bilan Actuel : {{ number_format($bilanActuel, 0, '.', ' ') }} DA

{{ number_format($totalProfit, 0, '.', ' ') }} DA

La Caisse

{{ number_format($sumShippingUnPaidInt, 0, '.', ' ')}} DA

Compagnie de livraison

{{ number_format($sumShippingPaidInt + $sumShippingUnPaidInt, 0, '.', ' ') }} DA

Transactions

Plus d'informations

{{ number_format($sumCharge, 0, '.', ' ') }} DA

Charges

Plus d'informations

{{ number_format($sumStock, 0, '.', ' ') }} DA

Stock

Plus d'informations

{{ number_format($sumInvestment, 0, '.', ' ') }} DA

Investissements

Plus d'informations
@foreach ($providers as $provider) @php $payeSum = 0; $nonPayeSum = 0; @endphp
{{$provider[0]->name}} @foreach ($provider as $trans) @if($trans->payment_supplier == 'Paye') @php $payeSum += ($trans->buy_price ) @endphp @endif @if($trans->payment_supplier == 'NonPaye') @php $nonPayeSum += ($trans->buy_price) @endphp @endif @endforeach Endette : {{ number_format($nonPayeSum, 0, '.', ' ') }} DA
Paye : {{ number_format($payeSum, 0, '.', ' ') }} DA
@endforeach

Diagramme pour chaque transactions par jours

Diagramme pour chaque transactions par mois

@endsection @push('js') @endpush