@extends('layouts.app') @section('title', 'Loan Products Management') @section('content')
@if (session('success'))
{{ session('success') }}
@endif

Loan Products

@foreach($products as $product) @endforeach
ID Product Name Type Repayment Interest Rate Installments Rental Value Status Actions
{{ $product->id }} {{ $product->name }} {{ ucfirst(str_replace('_', ' ', $product->product_type)) }} {{ ucfirst($product->repayment_method) }} {{ number_format($product->interest_rate, 2) }}% {{ $product->installments }} Rs. {{ number_format($product->rental_value, 2) }} {{ ucfirst($product->status) }} @if ($product->status == 'active') @else @endif
@csrf @method('DELETE')
@section('scripts') @endsection @endsection