| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?> |
| 2 |
<!DOCTYPE html> |
| 3 |
<html <?php language_attributes(); ?>> |
| 4 |
|
| 5 |
<head> |
| 6 |
<meta charset="UTF-8"> |
| 7 |
<title><?php use FluentCart\App\App; |
| 8 |
|
| 9 |
echo esc_html__('Order Created Notification', 'fluent-cart'); ?> |
| 10 |
</title> |
| 11 |
</head> |
| 12 |
|
| 13 |
<body style="font-family: 'Arial', sans-serif; background-color: #f4f4f4; padding: 0;margin: 0;"> |
| 14 |
<div style="background-color: #fff;"> |
| 15 |
<div style="background-color: #F6F8FB; padding: 40px;"> |
| 16 |
<div class="email-template-content" style="max-width: 600px;width:100%; margin-left: auto; margin-right: auto;background: white;border-radius: 12px;overflow: hidden;"> |
| 17 |
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);color: white;padding: 10px 30px 30px 30px;text-align: center;"> |
| 18 |
<?php |
| 19 |
App::make('view')->render('emails.components.header'); |
| 20 |
?> |
| 21 |
<h1 style="font-size: 24px;font-weight: 600;margin-bottom: 8px;">Dispatch Notification</h1> |
| 22 |
<p style="opacity: 0.9;font-size: 16px;margin: 0;">Order ready for shipment from fulfillment center</p> |
| 23 |
</div> |
| 24 |
|
| 25 |
<div style="background-color: #fff; border-radius: 8px; "> |
| 26 |
<div style="padding: 20px;"> |
| 27 |
|
| 28 |
<div style="background: linear-gradient(135deg, #fef3c7, #fbbf24);border-radius: 10px;padding: 25px;margin-bottom: 30px;text-align: center;border: 2px solid #f59e0b;"> |
| 29 |
<h2 style="color: #92400e;font-size: 20px;margin-bottom: 10px;font-weight: 600;">Order Dispatched</h2> |
| 30 |
<div style="color: #b45309;font-size: 16px;font-weight: 500;">{{order.updated_at}}</div> |
| 31 |
<div style="display: inline-block;background: #059669;color: white;padding: 6px 12px;border-radius: 20px;font-size: 12px;font-weight: 600;text-transform: uppercase;letter-spacing: 0.5px;margin-top: 10px;">Standard Priority</div> |
| 32 |
</div> |
| 33 |
|
| 34 |
<table style="width: 100%; border: none !important;"> |
| 35 |
<tr style="width: 100%;"> |
| 36 |
<td style="width: 50%; border: none !important;"> |
| 37 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px;"><?php esc_html_e('Order Summary', 'fluent-cart'); ?></h3> |
| 38 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 39 |
<tr> |
| 40 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "><?php echo esc_html__('Order ID:', 'fluent-cart') ?></td> |
| 41 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 42 |
<a href="{{order.customer_order_link}}" style="color: #007bff; text-decoration: none;"> |
| 43 |
#{{order.id}} |
| 44 |
</a> |
| 45 |
</td> |
| 46 |
</tr> |
| 47 |
<tr> |
| 48 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;"><?php echo esc_html__('Date:', 'fluent-cart') ?></td> |
| 49 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;font-size: 12px;"> |
| 50 |
{{order.updated_at}} |
| 51 |
</td> |
| 52 |
</tr> |
| 53 |
<tr> |
| 54 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;">Delivery Method:</td> |
| 55 |
<td> |
| 56 |
<span style="display: block; border: 1px none; border-bottom-style: dashed; margin-left: 12px"></span> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;">Dispatch Date:</td> |
| 61 |
<td> |
| 62 |
<span style="display: block; border: 1px none; border-bottom-style: dashed; margin-left: 12px"></span> |
| 63 |
</td> |
| 64 |
</tr> |
| 65 |
</table> |
| 66 |
</td> |
| 67 |
|
| 68 |
<td style="width: 50%; border: none !important;"> |
| 69 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px; text-align: right"><?php esc_html_e('Customer Info', 'fluent-cart'); ?></h3> |
| 70 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 71 |
<tr> |
| 72 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 73 |
{{order.customer.full_name}} |
| 74 |
</td> |
| 75 |
</tr> |
| 76 |
<tr> |
| 77 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 78 |
{{order.customer.email}} |
| 79 |
</td> |
| 80 |
</tr> |
| 81 |
|
| 82 |
</table> |
| 83 |
</td> |
| 84 |
</tr> |
| 85 |
</table> |
| 86 |
|
| 87 |
<div style="background: #f0f9ff;border: 1px solid #7dd3fc;border-radius: 8px;padding: 20px;margin-bottom: 25px;"> |
| 88 |
<div style="color: #0c4a6e;font-weight: 600;margin-bottom: 15px;font-size: 16px;">Fulfillment Center Details</div> |
| 89 |
<table style="width: 100%; border: none !important;"> |
| 90 |
<tr> |
| 91 |
<td style="width: 50%; border: none !important;padding-right: 5px;vertical-align: top"> |
| 92 |
<h4 style="font-size: 12px;color: #0369a1;text-transform: uppercase;font-weight: 700;margin: 0 0 5px;">Location</h4> |
| 93 |
<div style="color: #0c4a6e;font-size: 14px;line-height: 1.4;"> |
| 94 |
Distribution Center East |
| 95 |
123 Warehouse Blvd |
| 96 |
Industrial Park, NY 12345 |
| 97 |
</div> |
| 98 |
</td> |
| 99 |
<td style="width: 50%; border: none !important;padding-left: 5px;"> |
| 100 |
<h4 style="font-size: 12px;color: #0369a1;text-transform: uppercase;font-weight: 700;margin: 0 0 5px;"">Operator</h4> |
| 101 |
<div style="color: #0c4a6e;font-size: 14px;line-height: 1.4;"> |
| 102 |
Johnson <br> |
| 103 |
Employee ID: ... <br> |
| 104 |
Shift: Morning (7AM-3PM) |
| 105 |
</div> |
| 106 |
</td> |
| 107 |
</tr> |
| 108 |
<tr> |
| 109 |
<td style="width: 50%; border: none !important;padding-right: 5px;"> |
| 110 |
<h4 style="font-size: 12px;color: #0369a1;text-transform: uppercase;font-weight: 700;margin: 0 0 5px;"">Zone</h4> |
| 111 |
<div style="color: #0c4a6e;font-size: 14px;line-height: 1.4;"> |
| 112 |
Picking Zone: A-3 <br> |
| 113 |
Packing Station: P-12 <br> |
| 114 |
Loading Dock: D-5 |
| 115 |
</div> |
| 116 |
</td> |
| 117 |
</tr> |
| 118 |
|
| 119 |
</table> |
| 120 |
</div> |
| 121 |
|
| 122 |
<div> |
| 123 |
<h3 style="font-size: 18px;color: #374151;font-weight: 600;margin: 0;">Items Dispatched</h3> |
| 124 |
<hr style="margin-bottom: 20px;"> |
| 125 |
{{order.payment_summary}} |
| 126 |
</div> |
| 127 |
|
| 128 |
<div style="background: #fffbeb;border: 1px solid #fbbf24;border-radius: 8px;padding: 20px;margin: 25px 0;"> |
| 129 |
<div style="color: #92400e;font-weight: 600;margin-bottom: 10px;font-size: 14px;">Dispatch Notes</div> |
| 130 |
<div style="color: #b45309;font-size: 14px;line-height: 1.5;"> |
| 131 |
• All items verified and quality checked<br> |
| 132 |
• Package sealed and labeled for FedEx pickup<br> |
| 133 |
• Customer requested signature confirmation<br> |
| 134 |
• Fragile items packed with extra protection |
| 135 |
</div> |
| 136 |
</div> |
| 137 |
|
| 138 |
<p style="font-size: 14px;margin-bottom: 0;"> |
| 139 |
<?php echo esc_html__('Items Received By', 'fluent-cart'); ?> |
| 140 |
</p> |
| 141 |
|
| 142 |
<table style="width: 100%"> |
| 143 |
<tr> |
| 144 |
<td style="text-align: left; color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px; vertical-align: bottom"> |
| 145 |
<span style="font-size: 12px"> |
| 146 |
<?php echo esc_html__('Name:', 'fluent-cart'); ?> |
| 147 |
</span> |
| 148 |
<span style="display: inline-block; width: 100px; border: 1px none; border-bottom-style: dashed; margin-left: 12px"> |
| 149 |
|
| 150 |
</span> |
| 151 |
</td> |
| 152 |
<td style="text-align: center; color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px; vertical-align: bottom"> |
| 153 |
<span style="font-size: 12px"> |
| 154 |
<?php echo esc_html__('Signature:', 'fluent-cart'); ?> |
| 155 |
</span> |
| 156 |
<span style="display: inline-block; width: 100px; border: 1px none; border-bottom-style: dashed; margin-left: 12px"></span> |
| 157 |
</td> |
| 158 |
<td style="text-align: right; color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px; vertical-align: bottom"> |
| 159 |
<span style="font-size: 12px"> |
| 160 |
<?php echo esc_html__('Date:', 'fluent-cart'); ?> |
| 161 |
</span> |
| 162 |
<span style="display: inline-block; width: 100px; border: 1px none; border-bottom-style: dashed; margin-left: 12px"> |
| 163 |
|
| 164 |
</span> |
| 165 |
</td> |
| 166 |
</tr> |
| 167 |
</table> |
| 168 |
</div> |
| 169 |
</div> |
| 170 |
</div> |
| 171 |
|
| 172 |
</div> |
| 173 |
|
| 174 |
<?php |
| 175 |
App::make('view')->render('emails.components.powered-by-footer'); |
| 176 |
?> |
| 177 |
|
| 178 |
</div> |
| 179 |
</body> |
| 180 |
</html> |
| 181 |
|