@extends('agent.layout.app') @section('title', 'Agent Wallet Transactions') @section('heading', "Transações da carteira da frota (" . __('provider.current_balance') . " : " . currency($wallet_balance).")") @section('content')
@php($page = ($pagination->currentPage-1)*$pagination->perPage) @foreach($wallet_transaction as $index => $wallet) @php($page++) @endforeach
@lang('provider.sno') @lang('provider.transaction_ref') @lang('provider.datetime') @lang('provider.transaction_desc') @lang('provider.status') @lang('provider.amount')
{{$page}} {{$wallet->transaction_alias}} {{$wallet->created_at->diffForHumans()}} {{$wallet->transaction_desc}} {{$wallet->type == 'C' ? 'Credit' : 'Debit'}} {{currency($wallet->amount)}}
{{-- Pagination --}}
{!! $wallet_transaction->links() !!}
@endsection