@extends('layouts.app') @section('title','Loan Success') @section('content') @php // স্ট্যাটাস অনুযায়ী লেবেল/রঙ $statusLabel = 'অপেক্ষমান'; $statusColor = 'text-orange-500'; if ($loan->status === 'approved') { $statusLabel = 'অনুমোদিত'; $statusColor = 'text-green-500'; } elseif ($loan->status === 'rejected') { $statusLabel = 'বাতিল'; $statusColor = 'text-red-500'; } $amount = (float) $loan->loan_amount; $created = optional($loan->created_at)->format('d-m-Y'); @endphp
Loan Application
{{-- details box --}}