@extends('layouts/acc_layout') @section('title', '| OTS Register') @section('content')

OTS ACCOUNT CLOSING LIST

@foreach($payments as $index => $payment) {{-- --}} @endforeach
SL# Date Account Name Account ID Branch Payment & Deduction (Tk) Net Payment Action
Principal Amount Interest Payment Closing Fee
{{$index+1}} {{date('d-m-Y',strtotime($payment->closingDate))}} {{$memberNames[$index]}} {{$payment->accNo}} {{$branchNames[$index]}} {{number_format($principalAmounts[$index],2,'.',',')}}{{number_format($interestDues[$index],2,'.',',')}}{{number_format($payment->dueAmount,2,'.',',')}} {{number_format($payment->accClosingCharge,2,'.',',')}} {{number_format($payment->amount,2,'.',',')}}   {{--   --}}
{{-- View Modal --}} {{-- End View Modal --}} {{-- Delete Modal --}} {{-- End Delete Modal --}} @include('dataTableScript') @endsection