@extends('layouts.dash') @section('title') Ecriture @stop @section('content')

Nouvelle écriture

{{ html()->form('POST', url('/compta_old/journal'))->open() }}
{!! html()->label('Date','date') !!}
{!! html()->text('date', date('d/m/Y'))->attributes(['class' => 'form-control']) !!}
{!! html()->label('Numéro de compte','numcpt' ) !!} {!! html()->hidden('numcpt', null)->attributes(['id' => 'numcpt']) !!} {!! html()->hidden('nomcpt', null)->attributes(['id' => 'nomcpt']) !!}
{!! old('numcpt') !!}
{!! html()->label('Budget', 'budjet') !!}
{!! html()->text('budget', null)->attributes(['id'=>'budget','class' => 'text-right form-control','readonly'])!!}
{!! html()->label('Référence', 'ref') !!} {!! html()->text('ref', null)->attributes(['placeholder' => 'Référence', 'class' => 'form-control']) !!}
{!! html()->label( 'Libellé','libelle') !!} {!! html()->text('libelle', null)->attributes(['placeholder' => 'Libellé', 'class' => 'form-control']) !!}
Débit
{!! html()->text('debit', null)->attributes(['placeholder' => 'Débit', 'class' => 'text-right form-control'])!!}
Crédit
{!! html()->text('credit', null)->attributes(['placeholder' => 'Crédit', 'class' => 'text-right form-control'])!!}
Compensation (facultatif)
{!! html()->label('Numéro de compte (compensation)', 'numcpt2') !!} {!! html()->hidden('numcpt2', null)->attributes(['id' => 'numcpt2']) !!} {!! html()->hidden('nomcpt2', null)->attributes(['id' => 'nomcpt2']) !!}
{!! old('numcpt2') !!}
{!! html()->label( 'Budget (compensation)','budget2') !!}
{!! html()->text('budget2', null)->attributes(['id'=>'budget2','class' => 'text-right form-control','readonly'])!!}
{!! html()->submit('Enregistrer')->attributes(['class' => 'btn btn-primary']) !!}
{{ html()->form()->close() }}
@endsection @section('scripts') @endsection