@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; $bankSelected = isset($_GET['searchBank']) ? $_GET['searchBank'] : null; $bankBranchSelected = isset($_GET['searchBankBranch']) ? $_GET['searchBankBranch'] : 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; @endphp
| SL# | Opening Date | Account No | Account Name | Duration | Mature Date | Interest Rate (%) |
FDR Amount (Tk) | Interest | Bank Charge | Tax | Net Interest | Receiveable Amount | Closing Date | Closing Amount | Balance |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$bankName.', '.$branch->name}} | |||||||||||||||
| {{$index}} | {{date('d-m-Y',strtotime($fdrAccount->openingDate))}} | {{$fdrAccount->accNo}} | {{$fdrAccount->accName}} | {{str_pad($fdrAccount->duration,2,'0',STR_PAD_LEFT)}}@if($fdrAccount->duration>1){{' Months'}}@else{{' Month'}} @endif | {{date('d-m-Y',strtotime($fdrAccount->matureDate))}} | {{number_format($fdrAccount->interestRate,2)}} | {{number_format($fdrAccount->principalAmount,2,'.',',')}} | {{number_format($interest,2,'.',',')}} | {{number_format($bankChange,2,'.',',')}} | {{number_format($taxAmount,2,'.',',')}} | {{number_format($netInterest,2,'.',',')}} | {{number_format($receiveAbleAmount,2,'.',',')}} | @if($closingDate==null) {{"-"}} @else {{date('d-m-Y',strtotime($closingDate))}} @endif | @if($closingDate==null) {{"-"}} @else {{number_format($closingAmount,2,'.',',')}} @endif | {{number_format($balance,2,'.',',')}} |
| Sub Total | {{number_format($tPrincipalAmount,2,'.',',')}} | {{number_format($tInterest,2,'.',',')}} | {{number_format($tBankCharge,2,'.',',')}} | {{number_format($tTaxAmount,2,'.',',')}} | {{number_format($tNetInterest,2,'.',',')}} | {{number_format($tReceiveableAmount,2,'.',',')}} | @if($closingDate!=null) {{number_format($tClosingAmount,2,'.',',')}} @else {{"-"}} @endif | {{number_format($tBalance,2,'.',',')}} | |||||||
| Total | {{number_format($gtPrincipalAmount,2,'.',',')}} | {{number_format($gtInterest,2,'.',',')}} | {{number_format($gtBankCharge,2,'.',',')}} | {{number_format($gtTaxAmount,2,'.',',')}} | {{number_format($gtNetInterest,2,'.',',')}} | {{number_format($gtReceiveableAmount,2,'.',',')}} | {{number_format($gtClosingAmount,2,'.',',')}} | {{number_format($gtBalance,2,'.',',')}} | |||||||