@section('content')
Point de vente | Nbr BL | Total Vente | Total Achat | Marge | Performance |
---|---|---|---|---|---|
{{$hub->name}} | {{$mus->where('store_id',$hub->id)->count()}} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->where('store_id',$hub->id)->sum('total')) }} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->where('store_id',$hub->id)->sum('sumBuying')) }} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->where('store_id',$hub->id)->sum('total')-(float)$mus->where('store_id',$hub->id)->sum('sumBuying')) }} |
@if($mus->sum('total')!=0)
|
TOTAL | {{$mus->count()}} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->sum('total')) }} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->sum('sumBuying')) }} | {{\App\Helpers\AppHelper::priceFormat((float)$mus->sum('total') - $mus->sum('sumBuying') ) }} | Dépense : {{$expenses ?? 'Veuillez utiliser le filtre par date'}} |
TOTAL | NET : {{\App\Helpers\AppHelper::priceFormat((float)$mus->sum('total') - $mus->sum('sumBuying')- ($expenses??0))}} |
BL | Vendeur | Total | Achat | Marge | Bonus | Date |
---|---|---|---|---|---|---|
{{$MU->id}} | --}} {{--{{$MU->admin_name ?? ''}} | --}} {{--{{$MU->total ?? ''}} | --}} {{--{{$MU->sumBuying ?? ''}} | --}} {{--{{$MU->total - $MU->sumBuying ?? ''}} | --}} {{----}} {{-- {{$MU->bonus}}--}} {{-- | --}} {{----}} {{-- {{$MU->date}}--}} {{-- | --}} {{--