@include('forms.fbncheader') @include('forms.fdatatables') {!! Html::style('css/bootstrap-select.min.css') !!}
{!! Html::image("img/plan.png", "Plan", array( 'width'=>'100%',"style"=>"padding:4px" )) !!}

Plan comptable {!! $exercice !!}

{!! Form::select('exercice',$exercices,$exercice, ['id' => 'exercice','class' => 'form-control selectpicker', 'data-width' => "50%",'style' => 'background-color:lightgrey;font-weight:bold;' ] ) !!}
@if($exercice==$exercice_encours) @endif @foreach ($plans as $plan) @if($exercice==$exercice_encours) @endif @endforeach
N°compte Nom Compte Catég.Bilan Catég.CR Bilan Amort.BudgetDébit Crédit @if($exercice==$exercice_encours) Solde @else Solde
(crédit-débit) @endif
@if($user->can("PLA_AJO") || $user->HasRole("ADMINISTRATEUR"))

Ajouter un compte

@endif
@if($user->can("MDT_VISU") || $user->HasRole("ADMINISTRATEUR")) @endif {!! $plan->numcpt !!} @if($user->can("MDT_VISU") || $user->HasRole("ADMINISTRATEUR")) @endif {!! $plan->nomcpt !!} {!! $plan->categ!!} {!! $plan->categ_bilan!!} {!! $plan->categ_cr!!} {!! $plan->bilan!!} {!! $plan->amort!!}{!! number_format($plan->budget,0,",","") !!}{!! number_format($plan->getDebitCalc($exercice),0,",","") !!} {!! number_format($plan->getCreditCalc($exercice),0,",","") !!} @if($exercice==$exercice_encours) {!! number_format($plan->getSoldeTotCalc($exercice),0,",","") !!} @else {!! number_format($plan->getSoldeCalc($exercice),0,",","") !!} @endif @if( $user->can("PLA_MAJ") || $user->HasRole("ADMINISTRATEUR")) @endif @if( ($user->can("PLA_SUP") || $user->HasRole("ADMINISTRATEUR")) &&($plan->getNbEcrituresAttribute()==0) ) {!! Form::open(['url' => '/compta/plan/' . $plan->id, 'method' => 'DELETE']) !!} {!! Form::close() !!} @endif

@if($user->can("PLA_AJO") || $user->HasRole("ADMINISTRATEUR")) Ajouter un compte @endif

{!! Html::script('js/bootstrap-select.min.js') !!}