{{ trans_choice("stock-movements.purchase.recent", $recentPurchases->count()) }}

@if($recentPurchases->count() > 0) @foreach($recentPurchases->sortByDesc('created_at') as $purchase) @endforeach
Supplier Location Product Quantity Unit price Total Date
{{ $purchase->supplier->name }} {{ $purchase->location->name }} {{ $purchase->product->name }} @quantity($purchase->quantity) @currency($purchase->unit_price) {{ $currency->symbol }} @currency($purchase->quantity * $purchase->unit_price) {{ $currency->symbol }} @date($purchase->purchased_at) @if($purchase->comments) @endif edit
@endif