@extends('Admin.layout.app') @section('content') @if(session('success'))
# | Request ID | Credit | Debit | Comments | Created At | Action |
---|---|---|---|---|---|---|
{{$loop->iteration}} | {{ucwords($credit->request_id)}} | {{($credit->credit_type == 1)? "$ ". number_format($credit->amount,2):""}} | {{($credit->credit_type == 0)?"$ ". number_format($credit->amount,2):""}} | {{$credit->comments}} | {{date('d/F/Y g:i A',strtotime($credit->created_at))}} | |
$ {{number_format($totalcredit,2)}} | $ {{number_format($totaldebit,2)}} | Total Amount | $ {{number_format(($totalcredit + $totaldebit),2)}} |