@extends('apex-layouts.main') @section('title','Transactions') @section('header-right') Total:  {{ $transactions->total() }} {!! \App\helpers\ViewCommonHelper::headerExportButton() !!} @endsection @section('content')
@foreach($transactions as $transaction) @endForeach
# method invoice amount status type agent created_at
{{$transaction->id}} @if($transaction->memberName) {{$transaction->memberName}}
@endif @if($transaction->leadName) {{$transaction->leadName}}
@endif {{$transaction->method}}
{{$transaction->invoiceTitle}} ({!! $transaction->invoice_id !!}) Rs {{$transaction->amount}} @if($transaction->status == "SUCCESS") {{$transaction->status}} @else{{$transaction->status}} @endif
{{\App\helpers\ViewCommonHelper::getDateFormat($transaction->statusDate,1)}}
@if($transaction->type == \App\models\Transaction::TYPE_CHARGES) {{$transaction->type}} @else{{$transaction->type}} @endif {{$transaction->createdByName}} {{\App\helpers\ViewCommonHelper::getDateFormat($transaction->created_at)}}
@if($transactions->total() > $transactions->perPage()) @endif
@endsection