<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <head> <style></style> </head>
<body bgcolor="#eeeeee">
<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ data.settings.site.site_name }} </span>
    </td>
    </tr>
  {{~ if data.settings.site.header1 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'> 
      <span style='color: #004B8D;'> {{ data.settings.site.header1 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  {{~ if data.settings.site.header2 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'> 
      <span style='color: #004B8D;'> {{ data.settings.site.header2 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  {{~ if data.settings.site.header3 != "" ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ data.settings.site.header3 }} </span>
    </td>
  </tr>
  {{~ end ~}}
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> Número Série: {{ data.settings.site.console_serial }} </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'> {{ f.currenttime format: data.settings.system.date_format }} </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='font-weight: bold; font-size: 16px; background-color: #ffffff; color: #000000;'>
    <td colspan='1' align='Center' width='100%' style='padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'>  RELATÓRIO DE INVENTÁRIO </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='50%' style='font-weight: Bold; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  Tanque    </span>
    </td>
    <td colspan='1' align='Left' width='50%' style='font-weight: Normal; padding-left: 4px; padding-right: 4px;'>
      <span style='color: #000000;'>  {{ data.tank.tank_number }} - {{ data.tank.tank_description }}           </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='50%' style='font-weight: Bold; padding-left: 4px; padding-right: 4px;'>
      <span style='color: {{if data.probe_status == 0}} #196F3D {{else}} #CC0000 {{end}};'>   Estado  </span>
    </td>
    <td colspan='1' align='Left' width='50%' style='font-weight: Normal; padding-left: 4px; padding-right: 4px;'>
      <span style='color: {{if data.probe_status == 0}} #196F3D {{else}} #CC0000 {{end}};'>   {{ data.probe_status | f.tankstatus }}       </span>
    </td>
  </tr>
</table>

<table align='center' style='border: groove; border-bottom-width: 1; width: 70%; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; font-family: Helvetica, Arial, Segoe UI Light, sans-serif;  font-size: 14px; background-color: #FEFEFE;'>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'>                   </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'>   Inventário atual   </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #004B8D;'>                   </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Hora              </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.measured_on | f.unixtime format: data.settings.system.date_format }}       </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>                    </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Nível do produto     </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.product_level | f.format_level unit: data.settings.system.level_unit }}              </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.level_unit_label | f.unit_label }}       </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Volume do produto    </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.product_volume | f.format_volume unit: data.settings.system.volume_unit }}             </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.volume_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Prod. comp. de vol.    </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.product_volume_comp | f.format_volume unit: data.settings.system.volume_unit }}          </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.volume_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Nível de água       </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.water_level | f.format_level unit: data.settings.system.level_unit }}        </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.level_unit_label | f.unit_label }}       </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Volume Água      </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.water_volume | f.format_volume unit: data.settings.system.volume_unit }}       </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.volume_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Temperatura       </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.temperature | f.format_temperature unit: data.settings.system.temperature_unit }}              </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.temperature_unit_label | f.unit_label }} </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Comp. de temperatura </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.temperature_comp | f.format_temperature unit: data.settings.system.temperature_unit }}            </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.temperature_unit_label | f.unit_label }} </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Densidade           </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.density | f.format_density unit:0 }}           </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>                    </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Comp. de densidade     </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.density_comp | f.format_density unit:0 }}         </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>                    </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Peso do produto    </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.weight | f.format_weight unit: data.settings.system.weight_unit }}            </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.weight_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
  <tr style='background-color: #ffffff;'>
    <td colspan='1' align='Right' width='40%' style='font-weight: Bold; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  Espaço vazio            </span>
    </td>
    <td colspan='1' align='Right' width='20%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>    {{ data.ullage | f.format_volume unit: data.settings.system.volume_unit }}            </span>
    </td>
    <td colspan='1' align='Left' width='40%' style='font-weight: Normal; padding-left: 2px; padding-right: 2px;'>
      <span style='color: #000000;'>  {{ data.settings.system.volume_unit_label | f.unit_label }}      </span>
    </td>
  </tr>
</table>

<div>&nbsp;</div>
</body>
</html>
