{% assign cat = site.data.sort[include.ln] %}{% assign cat_size = cat | size %} {% if cat_size == 0 %}

No Categories found

{% else %}
{% endif %}
{% for peer in site.data.orderbook %} {% assign reg_entry = site.data.register | map: peer[0] %}{% assign reg_entry=reg_entry[0] %} {% assign upd_time = site.data.orderbook-update | map: peer[0] | map: 'time' %} {% assign upd_time = upd_time[0] | slice: 0,13 %}{% assign site_time = site.time | slice: 0,13 %} {% assign reg_test = true %} {% if reg_entry.test %} {% if upd_time != site_time %} {% assign reg_test = false %} {% endif %} {% endif %} {% if reg_entry and reg_test %} {% for o in peer[1] %} {% assign tags = o.tags | split: ',' %} {% assign min-size = o.min | times: 1 %} {% assign max-size = o.max | times: 1 %} {% assign hid = reg_entry.id | append: o.headline | append: o.description | sha256 | slice: 0,6 %}
{{ site.data.orderbook-update | map: peer[0] | map: 'time' }} {% if o.image %}{% endif %}
{{ hid }} - {{ o.headline | truncate: 32 }}{% if reg_entry.id == 'FCLN_TEST_001' %} [!! only test order !!]{% endif %}
@{{ reg_entry.id }} / {{ peer[0] }}
{% if o.bid-ask == 'ask' %} ask{% else %} bid{% endif %} {{ reg_entry.lang }} {{ o.latitude }},{{ o.longitude }},{{ o.country-code }} {{ o.condition }} {% for tag in tags %} {% if forloop.index == 1 %} {{ site.data.categories | map: tags[0] | map: "title" | map: include.ln }} {% else %} {% capture Tag %}{{ site.data.categories | map: tags[0] | map: "Tags" | map: tag | map: include.ln }}{% endcapture %} {% if Tag == '' %}{{ tag }}{% else %}{{ Tag }}{% endif %} {% endif %} {% endfor %}
{{ o.description }}
{% capture priceref %}{{ o.price-reference | split: ',' | join: '-' }}{% endcapture %} {% capture price_ex %}{% if site.data.price-sources[priceref] %}{{ site.data.price-sources[priceref].price | plus: 0.00001 | round: 4 }}{% else %}1{% endif %}{% endcapture %} {% capture price %}{% if price_ex != "" %}{{price_ex}}{% else %}{{ o.price-source }}{% endif %}{% endcapture %}
{{ o.price-per-unit | divided_by: price | round:1 | decimals }} FAIR
{% if min-size > 0 %}{{ min-size }}..{% endif %}{{ max-size }} {{ o.unit }}{% if site.data.price-sources[priceref] %}
( {{ o.price-per-unit | decimals }} {{ site.data.price-sources[priceref].currency }} / {{ o.unit }} )
( {{ price }} {{ site.data.price-sources[priceref].currency }} / FAIR )
{% if price_ex != "" %}{{ o.price-source | replace: '-','/' }}{% else %}fixed price{% endif %}{% else %}


{% endif %}
{% endfor %} {% endif %} {% endfor %}
{% include modal-messager.html %}