| 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'); ?></title> |
| 10 |
</head> |
| 11 |
|
| 12 |
<body style="font-family: 'Arial', sans-serif; background-color: #f4f4f4; padding: 0;margin: 0;"> |
| 13 |
<div style="background-color: #fff;"> |
| 14 |
<div style="background-color: #F6F8FB; padding: 40px;"> |
| 15 |
<div class="email-template-content" style="max-width: 600px;width:100%; margin-left: auto; margin-right: auto;background-color: white;padding: 30px;border-radius: 8px;"> |
| 16 |
|
| 17 |
<div class="header" style="text-align: right;margin-bottom: 30px;"> |
| 18 |
<h1 style="color: #F5A623;font-size: 24px;font-weight: bold;line-height:1;margin: 0 0 4px 0;letter-spacing: 1px;">PACKAGE SLIP</h1> |
| 19 |
<div style="font-size: 16px;">Package - #{{order.id}}</div> |
| 20 |
</div> |
| 21 |
|
| 22 |
<table style="width: 100%;border-bottom: 1px solid #000;margin-bottom: 20px;"> |
| 23 |
<tr style="width: 100%;"> |
| 24 |
<td style="width: 50%; border: none !important;padding-right: 7px;"> |
| 25 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px;">Bill To</h3> |
| 26 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 27 |
<tr> |
| 28 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 29 |
{{order.billing.full_name}} |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
<tr> |
| 33 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 34 |
{{order.billing.address_1}} |
| 35 |
</td> |
| 36 |
</tr> |
| 37 |
</table> |
| 38 |
</td> |
| 39 |
<td style="width: 50%; border: none !important;padding-left: 7px;"> |
| 40 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px;text-align: right;">Ship To</h3> |
| 41 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;text-align: right;"> |
| 42 |
<tr> |
| 43 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 44 |
{{order.shipping.full_name}} |
| 45 |
</td> |
| 46 |
</tr> |
| 47 |
<tr> |
| 48 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 49 |
{{order.shipping.address_1}} |
| 50 |
</td> |
| 51 |
</tr> |
| 52 |
</table> |
| 53 |
</td> |
| 54 |
</tr> |
| 55 |
</table> |
| 56 |
|
| 57 |
<div> |
| 58 |
|
| 59 |
<table style="width: 100%; border: none !important;"> |
| 60 |
<tr style="width: 100%;"> |
| 61 |
<td style="width: 50%; border: none !important;"> |
| 62 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px;">Order Summary</h3> |
| 63 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 64 |
<tr> |
| 65 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; ">Order ID:</td> |
| 66 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 67 |
#{{order.id}} |
| 68 |
</td> |
| 69 |
</tr> |
| 70 |
<tr> |
| 71 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;">Date:</td> |
| 72 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;font-size: 12px;"> |
| 73 |
{{order.updated_at}} |
| 74 |
</td> |
| 75 |
</tr> |
| 76 |
</table> |
| 77 |
</td> |
| 78 |
|
| 79 |
<td style="width: 50%; border: none !important;"> |
| 80 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px; text-align: right">Customer Info</h3> |
| 81 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 82 |
<tr> |
| 83 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 84 |
{{order.customer.full_name}} |
| 85 |
</td> |
| 86 |
</tr> |
| 87 |
<tr> |
| 88 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 89 |
{{order.customer.email}} |
| 90 |
</td> |
| 91 |
</tr> |
| 92 |
|
| 93 |
</table> |
| 94 |
</td> |
| 95 |
</tr> |
| 96 |
</table> |
| 97 |
|
| 98 |
|
| 99 |
{{order.payment_summary}} |
| 100 |
</div> |
| 101 |
|
| 102 |
</div> |
| 103 |
<?php |
| 104 |
|
| 105 |
App::make('view')->render('emails.components.cta'); |
| 106 |
|
| 107 |
?> |
| 108 |
</div> |
| 109 |
|
| 110 |
<?php |
| 111 |
App::make('view')->render('emails.components.powered-by-footer'); |
| 112 |
?> |
| 113 |
</div> |
| 114 |
</body> |
| 115 |
</html> |
| 116 |
|