@extends('app.layouts.main') @section('header') @stop @section('content') @include('app.partials.breadcrumb') @include('app.partials.tabs') @include('app.partials.messages') {!! Element::mainbloc('open', __('app.depots_liste'), 'fas fa-table') !!} {!! Form::open(['method' => 'get', 'route' => ['admin.depot.consommation', $depot->id], 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'main_form', 'files' => false]) !!}
{!! Twb::admin_select('movement', __('app.select_movement'),$movement,[], $errors->first('movement'), '','', ['in_out' => 'IN OUT','out' => 'OUT','in' => 'IN']) !!}
{!! Twb::admin_text('date1',__('app.date1'),$date1,['class' => 'datepicker'], $errors->first('date1')) !!}
{!! Twb::admin_text('date2',__('app.date2'),$date2,['class' => 'datepicker'], $errors->first('date2')) !!}

{!! Form::button(__('app.submit'), ['type' => 'submit','','class' => 'btn btn-block btn-lg btn-success','id' => 'createButton' ]) !!}
{!! Form::close() !!}
@foreach($consommations AS $c) @if($c->movement == 'IN') @else @endif @endforeach
{{ __('app.date') }} {{ __('app.movement') }} {{ __('app.by') }} {{ __('app.numero') }} {{ __('app.nature') }} {{ __('app.reference') }}
{{ __('app.date') }} {{ __('app.movement') }} {{ __('app.by') }} {{ __('app.numero') }} {{ __('app.nature') }} {{ __('app.reference') }}
{{ $c->consocreated }} {{ $c->movement }}DIVALTO{{ $c->login }}{{ $c->numero }} {{ $c->nature }} {{ $c->reference }}
{{ $c->designation }}
{!! Element::mainbloc('close') !!} @stop @section('footer') @stop