@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('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
Marque : {{$addInfo->marque}} Modèle : {{$addInfo->label}}
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/
Donateur/
Réparateur
No chassis No d'immatriculation Source d'energie 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 : modalités d'entrée (bilan d'ouverture, acquisition à titre onéreux, don, bien mis à disposition, grosse réparation)
{{date('d/m/y', strtotime($addInfo->periodicity))}} {{ $addInfo->cat_op }} {{$addInfo->code}} {{$addInfo->forDonRep}} {{$addInfo->chassi}} {{$addInfo->matricule}} {{$addInfo->energy}} {{date('d/m/y', strtotime($addInfo->due_date))}} {{ucwords($addInfo->ministry)}} {{ucwords($addInfo->direction)}} {{number_format($addInfo->unit_price, 0, ',', ' ')}} {{number_format($addInfo->unit_price, 0, ',', ' ')}} {{number_format($addInfo->unit_price*0, 0, ',', ' ')}}
2. Inventaire annuel
{{"31/12/".$year}} Dotation aux amortissements ( {{number_format($addInfo->unit_price, 0, ',', ' ')}} x {{$addInfo->rate_amort}} x {{$data['FirstYearElapsedMonth']}}/12 ) {{number_format($addInfo->unit_price, 0, ',', ' ')}}{{number_format($data['FirstYearElapsedDepreciation'], 0, ',', ' ')}} {{number_format($addInfo->unit_price - $data['FirstYearElapsedDepreciation'], 0, ',', ' ')}}
{{"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 :
4. Pour informations
  • Nombre de Km au 31 décembre N
@endsection