🚀 Hostinger Optimized
🖥️ Server: LiteSpeed
💻 System: Linux s20058.bom1.stableserver.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
👤 User: skhata (1324)
🐘 PHP: 8.4.20
🚫 Disabled: ✨ NONE

💻 Terminal

📁 /home/skhata/chandrasons.com/public
$

📄 prescription-rejected.blade.php

📁 Path: /home/skhata/new.chandrapharma.com/resources/views/emails/pharmacy/prescription-rejected.blade.php
📊 Size: 4.14 KB
🔒 Perm: 0644
📝 MIME: text/html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Prescription Update</title>
    <style>
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; padding: 0; background: #f5f5f5; color: #333; }
        .wrapper { max-width: 600px; margin: 0 auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
        .header { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; padding: 32px 40px; text-align: center; }
        .header h1 { margin: 0; font-size: 26px; font-weight: 700; }
        .header p { margin: 8px 0 0; opacity: .85; font-size: 15px; }
        .body { padding: 32px 40px; }
        .greeting { font-size: 17px; margin-bottom: 20px; }
        .info-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 16px 20px; margin-bottom: 24px; }
        .info-box p { margin: 6px 0; font-size: 14px; color: #991b1b; }
        .info-box strong { color: #7f1d1d; }
        .reason-box { background: #f9fafb; border-left: 4px solid #dc2626; border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 24px; font-size: 14px; color: #374151; }
        .steps-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px 20px; margin-bottom: 24px; font-size: 14px; color: #1e40af; }
        .steps-box ol { margin: 8px 0 0 16px; padding: 0; }
        .steps-box li { margin: 4px 0; }
        .cta { text-align: center; margin: 28px 0; }
        .btn { display: inline-block; background: #0d9488; color: #fff; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
        .footer { background: #f9fafb; padding: 20px 40px; text-align: center; font-size: 12px; color: #9ca3af; border-top: 1px solid #f0f0f0; }
    </style>
</head>
<body>
<div class="wrapper">
    <div class="header">
        <div style="font-size:40px; margin-bottom:8px;">❌</div>
        <h1>Prescription Not Approved</h1>
        <p>Please review the reason and resubmit.</p>
    </div>
    <div class="body">
        <p class="greeting">Hi {{ $prescription->customer?->name ?? 'Valued Customer' }},</p>

        <p>We're sorry to inform you that your prescription (Rx #{{ $prescription->id }}) could not be approved at this time. Please see the details below.</p>

        <div class="info-box">
            <p><strong>Prescription Reference:</strong> Rx #{{ $prescription->id }}</p>
            <p><strong>Status:</strong> ❌ Not Approved</p>
            <p><strong>Reviewed on:</strong> {{ $prescription->reviewed_at?->format('d M Y, h:i A') }}</p>
            @if($prescription->reviewer)
            <p><strong>Reviewed by:</strong> {{ $prescription->reviewer->name }}</p>
            @endif
        </div>

        @if($prescription->pharmacist_notes)
        <div class="reason-box">
            <strong>Reason for Rejection:</strong><br>
            {{ $prescription->pharmacist_notes }}
        </div>
        @endif

        <div class="steps-box">
            <strong>What you can do next:</strong>
            <ol>
                <li>Review the reason for rejection above.</li>
                <li>Obtain a valid, clearly legible prescription from a registered medical practitioner.</li>
                <li>Ensure the prescription includes: doctor's name, registration number, patient name, medicine name, dosage, and date.</li>
                <li>Upload your new prescription on our website and we'll review it within 24 hours.</li>
            </ol>
        </div>

        <div class="cta">
            <a href="{{ route('prescriptions.create') }}" class="btn">Upload New Prescription →</a>
        </div>

        <p style="font-size:13px; color:#6b7280;">If you believe this decision was made in error, or if you need assistance, please contact our pharmacy support team.</p>
    </div>
    <div class="footer">
        <p>© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.</p>
        <p style="margin-top:4px;">This email was sent regarding Prescription Rx #{{ $prescription->id }}</p>
    </div>
</div>
</body>
</html>
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨