@extends('admin.layouts.app') @section('panel')
@if ($deposit->branch)
@lang('Deposited from') {{ __(@$deposit->branch->name) }}
@else
@lang('Deposited Via') {{ __(@$deposit->gateway->name) }}
@endif
  • @lang('Date') {{ showDateTime($deposit->created_at) }}
  • @lang('Transaction Number') {{ $deposit->trx }}
  • @lang('Username') @can('admin.users.detail') {{ @$deposit->user->username }} @else {{ @$deposit->user->username }} @endcan
  • @if ($deposit->branch)
  • @lang('Branch') @can('admin.branch.details') {{ __(@$deposit->branch->name) }} @else {{ __(@$deposit->branch->name) }} @endcan
  • @lang('Deposited By') @can('admin.branch.staff.details') {{ __(@$deposit->branchStaff->name) }} @else {{ __(@$deposit->branchStaff->name) }} @endcan
  • @else
  • @lang('Method') {{ __(@$deposit->gateway->name) }}
  • @endif
  • @lang('Amount')
    {{ showAmount($deposit->amount) }} {{ __($general->cur_text) }}
  • @lang('Charge') {{ showAmount($deposit->charge) }} {{ __($general->cur_text) }}
  • @lang('After Charge') {{ showAmount($deposit->amount + $deposit->charge) }} {{ __($general->cur_text) }}
  • @if ($deposit->gateway)
  • @lang('Rate') 1 {{ __($general->cur_text) }} = {{ showAmount($deposit->rate) }} {{ __($deposit->baseCurrency()) }}
  • @endif
  • @lang('Payable') {{ showAmount($deposit->final_amount) }} {{ __($deposit->method_currency) }}
  • @lang('Status') @php echo $deposit->statusBadge @endphp
  • @if ($deposit->admin_feedback)
  • @lang('Admin Response')

    {{ __($deposit->admin_feedback) }}

  • @endif
@if ($details || $deposit->status == Status::PAYMENT_PENDING)
@lang('User\'s Information')
@if ($details != null) @foreach (json_decode($details) as $val) @if ($deposit->method_code >= 1000)
{{ __(@$val->name) }}
@if (@$val->type == 'checkbox') {{ implode(',', $val->value) }} @elseif(@$val->type == 'file') @if (@$val->value) @can('admin.download.attachment') @lang('Attachment') @endcan @else @lang('No File') @endif @else

{{ __(@$val->value) }}

@endif
@endif @endforeach @if ($deposit->method_code < 1000) @include('admin.deposit.gateway_data', ['details' => json_decode($details)]) @endif @endif @if ($deposit->status == Status::PAYMENT_PENDING)
@can('admin.deposit.approve') @endcan
@endif
@endif
{{-- REJECT MODAL --}} @endsection @push('script') @endpush