@extends("agentportal.layouts.layout") @section("title", trans("message_lang.LBL_ACC_STATEMENTS")) @section("page_style") @endsection
@section("content")# | {!! trans("message_lang.LBL_DATE") !!} | {!! trans("message_lang.LBL_LOCATION_CODE") !!} | {!! trans("message_lang.LBL_LOCATION") !!} | {!! trans("message_lang.LBL_TXN_TYPE") !!} | {!! trans("message_lang.LBL_REFERENCE") !!} | {!! trans("message_lang.LBL_PAID_AT") !!} | {!! trans("message_lang.LBL_COMPANY") !!} | {!! trans("message_lang.LBL_CREDIT") !!} | {!! trans("message_lang.LBL_DEBIT") !!} | {!! trans("message_lang.LBL_BALANCE") !!} |
---|---|---|---|---|---|---|---|---|---|---|
{!! $key + 1 !!} | {!! format_date_tz($account->created_at) !!} | {!! (isset($account->agent_location_code) && $account->agent_location_code != '') ? $account->agent_location_code : "-" !!} | {!! (isset($account->agent_location_name) && $account->agent_location_name != '') ? $account->agent_location_name : "-" !!} | @if(Auth::guard('agentportal')->user()->hasAnyRole('finance back office|administrator|operation|compliance|customer service|finance back office|bussiness development|tresorerie') && in_array($account->transaction_type, ['repayment', 'adjustment', 'expense','topup'])) @if($request->has('fromSponsoredBanks') && $request->fromSponsoredBanks == 1) {!! isset($types[$account->transaction_type]) ? $types[$account->transaction_type] : "" !!} @else {!! isset($types[$account->transaction_type]) ? $types[$account->transaction_type] : "" !!} @endif @else {!! isset($types[$account->transaction_type]) ? $types[$account->transaction_type] : "" !!} @endif | @if($account->transaction_type == 'paid' && $account->agent_paid_transaction_id > 0) @if($account->agent_transaction_id != '') @if($request->has('fromSponsoredBanks') && $request->fromSponsoredBanks == 1) {!! $account->reference !!} @else {!! $account->reference !!} @endif @else {!! $account->reference !!} @endif @elseif($account->transaction_type == 'sent' && $account->agent_paid_transaction_id == 0) @if($account->send_money_transaction_id != '') @if($request->has('fromSponsoredBanks') && $request->fromSponsoredBanks == 1) {!! $account->reference !!} @else {!! $account->reference !!} @endif @else {!! $account->reference !!} @endif @else {!! $account->reference !!} @endif | {!! isset($account->paid_at) ? format_date_tz($account->paid_at) : '-' !!} | {!! $account->agent_company_code !!} | {!! $account->credit_amount > 0 ? '' . number_format($account->credit_amount, 2) . '' : '' !!} | {!! $account->debit_amount > 0 ? '' . number_format($account->debit_amount, 2) . '' : '' !!} | {!! number_format($account->balance, 2) !!} |
{!! trans('message_lang.DATATABLE_LBL_NO_DATA_AVAILABLE') !!} |