@extends('layouts.app') @section('title', $product->name . ' - Bar & Maquis') @section('content')
{{ $product->description }}
| Date | Facture | Quantité | Prix unitaire | Total | Profit |
|---|---|---|---|---|---|
| {{ $item->sale->created_at->format('d/m/Y') }} | {{ $item->sale->invoice_number }} | {{ $item->quantity }} {{ $product->unit }} | {{ number_format($item->unit_price, 0, ',', ' ') }} FCFA | {{ number_format($item->total_price, 0, ',', ' ') }} FCFA | {{ number_format($item->profit, 0, ',', ' ') }} FCFA |
| Date | Type | Quantité | Raison | Utilisateur |
|---|---|---|---|---|
| {{ $movement->created_at->format('d/m/Y H:i') }} | {{ ucfirst($movement->type) }} | {{ $movement->quantity }} {{ $product->unit }} | {{ $movement->reason ?: '-' }} | {{ $movement->employee->name }} |