@extends('admin.index') @section('content') @push('css') @endpush

{{ $title }}

{!! Form::open(['url'=>aurl('charges/'.$charge->id),'files' => true,'enctype' => 'multipart/form-data', 'method'=>'put' ]) !!}
{!! Form::label('name', 'Description*')!!} {!! Form::text('description',$charge->description,['class'=>'form-control']) !!}
{!! Form::label('name', 'Type*')!!} {!! Form::select('type_id', $select, $charge->type_id,['class'=>'form-control'], ['placeholder' => 'Choisir un type...'],) !!}
{!! Form::label('name', 'Montante*')!!} {!! Form::text('amount',$charge->amount,['class'=>'form-control']) !!}
{!! Form::label('name', 'état de paiement*')!!} {!! Form::select('payment_state',['NonPaye' => 'NonPaye','Paye' => 'Paye', ], $charge->payment_state,['class'=>'form-control'],['placeholder' => 'Choisir un état de paiement...']); !!}
{!! Form::label('invoice_file','Choisir un fichier' ) !!}
{{--
--}} {!! Form::submit('Enregistrer',['class'=>'btn btn-primary col-md-12']) !!} {!! Form::close() !!}

Remarque : (*) => champ obligatoire

@endsection @push('js') @endpush