Created
November 18, 2019 09:34
-
-
Save voidnerd/94b005b22362c47c1ce24800917199ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <script src="https://kit.fontawesome.com/e4a7d3234e.js" crossorigin="anonymous"></script> | |
| <title>Kiitec Email Template</title> | |
| <style> | |
| @media only screen and (max-width: 620px) { | |
| table[class=body] h1 { | |
| font-size: 28px !important; | |
| margin-bottom: 10px !important; | |
| } | |
| table[class=body] p, | |
| table[class=body] ul, | |
| table[class=body] ol, | |
| table[class=body] td, | |
| table[class=body] span, | |
| table[class=body] a { | |
| font-size: 16px | |
| table[class=body] .wrapper, | |
| table[class=body] .article | |
| padding: 10px !important; | |
| } | |
| table[class=body] .content { | |
| padding: 0 !important; | |
| } | |
| table[class=body] .container { | |
| padding: 0 !important; | |
| width: 100% !important; | |
| } | |
| table[class=body] .main { | |
| border-left-width: 0 !important; | |
| border-radius: 0 !important; | |
| border-right-width: 0 !important; | |
| } | |
| table[class=body] .btn table { | |
| width: 100% !important; | |
| } | |
| table[class=body] .btn a { | |
| width: 100% !important; | |
| } | |
| table[class=body] .img-responsive { | |
| height: auto !important; | |
| max-width: 100% !important; | |
| width: auto !important; | |
| } | |
| table[class=body] .vector { | |
| height: auto !important; | |
| max-width: 30% !important; | |
| width: auto !important; | |
| } | |
| } | |
| @media all { | |
| .ExternalClass { | |
| width: 100%; | |
| } | |
| .ExternalClass, | |
| .ExternalClass p, | |
| .ExternalClass span, | |
| .ExternalClass font, | |
| .ExternalClass td, | |
| .ExternalClass div { | |
| line-height: 100%; | |
| } | |
| .apple-link a { | |
| color: inherit !important; | |
| font-family: inherit !important; | |
| font-size: inherit !important; | |
| font-weight: inherit !important; | |
| line-height: inherit !important; | |
| text-decoration: none !important; | |
| } | |
| .btn-primary table td:hover { | |
| background-color: #34495e !important; | |
| } | |
| .btn-primary a:hover { | |
| background-color: #34495e !important; | |
| border-color: #34495e !important; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="" style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;"> | |
| <table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; text-align: center; background-color: #f6f6f6; width: 100%;" width="100%" align="center" bgcolor="#f6f6f6"> | |
| <tr> | |
| <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> | |
| <td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; max-width: 580px; padding: 10px; width: 580px; Margin: 0 auto;" width="580" valign="top"> | |
| <div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;"> | |
| <!-- START CENTERED WHITE CONTAINER --> | |
| <table class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; text-align: center; background: #ffffff; border-radius: 3px; width: 100%; padding: 0px 10px;" width="100%" align="center"> | |
| <!-- START MAIN CONTENT AREA --> | |
| <tr> | |
| <td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;" valign="top"> | |
| <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; text-align: center;" width="100%" align="center"> | |
| <tr> | |
| <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <img src="https://res.cloudinary.com/syfon/image/upload/v1572360659/logo2.png" class="img-responsive logo-image" style="border: none; -ms-interpolation-mode: bicubic; text-align: center; margin-left: auto; margin-right: auto; max-width: 50%;"> | |
| <hr style="border: 0; border-bottom: 1px solid #f6f6f6; Margin: 20px 0;"> | |
| <h2>Order Delivery Update!</h2> | |
| <img src="https://res.cloudinary.com/syfon/image/upload/v1572367149/welcome_mail.png" class="vector" style="border: none; -ms-interpolation-mode: bicubic; text-align: center; margin-left: auto; margin-right: auto; max-width: 20%; margin-bottom: 10px;"> | |
| <h3>Hello</h3> | |
| {!! $message ?? "You have a Logistics Operation Pending!" !!} | |
| <hr style="border: 0; border-bottom: 1px solid #f6f6f6; Margin: 20px 0;"> | |
| <h2>Pick Up Details</h2> | |
| <table style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; text-align: center;" width="100%" align="center"> | |
| <tbody> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Pick Up Address </strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $vendor->street_address }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Vendor Name:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $vendor->name }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Vendor Phone:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $vendor->contact_phone }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Vendor Email:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $vendor->contact_email }} | |
| </p> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <hr style="border: 0; border-bottom: 1px solid #f6f6f6; Margin: 20px 0;"> | |
| <h2>Delivery Details</h2> | |
| <table style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; text-align: center;" width="100%" align="center"> | |
| <tbody> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Delivery Address </strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $orderEntry->address }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Owner Name:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $owner->name }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Owner Phone:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $owner->phone }} | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| <strong>Owner Email:</strong> | |
| </p> | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;"> | |
| {{ $owner->email }} | |
| </p> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <hr style="border: 0; border-bottom: 1px solid #f6f6f6; Margin: 20px 0;"> | |
| <h2>Order Items</h2> | |
| <table style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; text-align: center;" width="100%" align="center"> | |
| <thead> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <th align="left"> | |
| Item | |
| </th> | |
| <th align="left"> | |
| Quantity | |
| </th> | |
| <th align="left"> | |
| Price | |
| </th> | |
| </tr> | |
| @foreach($orders as $order) | |
| <tr> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| {{ $order->product->name }} | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| {{ $order->quantity }} | |
| </td> | |
| <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> | |
| ₦{{ $order->product->price }} | |
| </td> | |
| </tr> | |
| @endforeach | |
| <tr> | |
| <th align="left"> | |
| Totals | |
| </th> | |
| <th align="left"> | |
| {{ $orders->sum('quantity') }} | |
| </th> | |
| <th align="left"> | |
| ₦{{ $orders->map(function ($order) { return $order->product; })->sum('price') }} | |
| </th> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <table border="0" cellpadding="0" cellspacing="0" class="btn btn-success" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; text-align: center; box-sizing: border-box; width: 100%;" width="100%" align="center"> | |
| <tbody> | |
| <tr> | |
| <td align="center" style="font-family: sans-serif; font-size: 14px; vertical-align: top; padding-bottom: 20px; padding-top: 20px;" valign="top"> | |
| <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; text-align: center; width: auto;" align="center"> | |
| <tbody> | |
| <tr> | |
| <td style="font-family: sans-serif; font-size: 14px; vertical-align: top; border-radius: 5px; text-align: center; background-color: #65B250;" valign="top" align="center" bgcolor="#65B250"> <a href="https://www.kiitec.com/" target="_blank" style="border: solid 1px #65B250; border-radius: 5px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-decoration: none; text-transform: capitalize; background-color: #65B250; border-color: #65B250; color: #ffffff;">Back to Site</a> </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <hr style="border: 0; border-bottom: 1px solid #f6f6f6; Margin: 20px 0;"> | |
| </td> | |
| </tr> | |
| <div class="footer main" style="border-radius: 3px; padding: 0px 10px; clear: both; Margin-top: 10px; text-align: center; width: 100%; background: #fff;"> | |
| <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; text-align: center;" width="100%" align="center"> | |
| <tr> | |
| <td class="content-block" style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; color: #999999; font-size: 12px; text-align: center;" valign="top" align="center"> | |
| <p class="text-success" style="font-family: sans-serif; font-weight: normal; margin: 0; Margin-bottom: 15px; color: #999999; text-align: center; font-size: 12px;">Manage Email Preferences</p> | |
| <p style="font-family: sans-serif; font-weight: normal; margin: 0; Margin-bottom: 15px; color: #999999; text-align: center; font-size: 12px;">If you have any questions, reply to this email or contact <span class="text-success" style="color: #999999; font-size: 12px; text-align: center;">info@kiitec.com.</span></p> | |
| <p style="font-family: sans-serif; font-weight: normal; margin: 0; Margin-bottom: 15px; color: #999999; text-align: center; font-size: 12px;">© 2019 Kiitec, All Rights Reserved.</p> | |
| <p style="font-family: sans-serif; font-weight: normal; margin: 0; Margin-bottom: 15px; color: #999999; text-align: center; font-size: 12px;">Suite 111-114, Yomade Shopping Complex, Awoyaya, Lagos.</p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="content-bloc powered-by" style="font-family: sans-serif; vertical-align: top; color: #999999; font-size: 12px; text-align: center;" valign="top" align="center"> | |
| <a href="https://twitter.com/kiitec_ng" target="_blank" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;"><i class="fab fa-twitter" style="color: #65B250; margin-right: 10px;"></i></a> | |
| <a href="https://www.facebook.com/Kiitec-2220362194897172/" target="_blank" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;"><i class="fab fa-facebook-f" style="color: #65B250; margin-right: 10px;"></i></a> | |
| <a href="https://instagram.com/kiitec_ng" target="_blank" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;"><i class="fab fa-instagram" style="color: #65B250; margin-right: 10px;"></i></a> | |
| </td> | |
| </tr> | |
| </table> | |
| </div> | |
| </table> | |
| </td></tr></table> | |
| </div></td> | |
| </tr> | |
| <!-- END MAIN CONTENT AREA --> | |
| <!-- START FOOTER --> | |
| <!-- END FOOTER --> | |
| <!-- END CENTERED WHITE CONTAINER --> | |
| <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> | |
| </table> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment