@extends('layouts.app') @section('title', 'Détails Achat') @section('breadcrumb')
{{ $purchase->supplier->name ?? 'Inconnu' }}
{{ $purchase->supplier->address ?? '' }}
{{ $purchase->supplier->phone ?? '' }}
{{ $purchase->supplier->email ?? '' }}
Date: {{ $purchase->date->format('d/m/Y') }}
Créé le: {{ $purchase->created_at->format('d/m/Y H:i') }}
| Article | Quantité | Prix Unitaire | Total |
|---|---|---|---|
| {{ $item->stockItem->name ?? 'Article supprimé' }} | {{ $item->quantity }} | {{ number_format($item->unit_price, 0, ',', ' ') }} FCFA | {{ number_format($item->total_price, 0, ',', ' ') }} FCFA |
| Total | {{ number_format($purchase->total_amount, 0, ',', ' ') }} FCFA | ||