@extends('layouts.admin') @section('content')
{!! Form::open(array('route' => $route, 'method' => 'GET', 'class'=>'filter_form mobile_filter')) !!}
{!! Form::label("item_name", __('item.name') , ['class' => 'first-column']) !!} {!! Form::text("item_name", $_GET['item_name'] ?? '', ['class'=>'form-control live-search second-column ml-0' , 'style' => 'height: 40px;']) !!}
{!! Form::label("category", "Category" , ['class' => 'first-column']) !!} {!! Form::select('category[]',$category, $_GET['category'] ?? '', ['class'=>'form-control select2 second-column','multiple'=>true]) !!}
{!! Form::label("status", "Status" , ['class' => 'first-column']) !!} {!! Form::select('status',[''=>__('common.select-option')]+activeStatus(),$_GET['status'] ?? '', ['class'=>'form-control select2 second-column']) !!}
{!! Form::hidden('filter', 1) !!} {!! __('orders.reset') !!}
{!! Form::close() !!}
@php $whiteClass = "style='background: #ffffff !important;'"; $redClass = "style='background: #ffcccb !important;'"; $greenClass = "style='background: #cdffcc !important;'"; if (isset($isDownload)) { $whiteClass = ''; } @endphp @php $class = ''; @endphp @if (!isset($isDownload)) @php $class = 'item-font'; @endphp @endif {{-- --}} @if (isset($items) && count($items) > 0) @php $id = 0; $i = 1; @endphp @foreach ($items as $k => $detail) @if($hasVariation && ($id != $detail->id)) @endif @php if($id != $detail->id) { $i++; } $id = $detail->id; @endphp @endforeach @else @endif

{{ __('global_items.global_items_prices') }}

@if (isset($items) && count($items) > 0)
{!! Form::text('start_date',$startDate, [ 'class' => 'form-control datepicker-input-sch start_date' ]) !!}
@endif
{{ __('common.sr-no') }} {{ __('item.global_item_name') }} {{ __('item.variation_name') }} {{ __('item.regular_price15') }} {{ __('item.offer_price') }} {{ __('item.inside_price') }} {{ __('item.foodora_price') }} {{ __('item.night_meny_price') }} {{ __('item.night_meny_inside_price') }}
@if ($id != $detail->id) {{ $i }} @endif @if ($id != $detail->id) @if (!isset($isDownload)) {{ $detail->name }} @else {{ $detail->name }} @endif @else @if (!isset($isDownload)) {{ $detail->name }} @endif @endif {!! __('global_items.base_price') !!} {!! Form::number('regular_price',numberFormat($baseRegular,false,false),['class' => 'form-control __input']) !!} @if($baseRegular != $detail->regular_price) {!! numberFormat($detail->regular_price) !!} @endif {!! Form::number('',numberFormat($baseOffer,false,false),['class' => 'form-control __input']) !!} @if($baseOffer != $detail->offer_price) {!! numberFormat($detail->offer_price) !!} @endif {!! Form::number('inside_price', numberFormat($baseInside,false,false),['class' => 'form-control __input']) !!} @if($baseInside != $detail->inside_price) {!! numberFormat($detail->inside_price) !!} @endif {!! Form::number('',numberFormat($baseFoodora,false,false),['class' => 'form-control __input']) !!} @if($baseFoodora != $detail->foodora_price) {!! numberFormat($detail->foodora_price) !!} @endif {!! Form::number('',numberFormat($baseNight,false,false),['class' => 'form-control __input']) !!} @if($baseNight != $detail->night_meny_price) {!! numberFormat($detail->night_meny_price) !!} @endif {!! Form::number('',numberFormat($baseNightInside,false,false),['class' => 'form-control __input']) !!} @if($baseNightInside != $detail->night_meny_inside_price) {!! numberFormat($detail->night_meny_inside_price) !!} @endif
@if ($id != $detail->id) @if(!$hasVariation) {!! $i !!} @endif @endif @if(!$hasVariation) @if ($id != $detail->id) @if (!isset($isDownload)) {{ $detail->name }} @else {{ $detail->name }} @endif @else @if (!isset($isDownload)) {{ $detail->name }} @endif @endif @else {{ $detail->name }} @endif {{ $detail->options }}
{!! Form::number('regular_price',numberFormat($regularPrice,false,false),['class' => 'form-control __input']) !!} @if($regularPrice != $eRegularPrice) {!! numberFormat($eRegularPrice) !!} @endif
{!! Form::number('',numberFormat($offerPrice,false,false),['class' => 'form-control __input']) !!} @if($offerPrice != $eOfferPrice) {!! numberFormat($eOfferPrice) !!} @endif {!! Form::number('inside_price',numberFormat($insidePrice,false,false),['class' => 'form-control __input']) !!} @if($insidePrice != $eInsidePrice) {!! numberFormat($eInsidePrice) !!} @endif {!! Form::number('',numberFormat($foodoraPrice,false,false),['class' => 'form-control __input']) !!} @if($foodoraPrice != $eFoodoraPrice) {!! numberFormat($eFoodoraPrice) !!} @endif {!! Form::number('',numberFormat($nightMenyPrice,false,false),['class' => 'form-control __input']) !!} @if($nightMenyPrice != $eNightPrice) {!! numberFormat($eNightPrice) !!} @endif {!! Form::number('',numberFormat($nightMenyInsidePrice,false,false),['class' => 'form-control __input']) !!} @if($nightMenyInsidePrice != $eNightInside) {!! numberFormat($eNightInside) !!} @endif
{{ __('common.no_records') }}
@endsection @section('script') @endsection