JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Referral Program') }} @endsection @section('breadcrumb') @endsection @push('css-page') @endpush @push('script-page') @endpush @php $settings = Utility::getAdminPaymentSetting(); $currency = isset($settings['currency_symbol']) ? $settings['currency_symbol'] : '$'; @endphp @section('content')
{{-- Start for all settings tab --}}
{{ __('Transaction') }}
@if (count($transactions) > 0) @foreach ($transactions as $key => $transaction) @endforeach @else @endif
# {{ __('Company Name') }} {{ __('Referral Company Name') }} {{ __('Plan Name') }} {{ __('Plan Price') }} {{ __('Commission (%)') }} {{ __('Commission Amount') }}
{{ ++$key }} {{ !empty($transaction->getCompany) ? $transaction->getCompany->name : '-' }} {{ !empty($transaction->getUser) ? $transaction->getUser->name : '-' }} {{ !empty($transaction->getPlan) ? $transaction->getPlan->name : '-' }} {{ $currency . $transaction->plan_price }} {{ $transaction->commission }} {{ $currency . ($transaction->plan_price * $transaction->commission) / 100 }}
{{ __('No entries found.') }}
{{ __('Payout Request') }}
@if (count($payRequests) > 0) @foreach ($payRequests as $key => $transaction) @endforeach @else @endif
# {{ __('Company Name') }} {{ __('Requested Date') }} {{ __('Requested Amount') }} {{ __('Action') }}
{{ ++$key }} {{ !empty($transaction->getCompany) ? $transaction->getCompany->name : '-' }} {{ $transaction->date }} {{ $currency . $transaction->req_amount }}
{{ __('No entries found.') }}
{{ Form::open(['route' => 'referral-program.store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
{{ __('Settings') }}
is_enable == '1' ? 'checked' : '' }}>
{{ Form::label('percentage', __('Commission Percentage (%)'), ['class' => 'form-label']) }} {{ Form::number('percentage', isset($setting) ? $setting->percentage : '', ['class' => 'form-control', 'placeholder' => __('Enter Commission Percentage')]) }}
{{ Form::label('minimum_threshold_amount', __('Minimum Threshold Amount'), ['class' => 'form-label']) }}
{{ $currency }} {{ Form::number('minimum_threshold_amount', isset($setting) ? $setting->minimum_threshold_amount : '', ['class' => 'form-control', 'placeholder' => __('Enter Minimum Payout')]) }}
{{ Form::label('guideline', __('GuideLines'), ['class' => 'form-label text-dark']) }}
{{ Form::close() }}
@endsection