@extends('layouts.users') @section('title') Account Statement @endsection @section('contents')
Transaction Date | Reference Number | Description | Credit Balance | Debit | Credit |
---|---|---|---|---|---|
Transaction Date | Reference Number | Description | Credit Balance | Debit | Credit |
{{date('jS \of F Y', strtotime($trans->created_at))}} | {{ $trans->ref }} | {{ $trans->description }} | {{ number_format($trans->currbal, 0) }} | {{ !empty($trans->debit) ? '$'.number_format($trans->debit, 0):'' }} | {{ !empty($trans->credit) ? '$'.number_format($trans->credit, 0):'' }} |