<div class="table-responsive">
    <table id="example" class="table table-bordered align-middle" style="width:100%">
        <thead class="table-light">
            <tr>
                <th class="thbutton">Sl No</th>
                <th>Account Name</th>
                <th class="text-end thbutton">Debit</th>
                <th class="text-end thbutton">Credit</th>
                <th class="text-end thbutton">Balance</th>
            </tr>
        </thead>
        <tbody>
            @php $i=1;@endphp
            @if(count($trialBalance)>0)
                @foreach($trialBalance as $key => $list)
                    <tr>
                        <td class="text-center">{{ $i }}</td>
                        <td>{{ $list['account_name']??'' }}</td>
                        <td class="text-end">{{ convertDecimelPoint($list['debit'])??'' }}</td>
                        <td class="text-end">{{ convertDecimelPoint($list['credit'])??'' }}</td>
                        <td class="text-end">{{ convertDecimelPoint($list['balance'])??'' }}</td>
                    </tr>
                    @php $i++; @endphp
                @endforeach
            @else
                <tr>
                    <td colspan="5">No Data Found</td>
                </tr>
            @endif
        </tbody>
    </table>
</div>
<nav class="row mt-2">
    
</nav>
</div>

