@extends('admin.layouts.layouts') @section('title', 'Details | Investment') @section('content')
Records not found!
@else| # | Date | Installment Amount | Paid Amount | Extra Amount | Paid Date | Remaining Installment Amount | |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ date('d-m-Y', strtotime($installmentDetail->installment_date)) }} | {{ number_format($installmentDetail->installment_amount ?? 0, 2) }} | {{ number_format($item->final_amount ?? 0, 2) }} | @if($item && $item->extra_amount > 0) @if($item->plus_minus == 'Plus') +{{ number_format($item->extra_amount, 2) }} @elseif($item->plus_minus == 'Minus') -{{ number_format($item->extra_amount, 2) }} @else {{ number_format($item->extra_amount, 2) }} @endif @else - @endif | {{ isset($item->paid_date) ? date('d-m-Y', strtotime($item->paid_date)) : '-' }} | {{--{{ isset($installmentDetail->installment_paid_date) ? date('d-m-Y', strtotime($installmentDetail->installment_paid_date)) : '-' }} | --}}{{ number_format($installmentDetail->installment_remaining_amount ?? 0, 2) }} |