@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{{trans('file.date')}} | {{trans('file.Reference No')}} | {{trans('file.Related Transaction')}} | {{trans('file.Credit')}} | {{trans('file.Debit')}} | {{trans('file.Balance')}} | ||
---|---|---|---|---|---|---|---|
{{$key}} | {{date($general_setting->date_format, strtotime($data->created_at->toDateString()))}} | {{$data->reference_no}} | @if($transaction){{$transaction->reference_no}} | @else@endif | {{number_format((float)$credit, $general_setting->decimal, '.', '')}} | {{number_format((float)$debit, $general_setting->decimal, '.', '')}} | {{number_format((float)$balance, $general_setting->decimal, '.', '')}} |