@include('admin.layouts.header') @include('admin.layouts.sidebar')
@if($errors->any()) @foreach($errors->all() as $key => $error) @endforeach @endif @if(Session::has('success')) @endif @if(Session::has('error')) @endif

Merchant Offers

@if(isset($offer->id)) @else @endif
subvention_type_id) && $offer->subvention_type_id == 1) style="display: none;" @else style="display: flex;" @endif>
slug ?? ''); ?>
processing_fee_type) && $offer->processing_fee_type == 'fixed_amount') checked @endif value="fixed_amount" required/> processing_fee_type) && $offer->processing_fee_type == 'percentage') checked @endif value="percentage" required/>
processing_fee_first_emi) && $offer->processing_fee_first_emi) checked @endif value="processing_fee_first_emi"/>
advance_type) && $offer->advance_type == 'emi') checked @endif required/> advance_type) && $offer->advance_type == 'fixed_amount') checked @endif value="fixed_amount" required/> advance_type) && $offer->advance_type == 'percentage') checked @endif value="percentage" required/>
subvention_type_id) && $offer->subvention_type_id == 1) style="display: none;" @else style="display: flex;" @endif >
subvention_type_id) && $offer->subvention_type_id == 3) style="display: none;" @endif>
disbursement_method) ? 'checked="checked"' : (isset($offer->disbursement_method) && $offer->disbursement_method == 1 ? 'checked="checked"' : ''); ?> type="radio" class="form-control" name="disbursement_method" value="1"/>
disbursement_method) && $offer->disbursement_method == 2 ? 'checked="checked"' : '' ?> class="form-control" name="disbursement_method" value="2"/>
@foreach($disbursement_offers as $disbursement_key => $disbursement_offer)
category_id) && $offer->category_id != 24){ $hide_disbursement_at = 'hide_disbursement_at'; } ?>
disbursement_at) && !in_array($disbursement_offer->disbursement_at, ['tfr_approval', 'tfr_acknowledgement', 'on_installation'])) value="{!! $disbursement_offer->disbursement_at or '' !!}" required="requried" @endif class="form-control disbursement_at_other_phase"/>
@endforeach
@if(\App\BNPL::is($offer->merchant_id ?? $merchant_id))
@endif
payment_frequency) && $offer->payment_frequency == 1) checked="checked" @elseif(!isset($offer->payment_frequency)) checked="checked" @endif/> payment_frequency) && $offer->payment_frequency == 2) checked="checked" @endif/> payment_frequency) && $offer->payment_frequency == 3) checked="checked" @endif/> payment_frequency) && $offer->payment_frequency == 4) checked="checked" @endif/>
disbursement_at) && !in_array($offer->disbursement_at, ['tfr_approval', 'tfr_acknowledgement', 'on_installation'])) value="{!! $offer->disbursement_at or '' !!}" required="required" @endif class="form-control"/>
@if(isset($offer->status) && $offer->status == 1) @endif @if((\Auth::user()->user_type > 4 && (isset($offer) && $offer->annualised_irr > 15) || !isset($offer)) || \Auth::user()->user_type == 5)
disable_offer_status) && $offer->disable_offer_status == 1) checked @endif>
@endif
@if(\Illuminate\Support\Facades\Session::has('Merchant_Offers_Update|1-0-3-2'))
@endif
@include("admin.layouts.footer")