Advertisement
vallec

new

May 29th, 2024
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.15 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4. <link rel="preconnect" href="https://fonts.googleapis.com" />
  5. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
  6. <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" />
  7. </head>
  8.  
  9. <body style="margin: 0; width: 100%;">
  10. <div style="width: 100%;">
  11. <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;">
  12. <tr>
  13. <td style="background: #fff; height: 56px; text-align: center;">
  14. <img src="https://cupffee.me/images/email/logo.png" alt="Logo" style="height: 30px;" />
  15. </td>
  16. </tr>
  17. <tr>
  18. <td style="position: relative;">
  19. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  20. <tr>
  21. <td width="0" style="width: 0; position: relative;">
  22. <img src="https://cupffee.me/images/email/decoration1.png" alt="Decoration" style="display: block; width: auto; height: auto;" />
  23. </td>
  24. <td width="100%" style="width: 100%;"></td>
  25. <td width="0" style="width: 0; position: relative;">
  26. <img src="https://cupffee.me/images/email/decoration8.png" alt="Decoration" style="display: block; width: auto; height: auto;" />
  27. </td>
  28. </tr>
  29. </table>
  30. </td>
  31. </tr>
  32. <td style="padding: 24px 64px 0 64px;">
  33. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  34. <tr>
  35. <td style="width: 50%; vertical-align: top;">
  36. <h2 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 24px; font-weight: 700; line-height: normal; margin: 0;">
  37. Thank you for your order!
  38. </h2>
  39. <p style="width: 100%; color: #231f20; font-family: Raleway, sans-serif; font-size: 11px; line-height: 14px; margin: 14px 0 0;">
  40. Hello {{$order->first_name}} {{$order->last_name}}, Your Cupffee cups will definitely
  41. level up your coffee experience and help you save the planet one cup
  42. at a time! We're getting your order ready for dispatch. We'll notify
  43. you as soon as it's on its way.
  44. </p>
  45. </td>
  46. <td style="width: 50%; text-align: right; vertical-align: top;">
  47. <img src="https://cupffee.me/images/email/decoration2.png" alt="Thank You" style="max-width: 100%; height: auto;" />
  48. </td>
  49. </tr>
  50. </table>
  51. </td>
  52. <tr>
  53. <td style="padding: 24px 64px 0 64px;">
  54. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
  55. <tr>
  56. <td style="padding: 7px 10px;">
  57. <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
  58. <span style="font-weight: 600;">Order №:</span> {{$order->uuid}} <br>
  59. <span style="font-weight: 600;">Order Date:</span> {{$order->created_at->format('Y-m-d')}} <br>
  60. </p>
  61. </td>
  62. </tr>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td style="padding: 24px 64px 0 64px;">
  68. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
  69. <tr>
  70. <td style="padding: 7px 10px;">
  71. <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
  72. <span style="font-weight: 800; display: block; margin-bottom: 5px;">Contact Details</span>
  73. <span style="font-weight: 600;">Name:</span> {{$order->first_name}} {{$order->last_name}} <br>
  74. <span style="font-weight: 600;">Phone:</span> {{$order->phone}} <br>
  75. <span style="font-weight: 600;">Email:</span> {{$order->email}} <br>
  76. <span style="font-weight: 600;">Country:</span> {{$order->country->name}} <br>
  77. <span style="font-weight: 600;">City:</span> {{$order->city}} <br>
  78. <span style="font-weight: 600;">Address:</span> {{$order->address}}
  79. </p>
  80. </td>
  81. </tr>
  82. </table>
  83. </td>
  84. </tr>
  85. @if ($order->company_name)
  86. <tr>
  87. <td style="padding: 24px 64px 0 64px;">
  88. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
  89. <tr>
  90. <td style="padding: 7px 10px;">
  91. <p style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 11px; line-height: 15px; margin: 0;">
  92. <span style="font-weight: 800; display: block; margin-bottom: 5px;">Invoice Details</span>
  93. <span style="font-weight: 600;">Name:</span> {{$order->company_name}} <br>
  94. <span style="font-weight: 600;">Manager:</span> {{$order->company_manager}} <br>
  95. @if ($order->company_has_vat)
  96. <span style="font-weight: 600;">Vat number:</span> {{$order->company_vat_number}} <br>
  97. @endif
  98. <span style="font-weight: 600;">Tax number:</span> {{$order->company_uin_number}} <br>
  99. <span style="font-weight: 600;">Country:</span> {{$order->companyCountry?->name}} <br>
  100. <span style="font-weight: 600;">City:</span> {{$order->company_city}} <br>
  101. <span style="font-weight: 600;">Address:</span> {{$order->company_address}}
  102. </p>
  103. </td>
  104. </tr>
  105. </table>
  106. </td>
  107. </tr>
  108. @endif
  109. <tr>
  110. <td style="padding: 24px 64px;">
  111. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background: #fff; border-radius: 5px;">
  112. <tr>
  113. <td style="padding: 7px 10px;">
  114. <h2 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 14px; font-weight: 700; margin: 0 0 18px;">
  115. Purchase details
  116. </h2>
  117. @foreach ($order->details as $item)
  118. <table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 20px;">
  119. <tr>
  120. <td width="70" style="padding-right: 10px;">
  121. <img src="{{$item->product->image}}" alt="Product Image" style="width: 69px; height: 69px; object-fit: contain;" />
  122. </td>
  123. <td style="vertical-align: top;">
  124. <h3 style="color: #231f20; font-family: Raleway, sans-serif; font-size: 9px; font-weight: 600; margin: 0 0 5px;">
  125. {{$item->product_name}}
  126. </h3>
  127. <ul style="color: #4d4d4d; font-family: Raleway, sans-serif; font-size: 8px; margin: 0; padding-left: 10px; list-style-type: disc;">
  128. @if ($item->product->short_description)
  129. <li>{{$item->product->short_description}}</li>
  130. @endif
  131. @if ($item->product->quantity_info)
  132. <li>{{$item->product->quantity_info}}</li>
  133. @endif
  134. @if ($item->product->package)
  135. <li>{{$item->product->package}}</li>
  136. @endif
  137. </ul>
  138. </td>
  139. <td style="text-align: right;">
  140. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
  141. {{$item->quantity}} x {{$item->price}} {{$order->currency->code}}
  142. </p>
  143. </td>
  144. </tr>
  145. </table>
  146. @endforeach
  147. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  148. <tr>
  149. <td style="padding: 5px 0;">
  150. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
  151. Sub total: {{$order->sub_total}} {{$order->currency->code}}
  152. </p>
  153. </td>
  154. </tr>
  155. <tr>
  156. <td style="padding: 5px 0;">
  157. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
  158. Discount: {{$order->discount}} {{$order->currency->code}}
  159. </p>
  160. </td>
  161. </tr>
  162. <tr>
  163. <td style="padding: 5px 0;">
  164. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
  165. Delivery price: {{$order->delivery_price}} {{$order->currency->code}}
  166. </p>
  167. </td>
  168. </tr>
  169. <tr>
  170. <td style="padding: 5px 0;">
  171. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; font-weight: 700; margin: 0;">
  172. Total: {{$order->total}} {{$order->currency->code}}
  173. </p>
  174. </td>
  175. </tr>
  176. </table>
  177. </td>
  178. </tr>
  179. </table>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td style="padding: 50px 0 40px; text-align: center;">
  184. <img src="https://cupffee.me/images/email/decoration6.png" alt="Decoration" style="width: 160px; height: 113px;" />
  185. <div style="margin: 16px 0;">
  186. <a href="#"><img src="https://cupffee.me/images/email/facebook.png" alt="Facebook" style="width: 34px; height: 34px;" /></a>
  187. <a href="#"><img src="https://cupffee.me/images/email/instagram.png" alt="Instagram" style="width: 34px; height: 34px;" /></a>
  188. <a href="#"><img src="https://cupffee.me/images/email/tik-tok.png" alt="TikTok" style="width: 34px; height: 34px;" /></a>
  189. <a href="#"><img src="https://cupffee.me/images/email/youtube.png" alt="YouTube" style="width: 34px; height: 34px;" /></a>
  190. <a href="#"><img src="https://cupffee.me/images/email/linkedin.png" alt="LinkedIn" style="width: 34px; height: 34px;" /></a>
  191. </div>
  192. <img src="https://cupffee.me/images/email/decoration7.png" alt="Decoration" style="width: 70px; height: 45px; margin-top: 24px;" />
  193. <div style="margin-top: 28px;">
  194. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; margin: 0;">office@cupffee.me</p>
  195. <p style="color: #231f20; font-family: Raleway, sans-serif; font-size: 12px; margin: 0;">+359 884 931 183</p>
  196. <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>
  197. </div>
  198. <img src="https://cupffee.me/images/email/logo.png" alt="Logo" style="width: 49px; height: 14px; margin-top: 28px;" />
  199. </td>
  200. </tr>
  201. </table>
  202. </div>
  203. </body>
  204.  
  205. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement