@extends('layouts/contentNavbarLayout') @section('title', 'Manage User') @section('content') @php $payoutapi_active = config('constant.PAYOUT_API_ACTIVE'); $payinapi_active = config('constant.PAYIN_API_ACTIVE'); @endphp

Manage User | {{ $user->username }}

@csrf {{-- Personal Details --}}
{{-- Address --}}
{{-- Company Type --}}
{{-- Private Ltd Company Fields --}} @if ($user->company_type === 'private_ltd_company')
{{-- File Uploads Section --}}
@php $documents = [ [ 'label' => 'Firm PAN File', 'name' => 'private_ltd_company_firm_pan_file', 'file' => $user->firm_pan_file ?? null, ], [ 'label' => 'Company PAN File', 'name' => 'private_ltd_company_pan_file', 'file' => $user->pan_file ?? null, ], [ 'label' => 'Aadhar Front', 'name' => 'private_ltd_company_aadhar_front', 'file' => $user->aadhar_front ?? null, ], [ 'label' => 'Aadhar Back', 'name' => 'private_ltd_company_aadhar_back', 'file' => $user->aadhar_back ?? null, ], [ 'label' => 'GST File', 'name' => 'private_ltd_company_gst_file', 'file' => $user->gst_file ?? null, ], [ 'label' => 'Bank Statement', 'name' => 'private_ltd_company_bank_statement', 'file' => $user->cancelled_cheque ?? null, ], [ 'label' => 'AOA File', 'name' => 'private_ltd_company_aoa_file', 'file' => $user->aoa_file ?? null, ], [ 'label' => 'MOA File', 'name' => 'private_ltd_company_moa_file', 'file' => $user->moa_file ?? null, ], [ 'label' => 'Certificate of Incorporation', 'name' => 'private_ltd_company_certificate_of_incorporation', 'file' => $user->certificate_of_incorporation ?? null, ], ]; @endphp @foreach ($documents as $doc)
@if (!empty($doc['file'])) Preview @endif
@endforeach
@endif {{-- Submit --}}
@if (!empty($user_service))
@csrf
@error('password')
{{ $message }}
@enderror
@error('password_confirmation')
{{ $message }}
@enderror
@endif
@if (!empty($user_service))
@csrf {{-- Payout Section --}}

Payout Configuration

{{-- Charges Type --}}
{{-- Percentage Fields --}} {{-- Flat Rate Fields --}}
{{-- Payin Section --}}

Payin Configuration

@endif
@if (!empty($user_service))
@csrf {{-- ===== Payout API Section ===== --}}
Payout API Configuration
{{-- Charges Type --}}
{{-- Percentage Charges --}} {{-- Flat Rate Charges --}} {{-- Pipeline / Status / Futr --}}
{{-- ===== Payin API Section ===== --}}
Payin API Configuration
{{-- Submit --}}
@endif
{{-- Freeze Balance --}}
Freeze Balance

Current: ₹{{ number_format($user->freeze_balance, 2) }}

{{-- Reserve Balance --}}
Reserve Balance

Current: ₹{{ number_format($user->reserve_balance, 2) }}

{{-- Payout Wallet --}}
Payout Wallet

Current: ₹{{ number_format($user->wallet_balance, 2) }}

{{-- Payin Wallet --}}
Payin Wallet

Current: ₹{{ number_format($user->payin_balance, 2) }}

Developer Option
@if (!empty($user->api_key) && !empty($user->secret_key)) @endif
API Status @if (!empty($user->api_key) && !empty($user->secret_key)) Success @else
@csrf
@endif
API Key {{ $user->api_key ?? '' }}
Secret Key {{ $user->secret_key ?? '' }}
White List IP
@php $ips = array_filter(explode(',', $user['whitelist_ips'])); @endphp @foreach ($ips as $ip)
@endforeach
Payout Callback
Payin Callback
@endsection @section('js') @endsection