From 9dcc51f2211385239b0272bdbf2466637c874f35 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 30 May 2021 10:34:01 +0300 Subject: Check-in fixes and improvements --- servo/templates/orders/toolbar.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'servo/templates/orders/toolbar.html') diff --git a/servo/templates/orders/toolbar.html b/servo/templates/orders/toolbar.html index 286d93e..56fe851 100755 --- a/servo/templates/orders/toolbar.html +++ b/servo/templates/orders/toolbar.html @@ -26,6 +26,9 @@ {% if order.invoice_set.count %}
  • {% trans "Receipt" %}
  • {% trans "Dispatch" context "noun" %}
  • + {% else %} +
  • {% trans "Receipt" %}
  • +
  • {% trans "Dispatch" context "noun" %}
  • {% endif %} @@ -61,7 +64,7 @@ {% if order.can_dispatch %} {% trans "Dispatch" %} {% else %} - {% trans "Dispatch" %} + {% trans "Dispatch" %} {% endif %} {% if perms.servo.change_order and order.can_close %} {% trans "Close" %} -- cgit v1.2.3