@extends('admin.layout') @section('content')
Edit Email Template
Back
@if ($template->email_type == 'email_verification') @endif @if ($template->email_type != 'email_verification' && $template->email_type != 'donation') @endif @if ($template->email_type == 'email_verification') @endif @if ($template->email_type == 'package_order' || $template->email_type == 'package_subscription') @endif @if ($template->email_type == 'course_enroll') @endif @if ($template->email_type == 'donation') @endif @if ($template->email_type == 'product_order' || $template->email_type == 'package_order' || $template->email_type == 'course_enroll') @endif @if ($template->email_type == 'event_ticket') @endif @if ($template->email_type == 'package_subscription') @endif @if ($template->email_type == 'subscription_expiry_reminder') @endif @if ($template->email_type == 'subscription_expired') @endif @if ($template->email_type == 'subscription_expiry_reminder' || $template->email_type == 'subscription_expired') @endif
Short Code Meaning
{customer_username} Customer Username
{customer_name} Customer Name
{verification_link} Verification Link
{package_name} Package Name
{course_name} Course Name
{cause_name} Cause Name
{order_number} Order Number
{order_link} Order Details Page Link (Only for Registered User)
{event_name} Event Name
{ticket_id} Ticket ID
{order_link} Order Details Page Link (Only for Registered User)
{activation_date} Subscription Activation Date
{expire_date} Subscription Expiry Date
{remaining_days} Number of Remaining Days to Expire Subscription
{current_package_name} Currently Active Package
{packages_link} packages page URL
{expired_package} Expired Package Name
{expire_date} Expire Date of Currently Active Package
{website_title} Website Title
@csrf @php if ($template->email_type == 'package_order') { $etype = "Package Order (One Time)"; } else { $etype = str_replace("_", " ", $template->email_type); } @endphp

@endsection