@include('admin.layouts.header') @include('admin.layouts.sidebar')

Merchants

More Details
@if(Session::has('success')) @endif @if(Session::has('error')) @endif

Merchants

@if(\Illuminate\Support\Facades\Session::has('Merchant_Create|1-0-1'))
Add Merchants @endif @if(\Illuminate\Support\Facades\Session::has('Create_Merchant_User|-31')) Add User @endif
Clear Filter
@if(@count($merchants) > 0) {{----}} input('page') > 1) ? app('request')->input('page') : 1; ?> @foreach($merchants as $key => $merchant) {{----}} {{----}} {{----}} @endforeach
# Name CategoryEmailWebsite URL Referral Code Status Actions
call_list && !empty($merchant->call_list)) data-toggle="popover" title="Call" data-html="true" data-content="{!! $merchant->call_list !!}" class="fa fa-phone popover-view-check" @else class="fa fa-phone exotel-call" @endif data-type="application_id" data-id="{!! $merchant->id !!}" data-contact="{!! $merchant->contact_number !!}" style="color: black;padding-top: 10px;"> @if(isset($merchant->merchant_name)) {{ $merchant->merchant_name }} @else - @endif
@if($merchant->pendingDoc)
@foreach($merchant->pendingDoc as $penDoc=>$penDocValue) @if(!$penDocValue) {!! $penDoc !!} @endif @endforeach
@endif
category_id]['name']; // $category_name = \App\MerchantCategory::where('id',$merchant->category_id)->first(['name']); // $signed_agreement = \App\MerchantFiles::where('merchant_id',$merchant->id)->whereNull('type')->where('file_type','signed_agreement')->first(['id']); echo isset($category_name->name) ? $category_name->name : '-'; // echo isset($category_name) ? $category_name : '-'; ?> {{ $category_names[$merchant->category_id]['name'] or '-' }} @if(isset($merchant->email)) {{ $merchant->email }} @else -- @endif@if(isset($merchant->contact_number)) {{ ($merchant->contact_number) }} @else -- @endif@if(isset($merchant->merchant_logo)) -- @else -- @endif
@if(isset($merchant->website_url)) Partner @else -- @endif
@if(isset($merchant->emi_check_out_url)) Checkout @else -- @endif
code);?> @if(isset($merchant->status)) @if(!isset($merchant->receive_application)) Deactivated @elseif($merchant->status == 'active' && $merchant->pre_status == 0) Active for disbursements @elseif($merchant->status == 'active' && $merchant->pre_status == 1) Active for login/training @else {{ ($merchant->status) }} @endif @else -- @endif @if(\Illuminate\Support\Facades\Session::has('Merchant_Update|1-0-2')) @endif @if(\Illuminate\Support\Facades\Session::has('Merchant_Center_View|1-0-1-0')) @endif active_offers[0]) ? $merchant->active_offers[0] : ''; ?> @if((isset($offersData->status) && $offersData->status == 1) || isset($merchant->module[0]) || isset($signed_agreement[$merchant->id]['id'])) @if(((isset($merchant->digital_sign->id) && isset($merchant->digital_sign->isagreementsigned)) || isset($signed_agreement[$merchant->id]['id']) || (strtotime($merchant->created_at) < strtotime('2019-03-21 10:00:00'))) || !$merchant->is_guest_active) @if(\Illuminate\Support\Facades\Session::has('Merchant_Offers_View|1-0-3-0')) @endif @endif @endif @if(\Illuminate\Support\Facades\Session::has('Merchant_Delete|1-0-3')) @endif @if(isset($merchant->digital_sign->id) && isset($merchant->digital_sign->isagreementsigned)) Signed @endif
@else
No Data Found
@endif
{!! $merchants->appends(\Request::except('page', '_token'))->render()!!}
{{--Edit Verification Script Modal--}} @include('admin.modal.email_reminders') @include("admin.layouts.footer")