@extends('layouts.admin.app') @section('title', translate('Wallet')) @push('css_or_js') @endpush @section('customerDetails') active @endsection @section('content')
| {{ translate('sl') }} | {{translate('Transaction Id')}} | {{translate('Transaction Date')}} | {{translate('Amount')}} | {{translate('Reference')}} | {{translate('Transaction type')}} |
|---|---|---|---|---|---|
| {{ $key + $walletHistory->firstItem() }} |
{{ $walletHistoryTransaction->reference_id }}
|
{{ \App\CentralLogics\Helpers::date_format($walletHistoryTransaction->created_at) }}
{{ \App\CentralLogics\Helpers::time_format($walletHistoryTransaction->created_at) }}
|
@if($walletHistoryTransaction->debit == 0)
+ {{ \App\CentralLogics\Helpers::format_currency($walletHistoryTransaction->credit + $walletHistoryTransaction->admin_bonus) }}
@if ($walletHistoryTransaction->admin_bonus > 0)
( {{ translate('Bonus ') . \App\CentralLogics\Helpers::format_currency( $walletHistoryTransaction->admin_bonus) }} )
@endif
{{ translate('Credit') }}
@else
- {{ \App\CentralLogics\Helpers::format_currency($walletHistoryTransaction->debit) }}
{{ translate('Debit') }}
@endif
|
@if (is_numeric($walletHistoryTransaction->reference))
{{ $walletHistoryTransaction->reference }}
@else
{{ $walletHistoryTransaction->reference }}
@endif
|
{{ translate($walletHistoryTransaction->transaction_type) }}
|