@php $addInfo = json_decode($data['additional_info']); $year = date('y', strtotime($addInfo->periodicity)); $sumBrut = $data['FirstYearElapsedDepreciation']; $brut = $addInfo->unit_price;// - $data['FirstYearElapsedDepreciation']; $i = 1; @endphp @extends('templates.base.base_support') @section('labelledChart', $addInfo->chart." ".$addInfo->chart_label) @section('ministry', ucwords($addInfo->ministry)) @section('direction', ucwords($addInfo->direction)) @section('content')
Etat d'inventaire Neuf Bon Acceptable Mauvais état Très mauvais état
Nature : {{$addInfo->nature}} Nombre : {{$addInfo->nombre}}
Taux d'amortisssement linéaire : {{$addInfo->rate_amort}}
@for($i = 1; $i <= $data['ElapsedYearOndepreciation'];$i++) @php $sumBrut += $data['annualRate'];@endphp {{-- --}} @endfor @if($data['ElapsedYearOndepreciation'] == $addInfo->durer_amort) {{-- --}} @endif
Date Nature de l'opération No de prise en
charge à l'inventaire
Fournisseur Date de mise
en service
Détenteur Montant
Ministère
ou Institution
Direction ou Service Brut Amortis. ou
Provision
Net(fin d'exercice)
1. Entrée :
{{date('d/m/y', strtotime($data["period"]))}} {{ $addInfo->cat_op }} {{$addInfo->code}} {{$addInfo->fournisseur}} {{date('d/m/y', strtotime($addInfo->due_date))}} {{ucwords($addInfo->ministry)}} {{ucwords($addInfo->direction)}} {{number_format($brut, 0, ',', ' ')}} {{number_format($brut, 0, ',', ' ')}} {{number_format($brut*0, 0, ',', ' ')}}
2. Inventaire annuel
{{"31/12/".(int)$year + $i}} Dotation aux amortissements ({{number_format($addInfo->unit_price, 0, ',', ' ')}} x {{$addInfo->rate_amort}}) {{number_format($brut, 0, ',', ' ')}}{{number_format($data['annualRate'], 0, ',', ' ')}} {{number_format($brut - $sumBrut, 0, ',', ' ')}}
{{"31/12/".(int)$year + $i++}} Dotation aux amortissements ( {{number_format($addInfo->unit_price, 0, ',', ' ')." x ".$addInfo->rate_amort." x ".$data['LastMonth']."/12"}} ) {{number_format($data['annual_rate'], 0, ',', ' ')}}{{number_format($brut - $sumBrut, 0, ',', ' ')}} {{number_format(($brut - $sumBrut)*0, 0, ',', ' ')}}
3. Sortie définitive (cession, perte ou destruction)
Bénéficiare si cession :
Prix de cession :
Pour informations(optionnel)
@endsection