@extends('layout.app') @section('content')
Produits ({{ $datas->count() }})   Ajouter
@if(!auth()->user()->isComptable()) @endif @foreach($datas as $data) @if(!auth()->user()->isComptable()) @endif @endforeach
Nom Prix d'Achat ({!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}) Prix de Vente ({!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}) Quantité Restante Actions
{{ $data->name }} {{ number_format($data->buying_price, 0, '', ' ') }} {{ number_format($data->selling_price, 0, '', ' ') }} {{ ($data->qte > 0) ? $data->qte : 0 }} @if(!$data->hasRelatedRecords()) @endif
@endsection @push('scripts') @endpush