Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" />
- </head>
- <body style="margin: 0; width: 100%;">
- <div style="width: 100%;">
- <table align="center" width="600" cellspacing="0" cellpadding="0" border="0" style="margin: 0 auto; background: linear-gradient(269deg, rgba(255, 213, 151, 0.8) 49.43%, rgba(255, 255, 255, 0.8) 141.16%), #fff7eb;">
- <tr>
- <td style="background: #fff; height: 56px; text-align: center;">
- <img src="https://cupffee.me/images/email/logo.png" alt="Logo" style="height: 30px;" />
- </td>
- </tr>
- <tr>
- <td style="position: relative;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td width="0" style="width: 0; position: relative;">
- <img src="https://cupffee.me/images/email/decoration1.png" alt="Decoration" style="display: block; width: auto; height: auto;" />
- </td>
- <td width="100%" style="width: 100%;"></td>
- <td width="0" style="width: 0; position: relative;">
- <img src="https://cupffee.me/images/email/decoration8.png" alt="Decoration" style="display: block; width: auto; height: auto;" />
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <td style="padding: 24px 64px 0 64px;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td style="width: 50%; vertical-align: top;">
- <h2 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 24px; font-weight: 700; line-height: normal; margin: 0;">
- Thank you for your order!
- </h2>
- <p style="width: 100%; color: #231f20; font-family: Raleway, sans-serif; font-size: 11px; line-height: 14px; margin: 14px 0 0;">
- Hello {{$order->first_name}} {{$order->last_name}}, Your Cupffee cups will definitely
- level up your coffee experience and help you save the planet one cup
- at a time! We're getting your order ready for dispatch. We'll notify
- you as soon as it's on its way.
- </p>
- </td>
- <td style="width: 50%; text-align: right; vertical-align: top;">
- <img src="https://cupffee.me/images/email/decoration2.png" alt="Thank You" style="max-width: 100%; height: auto;" />
- </td>
- </tr>
- </table>
- </td>
- <tr>
- <td style="padding: 24px 64px 0 64px;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
- <tr>
- <td style="padding: 7px 10px;">
- <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
- <span style="font-weight: 600;">Order №:</span> {{$order->uuid}} <br>
- <span style="font-weight: 600;">Order Date:</span> {{$order->created_at->format('Y-m-d')}} <br>
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td style="padding: 24px 64px 0 64px;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
- <tr>
- <td style="padding: 7px 10px;">
- <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
- <span style="font-weight: 800; display: block; margin-bottom: 5px;">Contact Details</span>
- <span style="font-weight: 600;">Name:</span> {{$order->first_name}} {{$order->last_name}} <br>
- <span style="font-weight: 600;">Phone:</span> {{$order->phone}} <br>
- <span style="font-weight: 600;">Email:</span> {{$order->email}} <br>
- <span style="font-weight: 600;">Country:</span> {{$order->country->name}} <br>
- <span style="font-weight: 600;">City:</span> {{$order->city}} <br>
- <span style="font-weight: 600;">Address:</span> {{$order->address}}
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- @if ($order->company_name)
- <tr>
- <td style="padding: 24px 64px 0 64px;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
- <tr>
- <td style="padding: 7px 10px;">
- <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
- <span style="font-weight: 800; display: block; margin-bottom: 5px;">Invoice Details</span>
- <span style="font-weight: 600;">Name:</span> {{$order->company_name}} <br>
- <span style="font-weight: 600;">Manager:</span> {{$order->company_manager}} <br>
- @if ($order->company_has_vat)
- <span style="font-weight: 600;">Vat number:</span> {{$order->company_vat_number}} <br>
- @endif
- <span style="font-weight: 600;">Tax number:</span> {{$order->company_uin_number}} <br>
- <span style="font-weight: 600;">Country:</span> {{$order->companyCountry?->name}} <br>
- <span style="font-weight: 600;">City:</span> {{$order->company_city}} <br>
- <span style="font-weight: 600;">Address:</span> {{$order->company_address}}
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- @endif
- <tr>
- <td style="padding: 24px 64px;">
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
- <tr>
- <td style="padding: 7px 10px;">
- <h2 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 14px; font-weight: 700; margin: 0 0 18px;">
- Purchase details
- </h2>
- @foreach ($order->details as $item)
- <table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 20px;">
- <tr>
- <td width="70" style="padding-right: 10px;">
- <img src="{{$item->product->image}}" alt="Product Image" style="width: 69px; height: 69px; object-fit: contain;" />
- </td>
- <td style="vertical-align: top;">
- <h3 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 9px; font-weight: 600; margin: 0 0 5px;">
- {{$item->product_name}}
- </h3>
- <ul style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 8px; margin: 0; padding-left: 10px; list-style-type: disc;">
- @if ($item->product->short_description)
- <li>{{$item->product->short_description}}</li>
- @endif
- @if ($item->product->quantity_info)
- <li>{{$item->product->quantity_info}}</li>
- @endif
- @if ($item->product->package)
- <li>{{$item->product->package}}</li>
- @endif
- </ul>
- </td>
- <td style="text-align: right;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
- {{$item->quantity}} x {{$item->price}} {{$order->currency->code}}
- </p>
- </td>
- </tr>
- </table>
- @endforeach
- <table width="100%" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td style="padding: 5px 0;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
- Sub total: {{$order->sub_total}} {{$order->currency->code}}
- </p>
- </td>
- </tr>
- <tr>
- <td style="padding: 5px 0;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
- Discount: {{$order->discount}} {{$order->currency->code}}
- </p>
- </td>
- </tr>
- <tr>
- <td style="padding: 5px 0;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
- Delivery price: {{$order->delivery_price}} {{$order->currency->code}}
- </p>
- </td>
- </tr>
- <tr>
- <td style="padding: 5px 0;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
- Total: {{$order->total}} {{$order->currency->code}}
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td style="padding: 50px 0 40px; text-align: center;">
- <img src="https://cupffee.me/images/email/decoration6.png" alt="Decoration" style="width: 160px; height: 113px;" />
- <div style="margin: 16px 0;">
- <a href="#"><img src="https://cupffee.me/images/email/facebook.png" alt="Facebook" style="width: 34px; height: 34px;" /></a>
- <a href="#"><img src="https://cupffee.me/images/email/instagram.png" alt="Instagram" style="width: 34px; height: 34px;" /></a>
- <a href="#"><img src="https://cupffee.me/images/email/tik-tok.png" alt="TikTok" style="width: 34px; height: 34px;" /></a>
- <a href="#"><img src="https://cupffee.me/images/email/youtube.png" alt="YouTube" style="width: 34px; height: 34px;" /></a>
- <a href="#"><img src="https://cupffee.me/images/email/linkedin.png" alt="LinkedIn" style="width: 34px; height: 34px;" /></a>
- </div>
- <img src="https://cupffee.me/images/email/decoration7.png" alt="Decoration" style="width: 70px; height: 45px; margin-top: 24px;" />
- <div style="margin-top: 28px;">
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; margin: 0;">office@cupffee.me</p>
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; margin: 0;">+359 884 931 183</p>
- <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; margin: 0;">Asenovgradsko Shose 1 Bld, 4023, Trakia industrial zone, Plovdiv, Bulgaria</p>
- </div>
- <img src="https://cupffee.me/images/email/logo.png" alt="Logo" style="width: 49px; height: 14px; margin-top: 28px;" />
- </td>
- </tr>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement