@extends('layouts.dash')
{!! $with_navbar=false !!}
@section('title') Achats @stop
@section('title_card',"Nouvel achat")
@section('content')

<div class="card">
        @if ($errors)
            @foreach ($errors->all() as $error)
                <div class='bg-danger alert'>{!! $error !!}</div>
            @endforeach
        @endif
        <div class="col-lg-max col-lg-offset-1 container-fluid"> 
            {!! Form::open(['achats' => 'form', 'url' => '/achats', 'class' => 'form-horizontal']) !!}


            @include("comptabilite.achats.content")

            <div class='form-group row'>
                <div class="col-md-12">
                    {!! Form::submit('Enregistrer', ['class' => 'btn btn-primary']) !!}
                    <a class="btn btn-warning"  href="{!! url('achats') !!}">Retour</a>
                </div>
            </div>

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