@php $company = \App\Models\Company::all()->last() @endphp
{{ $company->name }}
@php $phones = collect(); ($company->phone1)?$phones->push($company->phone1): ''; ($company->phone2)?$phones->push($company->phone2): ''; ($company->phone3)?$phones->push($company->phone3): ''; ($company->phone4)?$phones->push($company->phone4): ''; @endphp
Tel: {{ $phones->join(', ') }}

Bon de returnStocke N° {{ $returnStock['code'] }}


@php $products = json_decode($returnStock['products']); $total = 0; @endphp @foreach($products as $product) @endforeach
Produit Quantité PU Remise TVA Montant
{{ $product->product }}
{{ $product->returnStock_quantity }}
{{ $product->unit_returnStocking_price }}
{{ $product->discount }}
{{ $product->tva }}
@php $total += $product->amount @endphp {{ $product->amount }}
Remise {{ $returnStock['discount_on_total'] }}
TVA {{ $returnStock['tva'] }}
TOTAL {{ number_format($total, 0, ',', ' ') }} FCFA

Créer le {{ \Carbon\Carbon::now()->isoFormat('lll') }}