@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
{{-- main white card --}}
{{-- green circle with check --}}
{{-- heading --}}

আবেদন গ্রহণ করা হয়েছে

Loan Application

{{-- details box --}}
{{-- amount --}}
পরিমাণঃ ৳{{ number_format($amount, 2) }}
{{-- status --}}
অবস্থাঃ {{ $statusLabel }}
{{-- period --}}
মেয়াদঃ {{ $loan->loan_period }} মাস
{{-- date --}}
তারিখঃ {{ $created }}
{{-- bottom full-width green button --}} হোমে ফিরে যান
@endsection