@extends('layouts.dash'.($frame?'_pop':'')) @section('title') Créancier @stop @section('content') @if (Session::has('message'))
{{ Session::get('message') }}
@else @if ($errors) @foreach ($errors->all() as $error)
{!! $error !!}
@endforeach @endif

Nouveau Creancier

{{ html()->form('POST', url('creanciers'))->open() }}
{!! html()->label('Origine','origine') !!} {!! html()->select('origine',['BEN'=>'Bénéficiaires','EMP' => 'Employeurs','CRE' => 'Créanciers','AUT' => 'Autre'],null) ->placeholder('A définir') ->attributes(['class' => 'form-control','id'=>'origine']) !!}
{!! html()->label('Créancier (bénéficiaire)','creancier_benef') !!} {!! html()->text('creancier_benef', null)->placeholder("Numéro de créancier") ->attributes(['id'=>'creancier_benef','class' => 'form-control']) !!}
{!! html()->label('Créancier (Employeur)','creancier_emp') !!} {!! html()->text('creancier_emp', null)->placeholder("Numéro de créancier") ->attributes(['id'=>'creancier_emp','class' => 'form-control']) !!}
{!! html()->label('Créancier (Creancier)','creancier_cre') !!} {!! html()->text('creancier_cre', null)->placeholder("Numéro de créancier") ->attributes(['id'=>'creancier_cre','class' => 'form-control']) !!}
@include("tiers.creanciers.content")
{{ html()->form()->close() }}
@endif @stop @section('scripts0') @stop