@if($item->discount_current_status == $item::EXPIRED)
You can update it is expired
@endif
{{ __('Update Item of '. $item->description)}}
@csrf
{!! Form::select('store_id', $stores, $item->store_id,[ 'class'=>'form-control select2 store', 'placeholder' => 'Select Store', 'data-url'=>route('get-city-store',['id'=>'1']) ]) !!}
Store is Required
@error('store_id') {{ $message }} @enderror
Description is Required
@error('description') {{ $message }} @enderror
Max Discount is Required
@error('max_discount') {{ $message }} @enderror
Min Order Amount is Required
@error('min_order_amount') {{ $message }} @enderror
{!! Form::select('external_flag_messages', $flagMessages, null,[ 'class'=>'form-control flag-message']) !!}
Flage Messages is Required
@error('external_flag_messages') {{ $message }} @enderror
Discount Flag is Required
@error('discount_flag') {{ $message }} @enderror
{!! Form::select('external_label_messages', $labelMessages, null,[ 'class'=>'form-control label-message',]) !!}
Label Messages is Required
@error('external_label_messages') {{ $message }} @enderror
Discount Label is Required
@error('discount_label') {{ $message }} @enderror
{!! Form::select('geo_type', $geoTypeList, $item->geoTiming->geo_type,[ 'class'=>'form-control geotiming-component geo_type', 'placeholder' => 'Select Geo type']) !!}
Geo Type is Required
@error('type') {{ $message }} @enderror
{!! Form::select('city_id', $cities, $item->geoTiming->city_id,[ 'class'=>'form-control geotiming-component city ', 'placeholder' => 'Select City', 'data-url'=>route("get-areas-of-city-area",["city_id"=>1]) ]) !!}
City is Required
@error('type') {{ $message }} @enderror
{!! Form::select('area_id', $areas, $item->geoTiming->area_id,[ 'class'=>'form-control geotiming-component area ', 'placeholder' => 'Select Area']) !!}
Area is Required
@error('type') {{ $message }} @enderror
Distance is Required
@error('distance_km') {{ $message }} @enderror
geoTiming->fixed_date) checked @endif >
Start Date is Required
End Date is Required
@php($repeats = explode(',',$item->geoTiming->repeat) ) {!! Form::select('repeat[]', $repeatList, $repeats,[ 'class'=>'form-control repeat select2 geotiming-component', 'multiple' => 'multiple']) !!}
Repeat is Required
@error('type') {{ $message }} @enderror
Start Time is Required
End Time is Required
geoTiming->next_day) checked @endif>
storeLable) checked @endif >
@if($item->discount_current_status == $item::EXPIRED )
EXPIRED
@else
discount_current_status == $item::STOPPED) checked @endif >
@endif
@if($item->discount_current_status != $item::EXPIRED ) @else EXPIRED @endif