@extends('online.layouts.app_back') @section('styles') @endsection @section('content')
@lang('layout.Products')
@if( onlineSystemConfig()['advertisment'] == 1) @endif
{{Form::open(['route' => 'online.ItemDetailsAll','method' => 'GET'])}}
@if($inventoryCategory) @foreach($inventoryCategory AS $key => $record3) @endforeach @endif
@if($inventoryBrand) @foreach($inventoryBrand AS $key => $recordB) @endforeach @endif
@if($color) @foreach($color AS $record4) @endforeach @endif
{!! Form::close() !!}
@if( onlineSystemConfig()['advertisment'] == 1) @endif

@lang('layout.Products')

@if($allProduct) @foreach($allProduct AS $record)
@if(session()->get('online_system_config')) @if(session()->get('online_system_config')->show_onhand === 0)
@lang('layout.InStock'): {{round($record->onhand,2)}}
@endif @endif
@lang('layout.Date'): {{($record->collection)?onlineConvertDate(date_format(date_create($record->collection), 'Y/m/d')):''}}
@lang('layout.SeeMore')
@endforeach @endif
@if ($allProduct->hasPages())
@if (!$allProduct->onFirstPage()) @endif @if ($allProduct->onFirstPage()) @else @endif @for ($i= 1; $i <= $allProduct->lastPage(); $i++) @if ($i == $allProduct->currentPage()) {{ $i }} @else {{ $i }} @endif @endfor @if ($allProduct->hasMorePages()) @else @endif @if ($allProduct->lastPage()) @endif
@endif
@if( onlineSystemConfig()['advertisment'] == 1) @endif
@endsection @push('scripts')