🚀 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
$

📄 PrescriptionApprovedMail.php

📁 Path: /home/skhata/new.chandrapharma.com/app/Mail/Pharmacy/PrescriptionApprovedMail.php
📊 Size: 817 B
🔒 Perm: 0644
📝 MIME: text/x-php
<?php

namespace App\Mail\Pharmacy;

use App\Modules\Pharmacy\Models\Prescription;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;

/**
 * Sent to the customer when a pharmacist approves their prescription.
 */
class PrescriptionApprovedMail extends Mailable
{
    use Queueable, SerializesModels;

    public function __construct(public readonly Prescription $prescription) {}

    public function envelope(): Envelope
    {
        return new Envelope(
            subject: 'Your Prescription Has Been Approved — ' . config('app.name'),
        );
    }

    public function content(): Content
    {
        return new Content(view: 'emails.pharmacy.prescription-approved');
    }
}
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨