
<div class="callout callout-info">
    <div class="form-group row">
        <div class="col-md-12">
            @if(count($versements)>0)
            <div class="table-responsive">
                <table id="_table_vers" style="width:100%" class="table table-condensed table-striped table-bordered">
                    <thead>
                        <tr>
                            <th width='1%'>N°</th>
                            <th width='10%'>Montant</th>
                            <th width='1%' >Date</th>
                            <th width='10%'>Banque</th>
                            <th width='10%'>Compte</th>
                            <th width='5%'>Type</th>
                            <th >Observations</th>
                        </tr>
                    </thead>

                    <tbody>
                        @foreach ($versements as $versement)
                        <tr>
                            <td>{!! $versement->id !!}</td>
                            <td>{!! $versement->montant !!}</td>
                            <td>{!! $versement->date !!}</td>
                            <td>{!! $versement->banque_nom !!}</td>
                            <td>{!! $versement->compte !!}</td>
                            <td>{!! $versement->type !!}</td>
                            <td>{!! $versement->obervations !!}</td>
                        </tr>
                        @endforeach
                    </tbody>
                </table>
            </div>
            @else
                <h3>Aucun versements à afficher</h3>
            @endif
        </div>
    </div>
    <div class="form-group row">
        <div class="col-md-4" style="padding-top:20px">
            <a href="{!! url('versements_historique/'.$beneficiaire->id) !!}" class="box_versement fancybox.iframe">
                <input type="button" class="btn btn-success" value="Consulter l'historique des versements" />
            </a>
        </div>
    </div>
</div>

