aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-17 20:49:00 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-17 20:49:00 +0300
commit3418ece690ca90d676a7d8ae654da7770ae312fb (patch)
tree5daa04838cda0e85da32865fde42b14f310a2627 /servo/templates
parent3421b809f432ee49586df91b627ef70aa3e07cbf (diff)
downloadServo-3418ece690ca90d676a7d8ae654da7770ae312fb.tar.gz
Servo-3418ece690ca90d676a7d8ae654da7770ae312fb.tar.bz2
Servo-3418ece690ca90d676a7d8ae654da7770ae312fb.zip
Add print options for tech nameHEADmaster
Diffstat (limited to 'servo/templates')
-rw-r--r--servo/templates/admin/settings.html1
-rw-r--r--servo/templates/checkin/newindex.html4
-rwxr-xr-xservo/templates/orders/print_confirmation.html2
-rwxr-xr-xservo/templates/orders/print_receipt.html2
4 files changed, 5 insertions, 4 deletions
diff --git a/servo/templates/admin/settings.html b/servo/templates/admin/settings.html
index 35007d4..fd9452f 100644
--- a/servo/templates/admin/settings.html
+++ b/servo/templates/admin/settings.html
@@ -105,6 +105,7 @@
{% include "form_field_snippet.html" with field=form.checkin_group %}
{% include "form_field_snippet.html" with field=form.checkin_queue %}
{% include "form_field_snippet.html" with field=form.checkin_checklist %}
+ {% include "form_field_snippet.html" with field=form.checkin_tech_name %}
{% include "form_field_snippet.html" with field=form.checkin_password %}
{% include "form_field_snippet.html" with field=form.checkin_require_password %}
{% include "form_field_snippet.html" with field=form.checkin_require_condition %}
diff --git a/servo/templates/checkin/newindex.html b/servo/templates/checkin/newindex.html
index 55a52fa..e2782e9 100644
--- a/servo/templates/checkin/newindex.html
+++ b/servo/templates/checkin/newindex.html
@@ -123,8 +123,8 @@
</tbody>
</table>
{% endif %}
- {% bootstrap_field customer_form.checkin_location %}
- {% bootstrap_field customer_form.checkout_location %}
+ {% bootstrap_field customer_form.checkin_location %}
+ {% bootstrap_field customer_form.checkout_location %}
{% if request.user.is_authenticated %}
{% bootstrap_field device_form.queue %}
{% endif %}
diff --git a/servo/templates/orders/print_confirmation.html b/servo/templates/orders/print_confirmation.html
index da8fd33..8dd8bc4 100755
--- a/servo/templates/orders/print_confirmation.html
+++ b/servo/templates/orders/print_confirmation.html
@@ -191,7 +191,7 @@
<table class="table">
<tbody>
<tr>
- <td style="width:40%">{{ order.created_by.get_full_name }}</td>
+ <td style="width:40%">{{ order.created_by.get_print_name }}</td>
<td style="width:40%">&nbsp;</td>
<td style="width:20%">{% now "SHORT_DATE_FORMAT" %}</td>
</tr>
diff --git a/servo/templates/orders/print_receipt.html b/servo/templates/orders/print_receipt.html
index c4de827..0839b44 100755
--- a/servo/templates/orders/print_receipt.html
+++ b/servo/templates/orders/print_receipt.html
@@ -39,7 +39,7 @@
<p class="text-right">
<strong>{% trans "Date of invoice" %}: {{ invoice.created_at|date:"SHORT_DATE_FORMAT" }}</strong><br/>
<strong>{% trans "Payment method" %}: {{ invoice.get_payment_methods|join:", " }}</strong><br/>
- <strong>{% trans "Sales Person" %}: {{ invoice.created_by.get_full_name }}</strong><br/>
+ <strong>{% trans "Sales Person" %}: {{ invoice.created_by.get_print_name }}</strong><br/>
</p>
{% endblock customer_pickup %}