@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']) !!}
@foreach($consommations AS $c) @endforeach
{{ __('app.date') }} {{ __('app.lot_number') }} {{ __('app.item') }} {{ __('app.description') }} {{ __('app.nb_items') }}
{{ Date::datefr($c->cdate,'date') }} {{ $c->numero }} {{ $c->reference }} {{ $c->designation }} {{ $c->nb_items }}
{{ __('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]) !!}
@foreach($lots AS $l) @endforeach
- {{ __('app.lot_number') }} {{ __('app.item') }} {{ __('app.description') }} {{ __('app.nb_items') }} {{ __('app.dim1') }} {{ __('app.dim2') }} {{ __('app.dim3') }} {{ __('app.weight') }} {{ __('app.status') }}
- {{ __('app.item') }} {{ __('app.description') }} {{ __('app.nb_items') }} {{ __('app.dim1') }} {{ __('app.dim2') }} {{ __('app.dim3') }} {{ __('app.weight') }} {{ __('app.status') }}
{{ $l->numero }} {{ $l->reference }} {{ $l->designation }} {{ $l->nb_items }} {{ round($l->dim1) }} {{ round($l->dim2) }} {{ round($l->dim3,1) }} {{ round($l->weight) }} {{ Helper::stockstatus($l->nature) }}
{!! 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]) !!}
@foreach($lots2 AS $l) @endforeach
{{ __('app.quantity_consumed') }} {{ __('app.quantity_stock') }} {{ __('app.quantity_in_transit') }} {{ __('app.item') }} {{ __('app.description') }} {{ __('app.nb_items') }} {{ __('app.dim1') }} {{ __('app.dim2') }} {{ __('app.dim3') }} {{ __('app.weight_stock') }}
{{ __('app.quantity_consumed') }} {{ __('app.quantity_stock') }} {{ __('app.quantity_in_transit') }} {{ __('app.item') }} {{ __('app.description') }} {{ __('app.nb_items') }} {{ __('app.dim1') }} {{ __('app.dim2') }} {{ __('app.dim3') }} {{ __('app.weight_stock') }}
{{ 1*@$quantityByArticles[$l->articleid]['in_stock'] }} {{ 1*@$quantityByArticles[$l->articleid]['in_transit'] }} {{ $l->reference }} {{ $l->designation }} {{ $l->totalitems }} {{ round($l->dim1) }} {{ round($l->dim2) }} {{ round($l->dim3,1) }} {{ round($l->totalweight) }}
{!! 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