@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.consumptions_past'), 'fas fa-table', ['header' => 'bg-warning']) !!}
{{ __('app.date') }} |
{{ __('app.lot_number') }} |
{{ __('app.item') }} |
{{ __('app.description') }} |
{{ __('app.nb_items') }} |
@foreach($consommations AS $c)
{{ Date::datefr($c->cdate,'date') }} |
{{ $c->numero }} |
{{ $c->reference }} |
{{ $c->designation }} |
{{ $c->nb_items }} |
@endforeach
{{ __('app.date') }} |
{{ __('app.lot_number') }} |
{{ __('app.item') }} |
{{ __('app.description') }} |
{{ __('app.nb_items') }} |
{!! Element::mainbloc('close') !!}
{!! Element::mainbloc('open', __('app.consumptions'), 'fas fa-table', ['header' => 'bg-info']) !!}
@if(in_array(Session::get('depot.type'), Helper::arrayStockConsignation()))
{!! Twb::admin_text('last_name',__('app.scan_lot'),"",['id' => 'scan','focus' => 'focus']) !!}
{!! Form::open(['route' => ['post.conso'], 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'main_form', 'files' => true]) !!}
{!! Form::hidden('formtype','1') !!}
{!! Form::hidden('depot_id',Session::get('depot.id')) !!}
{!! Form::button(__('app.valid'), ['type' => 'button','','class' => 'btn btn-block btn-lg btn-success','id' => 'validForm1' ]) !!}
{!! Form::button(__('app.validationInProgress'), ['type' => 'button','','class' => 'btn btn-block btn-lg btn-info hidden','id' => 'validForm2' ]) !!}
{!! Form::close() !!}
@else
{!! Form::open(['route' => ['post.conso'], 'class' => 'form-horizontal', 'role' => 'form', 'id' => 'main_form', 'files' => true]) !!}
{!! Form::hidden('formtype','2') !!}
{!! Form::hidden('depot_id',Session::get('depot.id')) !!}
{!! Form::button(__('app.valid'), ['type' => 'button','','class' => 'btn btn-block btn-lg btn-success','id' => 'validForm1' ]) !!}
{!! Form::button(__('app.validationInProgress'), ['type' => 'button','','class' => 'btn btn-block btn-lg btn-info hidden','id' => 'validForm2' ]) !!}
{!! Form::close() !!}
@endif
{!! Element::mainbloc('close') !!}
@stop
@section('footer')
@stop