@extends('layouts.app') @section('main-content')
--}} | Date | Produit | Fournisseur | Quantité Initiale | {{--TVA | --}}PU 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 ?? '' }}
|
@if ($stock->product->unitMeasures?->last()->unit != $stock->product->unitMeasures?->first()->unit)
{{ $stock->wholesale_initial_quantity }}
{{ $stock->wholesaleMeasure->unit }}s
1 {{ $stock->wholesaleMeasure->unit }} =>
{{ $stock->in_detail_quantity }}
{{ $stock->inDetailMeasure->unit }}s
@else
{{ $stock->in_detail_quantity }}
{{ $stock->inDetailMeasure->unit }}s
@endif
|
{{--
{{ ($stock->tva)??0 }}
| --}}
@if ($stock->product->unitMeasures?->last()->unit != $stock->product->unitMeasures?->first()->unit)
1 {{ $stock->wholesaleMeasure->unit }} =
{{ $stock->wholesale_unit_purchase_price }} FCFA
@endif
1 {{ $stock->inDetailMeasure->unit }} =
{{ $stock->in_detail_unit_purchase_price }} FCFA
|
{{ $stock->total_purchase_cost }} FCFA
|
{{ $stock->state->name }}
|
@php $stock->paymentMethod @endphp
|