{% extends 'layout.twig' %} {% block title %}Drink Types - {{ parent() }}{% endblock %} {% block content %}
ID | Name | Description | Desired Stock | Current Stock | Actions |
---|---|---|---|---|---|
{{ drinkType.id }} | {{ drinkType.name }} | {{ drinkType.description|default('-') }} | {{ drinkType.desiredStock }} | {% if drinkType.currentStock is defined %} {% if drinkType.currentStock < drinkType.desiredStock %} {{ drinkType.currentStock }} {% else %} {{ drinkType.currentStock }} {% endif %} {% else %} - {% endif %} |