@extends('layouts.master')
 
@section('title') Mise à jour d'une fiche versement en préparation@stop
 
@section('content')
 
<div class="col-lg-max col-lg-offset-1">
 
    @if ($errors)
        @foreach ($errors->all() as $error)
            <div class='bg-danger alert'>{!! $error !!}</div>
        @endforeach
    @endif
 
    <h1><i class='fa fa-'></i> Mise à jour d'une fiche versement en préparation</h1>
 
    {!! Form::model($versement_b, ['versement_b' => 'form'
        , 'url' => '/recouvrement/versements_brouillon/' . $versement_b->id, 'method' => 'PUT', 'class' => 'form-horizontal']) !!}

    <div class="tab-content">
        <div class="form-group">
            <div class="col-md-3">
                    {!! Form::label('nom', 'Nom') !!}
                    {!! Form::text('nom', $beneficiaire->nom, ['disabled' => 'true', 'class' => 'form-control text-uppercase']) !!}
            </div>
            <div class="col-md-3">
                    {!! Form::label('prenom', 'Prenom') !!}
                    {!! Form::text('prenom', $beneficiaire->prenom, ['disabled' => 'true', 'class' => 'form-control text-uppercase']) !!}
            </div>
        </div>


        <div class="form-group">
            <div class="col-md-4">
                <div class="input-group has-error">
                    <div class="input-group-addon ">Montant rappel</div>
                    {!! Form::text('rappel', null, ['placeholder' => 'Montant rappel', 'class' => 'text-right form-control'])!!}
                    <div class="input-group-addon">CFP</div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-8">
                {!! Form::label('obs_vers', 'Observations') !!}
                {!!  Form::textarea('obs_vers', null, ['placeholder' => 'Observations', 'class' => 'form-control', 'rows'=>'3']) !!}
            </div>
         </div>

    </div>
</div>



    <div class="col-sm-9">
    {!! Form::submit('Enregistrer', ['class' => 'btn btn-primary']) !!}
    </div>


    {!! Form::close() !!}
    </div>
 
</div>
 

@stop