{% from 'batches/form.html' import batch_add_form %}

{{ batch.consumable.label }}

Details

{% if current_user.has_permission('add-consumable-batch') %} {% if (not batch.in_use) and (batch.date_emptied is none) %} Mark open {% endif %} {% if batch.in_use and batch.date_emptied is none %} Mark empty {% endif %} {% endif %}
Database ID {{ batch.id }}
Consumable {% if batch.consumable.entity_type == 'antibody' %} {{ batch.consumable.label }} {% else %} {{ batch.consumable.label }} {% endif %}
Supplier {{ batch.supplier }}
Article number {{ batch.article_number }}
Lot {{ batch.lot }}
Amount {{ batch.amount }}
Order date {{ batch.date_ordered | format_date }}
Expiration date {{ batch.date_expiration | format_date }}
Price {{ batch.price }}
Storage place {{ batch.storage_place }}
Currently in use {% if batch.in_use %}Yes{% else %}No{% endif %}
Opened on {{ batch.date_opened | format_date }}
Emptied on {{ batch.date_emptied | format_date }}