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

Customer List

Add New
Reset
@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
# Customer Name Mobile No. Password. Amount Status Action
{{ $sort*($page-1)+($key+1) }} {{$list->name}} {{$list->mobile_number}} {{$list->password}} {{isset($list->paymentHistory) ? $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