      SZIVARGAS TESZT
{{~ for tank in data.tanks ~}}
Tartaly    {{ tank.tank_number }}-{{ tank.tank_description | f.strip_accents }}
{{~ end ~}}
{{~ if data.auto_leak_test_type != 2 ~}}
Teszt      {{ if data.leak_threshold == 0 }}{{ 0.37854118 | f.format_rate unit: data.settings.system.volume_unit }}{{ else if data.leak_threshold == 1 }}{{ 0.75708236 | f.format_rate unit: data.settings.system.volume_unit }}{{ else }}egyedi {{ end }} {{ data.settings.system.leak_unit_label | f.unit_label }}

      Kezdo
Ido               {{ data.initial_time | f.unixtime format: data.settings.system.date_format }}
Termekszint       {{ data.initial_product_level | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Termekmennyiseg   {{ data.initial_product_volume | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Kompenzalt termekm{{ data.initial_product_volume_comp | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Vizszint          {{ data.initial_water_level | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Viz mennyiseg     {{ data.initial_water_volume | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Homerseklet       {{ data.initial_temperature | f.format_temperature unit: data.settings.system.temperature_unit }} {{ data.settings.system.temperature_unit_label | f.temperature_ascii_unit_label }}
      Vege
{{~ if data.final_time <= data.initial_time ~}}
      FOLYAMATBAN
{{~ else ~}}
Ido               {{ data.final_time | f.unixtime format: data.settings.system.date_format }}
Termekszint       {{ data.final_product_level | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Termekmennyiseg   {{ data.final_product_volume | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Kompenzalt termekm{{ data.final_product_volume_comp | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Vizszint          {{ data.final_water_level | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Viz mennyiseg     {{ data.final_water_volume | f.format_volume unit: data.settings.system.volume_unit }} {{ data.settings.system.volume_unit_label | f.unit_label }}
Homerseklet       {{ data.final_temperature | f.format_temperature unit: data.settings.system.temperature_unit }} {{ data.settings.system.temperature_unit_label | f.temperature_ascii_unit_label }}

Mertek            {{ data.hourly_leakage | f.format_rate unit: data.settings.system.volume_unit }} {{ data.settings.system.leak_unit_label | f.unit_label }}
Eredmeny          {{ if data.reason == 0 }}TESZT KESZ    {{ else if data.reason == 1 }}LEK ERZEKELVE      {{ else }}NEM MEGGYOZO     {{ end }}
{{~ end ~}}
{{~ else ~}}
Teszt      CSLD {{ if data.leak_threshold == 0 }}{{ 0.37854118 | f.format_rate unit: data.settings.system.volume_unit }}{{ else if data.leak_threshold == 1 }}{{ 0.75708236 | f.format_rate unit: data.settings.system.volume_unit }}{{ else }}egyedi {{ end }} {{ data.settings.system.leak_unit_label | f.unit_label }}

Kezdo ido         {{ data.initial_time | f.unixtime format: data.settings.system.date_format }}
{{~ if data.final_time <= data.initial_time ~}}
      FOLYAMATBAN
{{~ else ~}}
Vegzo ido         {{ data.final_time | f.unixtime format: data.settings.system.date_format }}
Idotartam         {{ f.timedifference final: data.final_time initial: data.initial_time format: "dd'd 'hh'h 'mm'm 'ss's'" }}
{{~ end ~}}
Min Termekszint   {{ data.min_height | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Max Termekszint   {{ data.max_height | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Atl. Termekszint  {{ data.avr_height | f.format_level unit: data.settings.system.level_unit }} {{ data.settings.system.level_unit_label | f.unit_label }}
Min Homerseklet   {{ data.min_temp | f.format_temperature unit: data.settings.system.temperature_unit }} {{ data.settings.system.temperature_unit_label | f.temperature_ascii_unit_label }}
Max Homerseklet   {{ data.max_temp | f.format_temperature unit: data.settings.system.temperature_unit }} {{ data.settings.system.temperature_unit_label | f.temperature_ascii_unit_label }}
Atl. Homerseklet  {{ data.avr_temp | f.format_temperature unit: data.settings.system.temperature_unit }} {{ data.settings.system.temperature_unit_label | f.temperature_ascii_unit_label }}

{{~ if data.final_time > data.initial_time ~}}
Mertek            {{ data.hourly_leakage | f.format_rate unit: data.settings.system.volume_unit }} {{ data.settings.system.leak_unit_label | f.unit_label }}
Eredmeny          {{ if data.reason == 0 }}NINCS LEK {{ else if data.reason == 1 }}LEK ERZEKELVE      {{ else }}NEM MEGGYOZO     {{ end }}
{{~ end ~}}
{{~ end ~}}
