@extends('admin.layouts.main-layout') @section('content')

User Payment

@if(session()->has('message'))
{{ session()->get('message') }}
@endif
@php $page=1; if(Request::input('page')) $page=Request::input('page'); $sort = $lists->perPage(); @endphp @forelse($lists as $key => $list) @empty @endforelse
# User Name User Mobile Total Amount Debit Amount Remain Amount
{{ $sort*($page-1)+($key+1) }} {{$list->username->name}} {{$list->username->mobile_number}} {{isset($list->paymenthistory['total_amount']) ? $list->paymenthistory['total_amount'] : ''}} {{isset($list->paymenthistory['debit_total_amount']) ? $list->paymenthistory['debit_total_amount'] : ''}} {{isset($list->paymenthistory['remain_amount']) ? $list->paymenthistory['remain_amount'] : ''}}
Record not found
Showing {{$lists->firstItem()}} to {{$lists->lastItem()}} of {{$lists->total()}}
{!! $lists->appends(request()->input())->links() !!}
@endsection @section('js-content') @endsection