0 and ppk.par_level > 0 %}class="dosis-red-background"{% endif %}{% elif ppk.on_hand < ppk.low_level %}class="dosis-yellow-background"{% endif %}>
|
{% if user_can_manage or user_can_access %}
{% endif %}
|
{% if forloop.first %}{% endif %}
{{ ppk.drug_number }} |
{{ ppk.drug_name }} |
{{ ppk.manufacturer }} |
{{ ppk.shape }} |
{{ ppk.color }} |
{{ ppk.package }} |
{{ ppk.day_supply }} |
{{ ppk.qty_per_dose }} |
{% if user_can_manage %}
{% else %}
{{ ppk.low_level }}
{% endif %}
|
{% if user_can_manage %}
|
{% else %}
{{ ppk.par_level }}
{% endif %}
{% if user_can_manage or user_can_access %}
|
{% else %}
{{ ppk.on_hand }}
{% endif %}
{{ ppk.in_queue }} |
{% if user_can_manage %}
|
{% else %}
{% endif %}
{{ ppk.active }} |
{% if user_can_manage %}
{% if the_purge_has_commenced %}
{% if ppk.purge_start_dts is not None %}
|
{% else %}
{% endif %}
{% else %}
{% endif %}
{% endif %}
{% if user_can_manage %}
{% if mfq_enabled %}
{% endif %}
{% endif %}
{% if the_purge_has_commenced %}
{% if ppk.purge_start_dts is not None %}
{% if ppk.purge_days < stale_days %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
|
{% endfor %}