
<div class="callout callout-default">
    @if( ($benef_type=="A") || ($benef_type=="S") || ($benef_type=="R")|| ($benef_type=="C"))
        <div class="col-lg-max col-lg-offset-1">
            @if( ($benef_type=="A") || ($benef_type=="S") )
                <legend>Attestation de Paiements<span style="color:grey"></span></legend>
                <div class="form-group row">
                    <div class="col-md-8 col-md-offset-1">
                        {!! html()->radio('optionsRadios', false,'att_pmt')->attributes(['id' => 'att_pmt']) !!}
                        {!! html()->label( 'Attestation de paiement','att_pmt') !!}
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-md-8 col-md-offset-1">
                        {!! html()->radio('optionsRadios', false,'att_last_pmt')->attributes(['id' => 'att_last_pmt']) !!}
                        {!! html()->label( 'Attestation de Dernier paiement','att_last_pmt') !!}
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-md-8 col-md-offset-1">
                        {!! html()->radio('optionsRadios', false,'att_no_pmt')->attributes(['id' => 'att_no_pmt']) !!}
                        {!! html()->label( 'Attestation de non paiement','att_no_pmt') !!}
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-md-8 col-md-offset-1">
                        {!! html()->radio('optionsRadios', false,'att_cess_pmt')->attributes(['id' => 'att_cess_pmt']) !!}
                        {!! html()->label( 'Attestation de cessation de paiement','att_cess_pmt') !!}
                    </div>
                </div>
            @endif

            @if( ($benef_type=="R") || ($benef_type=="C") 
                    || (($benef_type=="S") && (($beneficiaire->statut=="SAV")|| ($beneficiaire->statut=="SAR"))) 
                    ) 
                    <legend>Retraite</legend>
                    <div class="row form-group">
                        <div class="col-md-8 col-md-offset-1">
                            {!! html()->radio('optionsRadios', false,'att_ret_mens')->attributes(['id' => 'att_ret_mens']) !!}
                            {!! html()->label( 'Attestation de retraite mensuelle','att_ret_mens') !!}
                        </div>
                    </div>
                    <div class="row form-group">
                        <div class="col-md-3 col-md-offset-1 ">
                            {!! html()->radio('optionsRadios', false,'att_ret_an')->attributes(['id' => 'att_ret_an']) !!}
                            {!! html()->label( 'Attestation de retraite annuelle','att_ret_an') !!}
                        </div>
                        <div class="col-md-1">
                            {!! html()->text('ret_ann_annee', date('Y')-1)
                                ->placeholder("Année")
                                ->attributes([ 'id'=>'ret_ann_annee','class' => 'form-control','style'=>'padding-left:2px;text-align:center'])
                            !!}
                        </div>
                    </div>
                    @if(($benef_type=="S")||($benef_type=="R"))
                    <div class="row form-group">
                        <div class="col-md-8 col-md-offset-1">
                            {!! html()->radio('optionsRadios', false,'att_alloc_vieil')->attributes(['id' => 'att_alloc_vieil']) !!}
                            {!! html()->label( "Attestation de paiement de l'allocation vieillesse",'att_alloc_vieil') !!}
                        </div>
                    </div>
                    @endif
            @endif

            <div class="form-group row">
                <div class="col-md-4" style="padding-top:20px">
                    <a href="#"  id='imprimer' class="">
                        <input type="button" class="btn btn-success" value="Imprimer" />
                    </a>
                </div>
            </div>

        </div>
    @else
        <div class="form-group row">
            <div class="col-md-8 col-lg-offset-1">
                <h2>Aucune édition n'est disponible pour le statut :
                    <small style="font-size:32px"></small>
                </h2>
                <div class="bg-danger alert">
                    Si ce bénéficiaire a un autre statut (Allocataire, Aides Social ...) vous devez accéder à sa fiche via la statut correspondant
                </div>
            </div>
        </div>
    @endif
</div>

