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

Entrer PDF Excel

@can('authorize', 'add_stocks') Enregistrer Un Nouveau Stock @endcan
{{-- --}} {{-- --}} @foreach($stocks as $stock) {{-- --}} {{-- --}} @endforeach
Date Produit Fournisseur Quantité InitialeTVAPU Achat PT Achat Statut
{{ \Carbon\Carbon::create($stock->date)->isoFormat('ll') }}
@if($stock->product)
{{ $stock->product->name }} #REF {{ $stock->product->reference }} | CAT: {{ ($stock->product->categories->pluck('name')->join(',') )??"" }}
@endif
{{ ($stock->supplier->name)??"" }}
{{ $stock->wholesale_initial_quantity}} {{ $stock->wholesaleMeasure->unit }}s
1 {{ $stock->wholesaleMeasure->unit }} => {{ $stock->in_detail_quantity }} {{ $stock->inDetailMeasure->unit }}s
{{ ($stock->tva)??0 }}
1 {{ $stock->wholesaleMeasure->unit }} = {{ $stock->wholesale_unit_purchase_price }} FCFA
1 {{ $stock->inDetailMeasure->unit }} = {{ $stock->in_detail_unit_purchase_price }} FCFA
{{ $stock->total_purchase_cost }} FCFA
{{ $stock->state->name }}
@php $stock->paymentMethod @endphp
@if(request()->is('stocks') || request()->is('stocks/*')) @can('authorize', 'add_stocks') @includeIf('stocks.create') @endcan @can('authorize', 'browse_stocks') @includeIf('stocks.show') @endcan @can('authorize', 'edit_stocks') @includeIf('stocks.edit') @endcan @can('authorize', 'delete_stocks') @includeIf('stocks.delete') @endcan @endif @endsection @push('scripts') @endpush