<!--
  ~ Landofcoder
  ~
  ~ NOTICE OF LICENSE
  ~
  ~ This source file is subject to the Landofcoder.com license that is
  ~ available through the world-wide-web at this URL:
  ~ https://landofcoder.com/terms
  ~
  ~ DISCLAIMER
  ~
  ~ Do not edit or add to this file if you wish to upgrade this extension to newer
  ~ version in the future.
  ~
  ~ @category   Landofcoder
  ~ @package    Lof_Formbuilder
  ~ @copyright  Copyright (c) 2021 Landofcoder (https://www.landofcoder.com/)
  ~ @license    https://landofcoder.com/terms
  -->
<!--@subject THANK YOU @-->
<!--@vars {
"var data.message":"Message",
"var data.qrcode_tracking_link":"Qrcode image link",
"var data.qrcode":"Message qr code",
"var data.barcode":"Message barcode",
"var data.track_url":"Tracking Url"
} @-->

{{template config_path="design/email/header_template"}}

{{trans "Thank you for your message!"}}
<p>{{trans "Your submitted message as this:"}}</p>
{{var data.message|raw}}
<table class="main">
  <tr>
    <td>
      <p>
        {{trans '<img src="%qrlink" width="200" height="200" alt="qrcode"/>' qrlink=$data.qrcode_tracking_link |raw}}
      </p>
      <p><strong>{{trans "QR Code:"}}</strong> <em>{{var data.qrcode}}</em></p>
      {{if data.barcode}}
      <p>
        {{trans '<img src="%barcode" width="200" height="60" alt="barcode" style="height: 60px"/>' barcode=$data.barcode |raw}}
      </p>
      <p><span>{{var data.qrcode}}</span></p>
      {{/if}}
    </td>
  </tr>
  <tr>
    <td class="email-tracklink">
      {{trans 'You can view the submitted form message at here: <a href="%track_url"> View Message </a>.' track_url=$data.track_url |raw}}
    </td>
  </tr>
  </table>
<p>{{trans "We will check and reply you very soon!"}}</p>
{{template config_path="design/email/footer_template"}}
