@extends('layouts.master') @section('content')

Modifier l'initialisation du stock

Article : {{ $article->nom_article ?? 'N/A' }}
Référence : {{ $article->reference_article ?? 'N/A' }}
Catégorie : {{ $article->categorie_id ?? 'N/A' }}
Stock : {{ $stock->nom_stock ?? 'N/A' }} ({{ $stock->code_stock ?? 'N/A' }})
@csrf @method('PATCH')
La quantité actuelle en stock est : {{ $stockInitial->qte_stock }} @error('stock_inventorier') {{ $message }} @enderror
@error('cump_article') {{ $message }} @enderror
Note : La modification de la quantité inventoriée ajustera automatiquement le stock actuel.
@php $difference = $stockInitial->qte_stock - $stockInitial->stock_inventorier; @endphp @if($difference != 0) @if($difference > 0) ⚠️ Le stock actuel est supérieur de {{ $difference }} unité(s) par rapport à la quantité inventoriée. @else ✅ Le stock actuel est inférieur de {{ abs($difference) }} unité(s) par rapport à la quantité inventoriée. @endif @endif
Annuler

Statistiques du stock

Stock Actuel
{{ number_format($stockInitial->qte_stock, 0, ',', ' ') }}
Réservé
{{ number_format($stockInitial->qte_reserver, 0, ',', ' ') }}
Disponible
{{ number_format($stockInitial->qte_stock - $stockInitial->qte_reserver, 0, ',', ' ') }}
Sorties totales
{{ number_format($stockInitial->qte_sortie, 0, ',', ' ') }}
@endsection @section('page-script') @endsection