{!! Form::label('offer_type', __('item.category'), ['class' => 'control-label mb-2']) !!}
{!! Form::select('offer_type',offerType(),(isset($result->offer_type))?$result->offer_type:null, [
'class' => 'form-control select2-new',
'id' => '__offer_type'
]) !!}
{{-- {!! Form::select('offer_type',offerType(),2, [
'class' => 'form-control select2-new',
'id' => '__offer_type'
]) !!} --}}
@php
$countOffer=0;
$style="d-none";
@endphp
@if(isset($offerRules) && count($offerRules) > 0)
@php
$countOffer=count($offerRules);
@endphp
@foreach($offerRules as $offerKey => $offerRow)
@php $offerLabel = ($offerKey == 0) @endphp
@include('admin.global-items.ajax.offer_template', [
'offerRow' => $offerRow,
'label' => $offerLabel,
'offerKey' => $offerKey
])
@endforeach
@endif