@php use App\Models\Setting; $companyName = Setting::get('company_name', config('app.name')); $companyAddress = Setting::get('company_address', ''); $phone1 = Setting::get('phone_one') ?: Setting::get('phone1') ?: Setting::get('phone'); $phone2 = Setting::get('phone_two') ?: Setting::get('phone2') ?: ''; $email = Setting::get('email') ?: Setting::get('mail'); // Load logo from public/images using stored filename $logoFilename = Setting::get('logo') ?: Setting::get('company_logo') ?: Setting::get('site_logo'); $logoUrl = $logoFilename ? asset('images/' . ltrim($logoFilename, '/')) : ''; @endphp
| Description | Value |
|---|---|
| Invested Amount | {{ $profit->invest ? number_format($profit->invest->amount, 2) : 'N/A' }} |
| Paid Amount | {{ number_format($profit->paid, 2) }} |
| Remark | {{ $profit->remark }} |