{{--

Stock Inventory As Of {{ $stockInventoryAsOfDate }}

--}}
{!! Form::open(array('route' => array('ending_inventory.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST','target'=>'_self')) !!}
{!! Form::select('company[]', $companies, null, array('id' => 'company', 'class' => 'form-control' ,'multiple' => 'multiple' ,'data-placeholder' => 'SELECT DIVISION')) !!}
{!! Form::select('branch[]',[], null, array('id' => 'branch_name', 'class' => 'form-control' ,'multiple' => 'multiple' ,'data-placeholder' => 'SELECT A BRANCH...')) !!}
{!! Form::select('category[]',$sel_categories, null, array('id' => 'category', 'class' => 'form-control' ,'multiple' => 'multiple' ,'data-placeholder' => 'SELECT A CATEGORY...')) !!}
{!! Form::text('date', $date_format, array('class' => 'form-control', 'id' => 'date_to')) !!}
{!! Form::text('keyword', $filterKeyword, array('class' => 'form-control', 'id' => 'keyword','placeholder' =>'Search')) !!}

Stock Inventory As Of {{ $formattedDate }}

{{-- Beginning: {!! number_format($totalBeginning, 0) !!} --}} {{-- Ending: {!! number_format($totalEnding, 0) !!}--}}
@foreach($items as $item) @endforeach
Company & Branch Barcode Item Code Ending Date Description Department Category Brand Cost Srp
{{ $item->company_name . ' - ' . $item->branch_name }} {{ $item->barcode }} {{ $item->itemcode }} {{ $item->ending }} {{ $item->date }} {{ $item->description }} {{ $item->department }} {{ $item->category }} {{ $item->brand }} {{ number_format($item->cost,2) }} {{ number_format($item->srp,2) }}
{{ $items->appends(request()->except('page'))->links() }}
{!! Form::close() !!}