Date | Remark | Amount | Status |
---|---|---|---|
{$row->datecreated} | {ucfirst($row->remark)} | {$amount = doubleval($row->debit) > 0 ? doubleval($row->debit) : doubleval($row->credit);}₦{number_format($amount, 2, '.', ',')} | @if (strpos('failed', $row->remark)) Failed @else @if (doubleval($row->debit) > 0) Debit @else Credit @endif @endif |