{config_load file="$language.conf" section="customer"}
{literal}
<style>
  <!--
  .dotline {
    border-style: dotted;
    border-width: 1px;
    border-color: #555555;
    border-collapse: collapse;
  }

  .dotline tr td {
    border-style: dotted;
    border-width: 1px;
    border-color: #555555;
    padding: 2px;
  }

  .dotline tr th {
    border-style: dotted;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #555555;
    text-align: left;
    padding: 2px;
  }

  .right {
    text-align: right;
  }

  -->
</style>
{/literal}
<div class="content_indented">
  <div style="width: 48%;float:left;padding-right: 10px;">
    <div style="width:100%" class="bordered round_border background_color">
      <div class="padding">

        <div style="width: 120px; float: left; padding-right: 10px;">
          <div class="nameBadgeCustomerLarge">{$name}</div>
        </div>
        <b>{$name}</b>
        <br/>
        {$email}
        <br>
        {$street}
        <br>
        {$countrycode}-{$postcode} {$city}
        <br>
        {if $telephone}
            {$telephone}
        {/if}


        <br style="clear: both;">
        {if isset($status)}
        <br>
        <b>{#customers_status#}:</b> {$status}
        <br>
        {/if}
        <br>
        <table>
          <tr>
            <td><b>{#customer_since#}:</b></td>
            <td><abbr title="{$date_added_relative}">{$date_added}</abbr></td>
          </tr>
          <tr>
            <td><b>{#last_modified#}:</b></td>
            <td><abbr title="{$date_last_modiefied_relative}">{$date_last_modiefied}</abbr></td>
          </tr>
          <tr>
            <td><b>{#birthday#}:</b></td>
            <td><abbr title="{$birthdate_relative}">{$birthdate}</abbr></td>
          </tr>
          <tr>
            <td><b>{#last_order#}:</b></td>
            <td><abbr title="{$date_last_order_relative}">{$date_last_order}</abbr></td>
          </tr>
        </table>

        <!--
        <br>
        <b>{#turnover_title#}</b>:
        <table>
          <tr>
            <td><b>{#turnover_total#}:</b></td>
            <td class="right">{$turnover}</td>
          </tr>
          <tr>
            <td><b>{#turnover_this_month#}:</b></td>
            <td class="right">{$turnover_this_month}</td>
          </tr>
          <tr>
            <td><b>{#turnover_last_month#}:</b></td>
            <td class="right">{$turnover_last_month}</td>
          </tr>
          <tr>
            <td><b>{#turnover_this_year#}:</b></td>
            <td class="right">{$turnover_this_year}</td>
          </tr>
          <tr>
            <td><b>{#turnover_last_year#}:</b></td>
            <td class="right">{$turnover_last_year}</td>
          </tr>

        </table>

        -->
      </div>
    </div>
    {if ($customer->hasHardBounce)}

    <div style="margin-top: 20px;">
      <hr>

      <div style="margin-top: 10px">

      {#bounce_intro#}
      </div>

      <table style="width: 100%; margin-top: 10px;">
        <tr>
          <th style="text-align: left">{#bounce_type#}</th>
          <th style="text-align: left">{#bounce_date#}</th>
          <th style="text-align: left">{#bounce_module#}</th>
        </tr>
        {foreach from=$customer->bounces item=item}
          <tr>
            <td><div class="engagement_badge bounced"> {$item.bounce_type}</div></td>
            <td>{$item.date_bounce}</td>
            <td>{$item.module}</td>
          </tr>
        {/foreach}
      </table>

    </div>
    {/if}

  </div>
  <div style="width: 49%;float:left; padding-left: 10px;">
    <div style="width:100%;" class="bordered round_border background_color">
      <div class="padding">
        <b>{#more_addresses#}</b>:<br><br>
        {foreach from=$all_addresses item=item }
        {$item.entry_company|escape:'htmlall'}<br>
        {$item.entry_firstname|escape:'htmlall'}
        {$item.entry_lastname|escape:'htmlall'}<br>
        {$item.entry_street_address|escape:'htmlall'}<br>
        {$item.countries_iso_code_2}-{$item.entry_postcode}
        {$item.entry_city|escape:'htmlall'}<br>
        {$item.countries_name|escape:'htmlall'}<br><br>
        {/foreach}
      </div>
    </div>

  </div>


  <!--<div style="margin:10px;height:500px;clear:left;">-->
  <!--
  <div style="clear:left; "></div>
  <div style="width:100%;margin-top: 20px;" class="bordered round_border background_color">
    <div class="padding">

      <b>{#whos_online#}</b>:
      <table class="dotline">
        <tr>
          <th>{#session_id#}</th>
          <th>{#ip_address#}</th>
          <th>{#time_entry#}</th>
          <th>{#time_last_click#}</th>
          <th>{#last_page_url#}</th>
        </tr>
        {foreach from=$whos_online item=item}
        <tr>
          <td>{$item.session_id}</td>
          <td>{$item.ip_address}</td>
          <td>{$item.time_entry}</td>
          <td>{$item.time_last_click}</td>
          <td>{$item.last_page_url}</td>
        </tr>
        {/foreach}
      </table>
    </div>
  </div>

  -->



</div>
