HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/teamdemo.sports-crowd.com/resources/views/mails/newOrderCreate.blade.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0070)https://viewstripo.email/template/c4e515dd-89b7-41c2-9ee6-269e3763dabc -->
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:o="urn:schemas-microsoft-com:office:office"
  style="width:100%;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0"
>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta
      http-equiv="Content-Security-Policy"
      content="script-src &#39;none&#39;; connect-src &#39;none&#39;; object-src &#39;none&#39;; form-action &#39;none&#39;;"
    />

    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta name="x-apple-disable-message-reformatting" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="telephone=no" name="format-detection" />
    <title>{{ Lang::get('messages.newOrderCreate.title')}}</title>
    <!--[if (mso 16)]>
      <style type="text/css">
        a {
          text-decoration: none;
        }
      </style>
    <![endif]-->
    <!--[if gte mso 9
      ]><style>
        sup {
          font-size: 100% !important;
        }
      </style><!
    [endif]-->
    <!--[if gte mso 9]>
      <xml>
        <o:OfficeDocumentSettings>
          <o:AllowPNG></o:AllowPNG>
          <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
      </xml>
    <![endif]-->
    <link rel="shortcut icon" type="image/png" href="https://stripo.email/assets/img/favicon.png" />
    <style type="text/css">
      html {
        background-color: #efefef;
      }
      #outlook a {
        padding: 0;
      }
      .ExternalClass {
        width: 100%;
      }
      .ExternalClass,
      .ExternalClass p,
      .ExternalClass span,
      .ExternalClass font,
      .ExternalClass td,
      .ExternalClass div {
        line-height: 100%;
      }
      .es-button {
        mso-style-priority: 100 !important;
        text-decoration: none !important;
      }
      a[x-apple-data-detectors] {
        color: inherit !important;
        text-decoration: none !important;
        font-size: inherit !important;
        font-family: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
      }
      .es-desk-hidden {
        display: none;
        float: left;
        overflow: hidden;
        width: 0;
        max-height: 0;
        line-height: 0;
        mso-hide: all;
      }
      @media only screen and (max-width: 600px) {
        p,
        ul li,
        ol li,
        a {
          font-size: 16px !important;
          line-height: 150% !important;
        }
        h1 {
          font-size: 30px !important;
          text-align: center;
          line-height: 120% !important;
        }
        h2 {
          font-size: 26px !important;
          text-align: center;
          line-height: 120% !important;
        }
        h3 {
          font-size: 20px !important;
          text-align: center;
          line-height: 120% !important;
        }
        h1 a {
          font-size: 30px !important;
        }
        h2 a {
          font-size: 26px !important;
        }
        h3 a {
          font-size: 20px !important;
        }
        .es-header-body p,
        .es-header-body ul li,
        .es-header-body ol li,
        .es-header-body a {
          font-size: 16px !important;
        }
        .es-footer-body p,
        .es-footer-body ul li,
        .es-footer-body ol li,
        .es-footer-body a {
          font-size: 16px !important;
        }
        .es-infoblock p,
        .es-infoblock ul li,
        .es-infoblock ol li,
        .es-infoblock a {
          font-size: 12px !important;
        }
        *[class="gmail-fix"] {
          display: none !important;
        }
        .es-m-txt-c,
        .es-m-txt-c h1,
        .es-m-txt-c h2,
        .es-m-txt-c h3 {
          text-align: center !important;
        }
        .es-m-txt-r,
        .es-m-txt-r h1,
        .es-m-txt-r h2,
        .es-m-txt-r h3 {
          text-align: right !important;
        }
        .es-m-txt-l,
        .es-m-txt-l h1,
        .es-m-txt-l h2,
        .es-m-txt-l h3 {
          text-align: left !important;
        }
        .es-m-txt-r img,
        .es-m-txt-c img,
        .es-m-txt-l img {
          display: inline !important;
        }
        .es-button-border {
          display: block !important;
        }
        a.es-button {
          font-size: 20px !important;
          display: block !important;
          border-left-width: 0px !important;
          border-right-width: 0px !important;
        }
        .es-btn-fw {
          border-width: 10px 0px !important;
          text-align: center !important;
        }
        .es-adaptive table,
        .es-btn-fw,
        .es-btn-fw-brdr,
        .es-left,
        .es-right,
        .es-center {
          width: 100% !important;
        }
        .es-content table,
        .es-header table,
        .es-footer table,
        .es-content,
        .es-footer,
        .es-header {
          width: 100% !important;
          max-width: 600px !important;
        }
        .es-adapt-td {
          display: block !important;
          width: 100% !important;
        }
        .adapt-img {
          width: 100% !important;
          height: auto !important;
        }
        .es-m-p0 {
          padding: 0px !important;
        }
        .es-m-p0r {
          padding-right: 0px !important;
        }
        .es-m-p0l {
          padding-left: 0px !important;
        }
        .es-m-p0t {
          padding-top: 0px !important;
        }
        .es-m-p0b {
          padding-bottom: 0 !important;
        }
        .es-m-p20b {
          padding-bottom: 20px !important;
        }
        .es-mobile-hidden,
        .es-hidden {
          display: none !important;
        }
        tr.es-desk-hidden,
        td.es-desk-hidden,
        table.es-desk-hidden {
          width: auto !important;
          overflow: visible !important;
          float: none !important;
          max-height: inherit !important;
          line-height: inherit !important;
        }
        tr.es-desk-hidden {
          display: table-row !important;
        }
        table.es-desk-hidden {
          display: table !important;
        }
        td.es-desk-menu-hidden {
          display: table-cell !important;
        }
        .es-menu td {
          width: 1% !important;
        }
        table.es-table-not-adapt,
        .esd-block-html table {
          width: auto !important;
        }
        table.es-social {
          display: inline-block !important;
        }
        table.es-social td {
          display: inline-block !important;
        }
        .es-menu td a {
          font-size: 16px !important;
        }
      }
    </style>
    <meta property="og:title" content="Trigger newsletter" />
    <meta property="og:description" content="Nuevo pedido {{ config('app.name') }}" />
    <meta property="og:url" content="https://viewstripo.email/template/c4e515dd-89b7-41c2-9ee6-269e3763dabc" />
    <meta property="og:type" content="article" />
  </head>
  <body
    style="width:100%;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;padding:0;Margin:0"
    cz-shortcut-listen="true"
  >
    <div class="es-wrapper-color" style="background-color: #efefef">
      <!--[if gte mso 9]>
        <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
          <v:fill type="tile" color="#efefef"></v:fill>
        </v:background>
      <![endif]-->
      <table
        class="es-wrapper"
        width="100%"
        cellspacing="0"
        cellpadding="0"
        style="
          mso-table-lspace: 0pt;
          mso-table-rspace: 0pt;
          border-collapse: collapse;
          border-spacing: 0px;
          padding: 0;
          margin: 0;
          width: 100%;
          height: 100%;
          background-repeat: repeat;
          background-position: center top;
        "
      >
        <tbody>
          <tr style="border-collapse: collapse">
            <td valign="top" style="padding: 0; margin: 0">
              <table
                class="es-content"
                cellspacing="0"
                cellpadding="0"
                align="center"
                style="
                  mso-table-lspace: 0pt;
                  mso-table-rspace: 0pt;
                  border-collapse: collapse;
                  border-spacing: 0px;
                  table-layout: fixed !important;
                  width: 100%;
                "
              >
                <tbody>
                  <tr style="border-collapse: collapse">
                    <td align="center" style="padding: 0; margin: 0">
                      <table
                        class="es-content-body"
                        cellspacing="0"
                        cellpadding="0"
                        bgcolor="#ffffff"
                        align="center"
                        style="
                          mso-table-lspace: 0pt;
                          mso-table-rspace: 0pt;
                          border-collapse: collapse;
                          border-spacing: 0px;
                          background-color: #ffffff;
                          width: 600px;
                        "
                      >
                        <tbody>
                          <tr style="border-collapse: collapse">
                            <td align="left" style="margin: 0; padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px">
                              <table
                                width="100%"
                                cellspacing="0"
                                cellpadding="0"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td valign="top" align="center" style="padding: 0; margin: 0; width: 560px">
                                      <table
                                        style="
                                          mso-table-lspace: 0pt;
                                          mso-table-rspace: 0pt;
                                          border-collapse: separate;
                                          border-spacing: 0px;
                                          border-radius: 0px;
                                        "
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td align="center" style="padding: 0; margin: 0; padding-top: 10px; padding-bottom: 15px">
                                              <h1
                                                style="Margin:0;line-height:36px;mso-line-height-rule:exactly;font-family:&#39;trebuchet ms&#39;, helvetica, sans-serif;font-size:30px;font-style:normal;font-weight:normal;color:#333333"
                                              >
                                                Nuevo pedido {{ config('app.name') }}<br />
                                              </h1>
                                            </td>
                                          </tr>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="center"
                                              style="margin: 0; padding-top: 5px; padding-bottom: 5px; padding-left: 40px; padding-right: 40px"
                                            >
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                Ha llegado un nuevo pedido a {{ config('app.name') }} con el código {{ $order["order"]->code }}
                                              </p>
                                            </td>
                                          </tr>
                                          <tr style="border-collapse: collapse">
                                            <td align="center" style="padding: 0; margin: 0; padding-bottom: 10px; padding-top: 15px">
                                              <span
                                                class="es-button-border"
                                                style="
                                                  border-style: solid;
                                                  border-color: #2cb543;
                                                  background: #d48344 none repeat scroll 0% 0%;
                                                  border-width: 0px;
                                                  display: inline-block;
                                                  border-radius: 5px;
                                                  width: auto;
                                                  border-top: 0px solid #2cb543;
                                                  border-bottom: 0px solid #2cb543;
                                                "
                                                ><a
                                                  href="{{ config('app.url') }}/orders/edit/{{ $order["order"]->id }}"
                                                  class="es-button"
                                                  target="_blank"
                                                  style="mso-style-priority:100 !important;text-decoration:underline;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;font-size:16px;color:#FFFFFF;border-style:solid;border-color:#D48344;border-width:10px 20px 10px 20px;display:inline-block;background:#D48344 none repeat scroll 0% 0%;border-radius:5px;font-weight:normal;font-style:normal;line-height:19px;width:auto;text-align:center;border-top-width:10px;border-bottom-width:10px"
                                                  >Ver Detalles</a
                                                ></span
                                              >
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table
                class="es-content"
                cellspacing="0"
                cellpadding="0"
                align="center"
                style="
                  mso-table-lspace: 0pt;
                  mso-table-rspace: 0pt;
                  border-collapse: collapse;
                  border-spacing: 0px;
                  table-layout: fixed !important;
                  width: 100%;
                "
              >
                <tbody>
                  <tr style="border-collapse: collapse">
                    <td align="center" style="padding: 0; margin: 0">
                      <table
                        class="es-content-body"
                        cellspacing="0"
                        cellpadding="0"
                        bgcolor="#ffffff"
                        align="center"
                        style="
                          mso-table-lspace: 0pt;
                          mso-table-rspace: 0pt;
                          border-collapse: collapse;
                          border-spacing: 0px;
                          background-color: #ffffff;
                          width: 600px;
                        "
                      >
                        <tbody>
                          <tr style="border-collapse: collapse">
                            <td align="left" style="margin: 0; padding-top: 20px; padding-left: 20px; padding-right: 20px; padding-bottom: 30px">
                              <!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:280px" valign="top"><![endif]-->
                              <table
                                class="es-left"
                                cellspacing="0"
                                cellpadding="0"
                                align="left"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px; width: 100%; margin-bottom: 2px;"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td class="es-m-p20b" align="left" style="padding: 0; margin: 0; width: 280px">
                                      <table
                                        style="
                                          mso-table-lspace: 0pt;
                                          mso-table-rspace: 0pt;
                                          border-collapse: separate;
                                          border-spacing: 0px;
                                          background-color: #fef9ef;
                                          border-color: #efefef;
                                          border-width: 1px 1px 1px 1px;
                                          border-style: solid;
                                        "
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        bgcolor="#fef9ef"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="margin: 0; padding-bottom: 10px; padding-top: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                              <h4
                                                style="Margin:0;line-height:120%;mso-line-height-rule:exactly;font-family:&#39;trebuchet ms&#39;, helvetica, sans-serif"
                                              >
                                                RESUMEN:
                                              </h4>
                                            </td>
                                          </tr>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="padding: 0; margin: 0; padding-bottom: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                              <table
                                                style="
                                                  mso-table-lspace: 0pt;
                                                  mso-table-rspace: 0pt;
                                                  border-collapse: collapse;
                                                  border-spacing: 0px;
                                                  width: 100%;
                                                "
                                                class="cke_show_border"
                                                cellspacing="1"
                                                cellpadding="1"
                                                border="0"
                                                align="left"
                                              >
                                                <tbody>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Código:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->code }}</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Fecha:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->creation_date }}</span>
                                                    </td>
                                                  </tr>
                                                  
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Total:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">@priceFormat($order["order"]->total_price)</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Método de pago:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->paymentType->name }}</span>
                                                    </td>
                                                  </tr>                                 
                                                </tbody>
                                              </table>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                <br />
                                              </p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <!--[if mso]></td><td style="width:0px"></td><td style="width:280px" valign="top"><![endif]-->

                              <table
                        class="es-left"
                cellspacing="0"
                cellpadding="0"
                align="left"
                style="
                  mso-table-lspace: 0pt;
                  mso-table-rspace: 0pt;
                  border-collapse: collapse;
                  border-spacing: 0px;
                  table-layout: fixed !important;                  
                  float: left;
                "
              >
                              <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td class="es-m-p20b" align="left" style="padding: 0; margin: 0; width: 340px">
                                      <table
                                        style="
                                          mso-table-lspace: 0pt;
                                          mso-table-rspace: 0pt;
                                          border-collapse: separate;
                                          border-spacing: 0px;
                                          background-color: #fef9ef;
                                          border-color: #efefef;
                                          border-width: 1px 1px 1px 1px;
                                          border-style: solid;
                                        "
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        bgcolor="#fef9ef"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="margin: 0; padding-bottom: 10px; padding-top: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                              <h4
                                                style="Margin:0;line-height:120%;mso-line-height-rule:exactly;font-family:&#39;trebuchet ms&#39;, helvetica, sans-serif"
                                              >
                                               CLIENTE:
                                              </h4>
                                            </td>
                                          </tr>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="padding: 0; margin: 0; padding-bottom: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                              <table
                                                style="
                                                  mso-table-lspace: 0pt;
                                                  mso-table-rspace: 0pt;
                                                  border-collapse: collapse;
                                                  border-spacing: 0px;
                                                  width: 100%;
                                                "
                                                class="cke_show_border"
                                                cellspacing="1"
                                                cellpadding="1"
                                                border="0"
                                                align="left"
                                              >
                                                <tbody>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Nombre:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->client->first_name }} {{ $order["order"]->client->last_name }}</span>
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Documento:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->client->document }}</span>
                                                    </td>
                                                  </tr>
                                                  @if(isset($order["order"]->address))
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Dirección de facturación:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->address->direction }} {{ $order["order"]->address->tag ? ', ' . $order["order"]->address->tag : '' }} {{ $order["order"]->address->indications ? ', ' . $order["order"]->address->indications : '' }}</span>
                                                    </td>
                                                  </tr>
                                                  @if(isset($order["order"]->address->city) && $order["order"]->address->city)
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Pais:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->address->city->state->country->name }}</span>
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Departamento:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->address->city->state->name }} </span>
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Ciudad:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->address->city->name }}</span>
                                                    </td>
                                                  </tr>
                                                  @endif
                                                  @else
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Dirección de facturación:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->point_sale->name }}</span>
                                                    </td>
                                                  </tr>
                                                  @endif
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Celular:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->client->phone }}</span>
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">Correo:</span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0">
                                                      <span style="font-size: 14px; line-height: 21px">{{ $order["order"]->client->email }}</span>
                                                    </td>
                                                  </tr>                                         
                                                </tbody>
                                              </table>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                <br />
                                              </p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>


                              <table
                                class="es-right"
                                cellspacing="0"
                                cellpadding="0"
                                align="right"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px; float: right"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td class="es-m-p20b" align="left" style="padding: 0; margin: 0; width: 220px">
                                      <table
                                        style="
                                          mso-table-lspace: 0pt;
                                          mso-table-rspace: 0pt;
                                          border-collapse: separate;
                                          border-spacing: 0px;
                                          background-color: #fef9ef;
                                          border-width: 1px;
                                          border-style: solid;
                                          border-color: #efefef;
                                        "
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        bgcolor="#fef9ef"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="margin: 0; padding-bottom: 10px; padding-top: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                              <h4
                                                style="Margin:0;line-height:120%;mso-line-height-rule:exactly;font-family:&#39;trebuchet ms&#39;, helvetica, sans-serif"
                                              >
                                                DIRECCIÓN DE ENVÍO:<br />
                                              </h4>
                                            </td>
                                          </tr>
                                          <tr style="border-collapse: collapse">
                                            <td
                                              align="left"
                                              style="padding: 0; margin: 0; padding-bottom: 20px; padding-left: 20px; padding-right: 20px"
                                            >
                                            <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                              {{ $order["order"]->client->first_name }} {{ $order["order"]->client->last_name }}
                                              </p>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                              {{ $order["order"]->client->document }}
                                              </p>
                                              @if(isset($order["order"]->address))
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                {{ $order["order"]->address->direction }} {{ $order["order"]->address->tag ? ', ' . $order["order"]->address->tag : '' }} {{ $order["order"]->address->indications ? ', ' . $order["order"]->address->indications : '' }}
                                              </p>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                {{ $order["order"]->address->district }}
                                              </p>
                                              @if(isset($order["order"]->address->city) && $order["order"]->address->city)
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                               {{ $order["order"]->address->city->state->country->name }}
                                              </p>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                               {{ $order["order"]->address->city->state->name }}
                                              </p>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                               {{ $order["order"]->address->city->name }}
                                              </p>
                                              @endif
                                              @else
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                               {{ $order["order"]->point_sale->name }}
                                              </p>
                                              @endif
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                {{ $order["order"]->client->phone }}
                                              </p>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                {{ $order["order"]->client->email }}
                                              </p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                      <!--[if mso]></td></tr></table><![endif]-->

                                      </td>
                                    </tr>
                                  </tbody>
                                </table>

                              </td>
                            </tr>
                        </tbody>
                      </table>

                      

              <table
                class="es-content"
                cellspacing="0"
                cellpadding="0"
                align="center"
                style="
                  mso-table-lspace: 0pt;
                  mso-table-rspace: 0pt;
                  border-collapse: collapse;
                  border-spacing: 0px;
                  table-layout: fixed !important;
                  width: 100%;
                "
              >
                <tbody>
                  <tr style="border-collapse: collapse">
                    <td align="center" style="padding: 0; margin: 0">
                      <table
                        class="es-content-body"
                        cellspacing="0"
                        cellpadding="0"
                        bgcolor="#ffffff"
                        align="center"
                        style="
                          mso-table-lspace: 0pt;
                          mso-table-rspace: 0pt;
                          border-collapse: collapse;
                          border-spacing: 0px;
                          background-color: #ffffff;
                          width: 600px;
                        "
                      >
                        <tbody>
                          <tr style="border-collapse: collapse">
                            <td align="left" style="margin: 0; padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px">
                              <!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:270px" valign="top"><![endif]-->
                              <table
                                class="es-left"
                                cellspacing="0"
                                cellpadding="0"
                                align="left"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px; float: left"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding: 0; margin: 0; width: 270px">
                                      <table
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td align="left" style="padding: 0; margin: 0; padding-left: 20px">
                                              <h4
                                                style="Margin:0;line-height:120%;mso-line-height-rule:exactly;font-family:&#39;trebuchet ms&#39;, helvetica, sans-serif"
                                              >
                                                PRODUCTOS
                                              </h4>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <!--[if mso]></td><td style="width:20px"></td><td style="width:270px" valign="top"><![endif]-->
                              <table
                                cellspacing="0"
                                cellpadding="0"
                                align="right"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td align="left" style="padding: 0; margin: 0; width: 270px">
                                      <table
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td align="left" style="padding: 0; margin: 0">
                                              <table
                                                style="
                                                  mso-table-lspace: 0pt;
                                                  mso-table-rspace: 0pt;
                                                  border-collapse: collapse;
                                                  border-spacing: 0px;
                                                  width: 100%;
                                                "
                                                class="cke_show_border"
                                                cellspacing="1"
                                                cellpadding="1"
                                                border="0"
                                              >
                                                <tbody>
                                                  <tr style="border-collapse: collapse; border-bottom: 1px groove">
                                                    <td style="padding: 0; margin: 0"><span style="font-size: 13px">NOMBRE</span></td>
                                                    <td style="padding: 0; margin: 0; width: 60px; text-align: center">
                                                      <span style="font-size: 13px"><span style="line-height: 100%">CANT.</span></span>
                                                    </td>
                                                    <td style="padding: 0; margin: 0; width: 100px; text-align: center">
                                                      <span style="font-size: 13px"><span style="line-height: 100%">PRECIO</span></span>
                                                    </td>
                                                  </tr>

                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0"><span style="font-size: 13px">ATRIBUTOS</span></td>
                                                  </tr>


                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <!--[if mso]></td></tr></table><![endif]-->
                            </td>
                          </tr>
                          <tr style="border-collapse: collapse">
                            <td align="left" style="padding: 0; margin: 0; padding-left: 20px; padding-right: 20px">
                              <table
                                width="100%"
                                cellspacing="0"
                                cellpadding="0"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td valign="top" align="center" style="padding: 0; margin: 0; width: 560px">
                                      <table
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td align="center" style="padding: 0; margin: 0; padding-bottom: 10px; font-size: 0">
                                              <table
                                                width="100%"
                                                height="100%"
                                                cellspacing="0"
                                                cellpadding="0"
                                                border="0"
                                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                              >
                                                <tbody>
                                                  <tr style="border-collapse: collapse">
                                                    <td
                                                      style="
                                                        padding: 0;
                                                        margin: 0;
                                                        border-bottom: 1px solid #efefef;
                                                        background: #ffffff none repeat scroll 0% 0%;
                                                        height: 1px;
                                                        width: 100%;
                                                        margin: 0px;
                                                      "
                                                    ></td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>

                    @foreach ($order["products"] as $product)

                        @if($product["order_product_attributes"] != '')

                             @foreach($product["order_product_attributes"] as $attribute) 
                                      <!-- <tr style="border-collapse: collapse">
                                        <td style="padding: 0; margin: 0">{{ $attribute["price_additional"] }}, {{ $attribute["value"]}}</td>
                                        <td style="padding: 0; margin: 0; width: 60px; text-align: center">{{ $attribute["quantity"] }}</td>
                                      </tr>     -->
      
                          
                            <tr style="border-collapse: collapse">
                                <td align="left" style="margin: 0; padding-top: 5px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px">
                                    <!--[if mso]><table style="width:560px" cellpadding="0" cellspacing="0"><tr><td style="width:178px" valign="top"><![endif]-->
                                    <table
                                        class="es-left"
                                        cellspacing="0"
                                        cellpadding="0"
                                        align="left"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px; float: left"
                                    >
                                        <tbody>
                                        <tr style="border-collapse: collapse">
                                            <td class="es-m-p0r es-m-p20b" valign="top" align="center" style="padding: 0; margin: 0; width: 178px">
                                            <table
                                                width="100%"
                                                cellspacing="0"
                                                cellpadding="0"
                                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                            >
                                                <tbody>
                                                <tr style="border-collapse: collapse">
                                                    <td align="center" style="padding: 0; margin: 0; font-size: 0">
                                                    <a
                                                        href="#"
                                                        style="-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;font-size:14px;text-decoration:underline;color:#D48344"
                                                        ><img
                                                        src="{{ config('filesystems.disks.s3.url') }}/products/{{ $product["product_images"][0]->name }}"
                                                        alt="{{ $product["name"] }}"
                                                        class="adapt-img"
                                                        title="{{ $product["name"] }}"
                                                        width="125"
                                                        style="
                                                            display: block;product
                                                            border: 0;
                                                            outline: none;
                                                            text-decoration: none;
                                                            -ms-interpolation-mode: bicubic;
                                                        "
                                                    /></a>
                                                    </td>
                                                </tr>
                                                </tbody>
                                            </table>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <!--[if mso]></td><td style="width:20px"></td><td style="width:362px" valign="top"><![endif]-->
                                    <table
                                        cellspacing="0"
                                        cellpadding="0"
                                        align="right"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                    >
                                        <tbody>
                                        <tr style="border-collapse: collapse">
                                            <td align="left" style="padding: 0; margin: 0; width: 362px">
                                            <table
                                                width="100%"
                                                cellspacing="0"
                                                cellpadding="0"
                                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                            >
                                                <tbody>
                                                <tr style="border-collapse: collapse">
                                                    <td align="left" style="padding: 0; margin: 0">
                                                    <p
                                                        style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                                    >
                                                        <br />
                                                    </p>
                                                    <table
                                                        style="
                                                        mso-table-lspace: 0pt;
                                                        mso-table-rspace: 0pt;
                                                        border-collapse: collapse;
                                                        border-spacing: 0px;
                                                        width: 100%;
                                                        "
                                                        class="cke_show_border"
                                                        cellspacing="1"
                                                        cellpadding="1"
                                                        border="0"
                                                    >
                                                        <tbody>
                                                        <tr style="border-collapse: collapse; border-bottom: 1px groove">
                                                            <td style="padding: 0; margin: 0">{{ $product["name"] }}</td>
                                                            <td style="padding: 0; margin: 0; width: 60px; text-align: center">{{ $product["quantity"] }}</td>
                                                            <td style="padding: 0; margin: 0; width: 100px; text-align: center">@priceFormat($product["price"])</td>
                                                        </tr>
                                                        
                                                        <tr style="border-collapse: collapse">
                                                            <td style="padding: 0; margin: 0">{{ $attribute["value"]}}</td>
                                                        </tr>


                                                        </tbody>
                                                    </table>
                                                    <p
                                                        style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                                    >
                                                        <br />
                                                    </p>
                                                    </td>
                                                </tr>
                                                </tbody>
                                            </table>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <!--[if mso]></td></tr></table><![endif]-->
                                </td>
                            </tr>

                            <tr style="border-collapse: collapse">
                                <td align="left" style="padding: 0; margin: 0; padding-left: 20px; padding-right: 20px">
                                <table
                                    width="100%"
                                    cellspacing="0"
                                    cellpadding="0"
                                    style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                >
                                    <tbody>
                                    <tr style="border-collapse: collapse">
                                        <td valign="top" align="center" style="padding: 0; margin: 0; width: 560px">
                                        <table
                                            width="100%"
                                            cellspacing="0"
                                            cellpadding="0"
                                            style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                        >
                                            <tbody>
                                            <tr style="border-collapse: collapse">
                                                <td align="center" style="padding: 0; margin: 0; padding-bottom: 10px; font-size: 0">
                                                <table
                                                    width="100%"
                                                    height="100%"
                                                    cellspacing="0"
                                                    cellpadding="0"
                                                    border="0"
                                                    style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                                >
                                                    <tbody>
                                                    <tr style="border-collapse: collapse">
                                                        <td
                                                        style="
                                                            padding: 0;
                                                            margin: 0;
                                                            border-bottom: 1px solid #efefef;
                                                            background: #ffffff none repeat scroll 0% 0%;
                                                            height: 1px;
                                                            width: 100%;
                                                            margin: 0px;
                                                        "
                                                        ></td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                </td>
                            </tr>
                        @endforeach 
                      @endif
                  @endforeach

                          <!-- TOTAL -->
                          <tr style="border-collapse: collapse">
                            <td align="left" style="margin: 0; padding-top: 5px; padding-left: 20px; padding-bottom: 30px; padding-right: 40px">
                              <table
                                width="100%"
                                cellspacing="0"
                                cellpadding="0"
                                style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                              >
                                <tbody>
                                  <tr style="border-collapse: collapse">
                                    <td valign="top" align="center" style="padding: 0; margin: 0; width: 540px">
                                      <table
                                        width="100%"
                                        cellspacing="0"
                                        cellpadding="0"
                                        style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px"
                                      >
                                        <tbody>
                                          <tr style="border-collapse: collapse">
                                            <td align="right" style="padding: 0; margin: 0">
                                              <table
                                                style="
                                                  mso-table-lspace: 0pt;
                                                  mso-table-rspace: 0pt;
                                                  border-collapse: collapse;
                                                  border-spacing: 0px;
                                                  width: 500px;
                                                "
                                                class="cke_show_border"
                                                cellspacing="1"
                                                cellpadding="1"
                                                border="0"
                                                align="right"
                                              >
                                                <tbody>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                      Subtotal:
                                                    </td>
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                        @priceFormat($order["order"]->subtotal)
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                      Envio:
                                                    </td>
                                                    <td
                                                      style="
                                                        padding: 0;
                                                        margin: 0;
                                                        text-align: right;
                                                        font-size: 18px;
                                                        line-height: 27px;
                                                        color: #d48344;
                                                      "
                                                    >
                                                      <strong>@priceFormat($order["order"]->cost_delivery)</strong>
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                      Descuentos
                                                    </td>
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                        @priceFormat($order["order"]->discount_price)
                                                    </td>
                                                  </tr>
                                                  <tr style="border-collapse: collapse">
                                                    <td style="padding: 0; margin: 0; text-align: right; font-size: 18px; line-height: 27px">
                                                      <strong>Total:</strong>
                                                    </td>
                                                    <td
                                                      style="
                                                        padding: 0;
                                                        margin: 0;
                                                        text-align: right;
                                                        font-size: 18px;
                                                        line-height: 27px;
                                                        color: #d48344;
                                                      "
                                                    >
                                                      <strong>@priceFormat($order["order"]->total_price)</strong>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                              <p
                                                style="Margin:0;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;mso-line-height-rule:exactly;font-size:14px;font-family:arial, &#39;helvetica neue&#39;, helvetica, sans-serif;line-height:21px;color:#333333"
                                              >
                                                <br />
                                              </p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>