@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/pages/css/profile.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css') !!} @endsection @section('content')
{!! Form::open(array('route' => 'add.product.offers','method' => 'PUT', 'class' => 'form-inline margin-bottom-0','id' => 'myform')) !!}
{!! __('Offers can be added by filter sections or searching for a category') !!}
@php $limit = Session::get('limit_product'); @endphp
{{ Form::close() }} @if ($products->total() > 0) {!! Form::open(array('route' => 'save.product.offers','method' => 'post', 'class' => 'form-inline margin-bottom-0')) !!}
{!! __('Results No') !!} ({{ $products->total() }} {!! __('Item') !!})
@foreach ($products as $index => $item) @endforeach
{{__('Store items')}}
{{__('an item')}} {{__('Category')}} {{__('Current price')}} {{__('Price after discount')}}
{{ $loop->index + $products->firstItem() }} @if ($item->depth > 1) {!! str_repeat('-',$item->depth) !!}◄ @endif {{ $item->title }} {{ @$item->Category->title }} {{ round($item->price) }}
{{ Form::close() }} @else

{!! __('No Results') !!}


@endif
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/jquery-mask-as-number.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-ui/jquery-ui.min.js') !!} @endsection