@extends('layouts/acc_layout') @section('title', '| FDR Report') @section('content') @php $projectSelected = isset($_GET['searchProject']) ? $_GET['searchProject'] : null; $projectTypeSelected = isset($_GET['searchProjectType']) ? $_GET['searchProjectType'] : null; $branchSelected = isset($_GET['searchBranch']) ? $_GET['searchBranch'] : null; $fdrTypeSelected = isset($_GET['searchFdrType']) ? $_GET['searchFdrType'] : null; $bankNameSelected = isset($_GET['searchBankName']) ? $_GET['searchBankName'] : null; $bankBranchLocationSelected = isset($_GET['searchBankBranchLocation']) ? $_GET['searchBankBranchLocation'] : null; $dateFromSelected = isset($_GET['dateFrom']) ? $_GET['dateFrom'] : null; $dateToSelected = isset($_GET['dateTo']) ? $_GET['dateTo'] : null; $firstRequest = isset($_GET['firstRequest']) ? '1' : null; $userBranchId = Auth::user()->branchId; var_dump($branchSelected); @endphp
| SL# | Opening Date | Account No | Account Name | Bank Name | Bank Branch Location | Interest Rate (%) | Principal Amount (Tk) |
|---|---|---|---|---|---|---|---|
| {{$index+1}} | {{date('d-m-Y',strtotime($fdrAccount->openingDate))}} | {{$fdrAccount->accNo}} | {{$fdrAccount->accName}} | {{$fdrAccount->bankName}} | {{$fdrAccount->bankBranchLocation}} | {{number_format($fdrAccount->interestRate,2)}} | {{number_format($fdrAccount->principalAmount,2,'.',',')}} |
| Total | {{number_format($totalAmount,2,'.',',')}} | ||||||