@extends('layouts.app', ['pageSlug' => 'customerlist']) @section('content')
Search Date

Invoice Lists

@foreach ($invoices as $key => $inv) @endforeach
# Invoice Number Mangaer username paid price tax
{{$key+1}} {{$inv->invnum}} {{$inv->managername}} {{str_replace('_', ' ', $inv->username)}} {{date('Y-m-d', strtotime($inv->paid))}} {{number_format($inv->price, 2, '.', ' ')}} {{number_format($inv->tax, 2, '.', ' ')}}
Approved Payments

@foreach ($payments->where('temp_status','approved') as $key => $val) @endforeach
# ID Mangaer username paid price tax
{{$key+1}} {{$val->id}} Portal {{$val->username}} {{date('Y-m-d', strtotime($val->created_at))}} {{number_format($val->amount*$val->quantity, 2)}} 0
Pending Payments

@foreach ($payments->where('temp_status','!=','approved') as $key => $val) @endforeach
# ID Mangaer username paid price tax
{{$key+1}} {{$val->id}} Portal {{$val->username}} {{date('Y-m-d', strtotime($val->created_at))}} {{number_format($val->amount*$val->quantity, 2)}} 0
@endsection @push('js') @endpush