aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/orders
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/orders
parent3421b809f432ee49586df91b627ef70aa3e07cbf (diff)
downloadServo-3418ece690ca90d676a7d8ae654da7770ae312fb.tar.gz
Servo-3418ece690ca90d676a7d8ae654da7770ae312fb.tar.bz2
Servo-3418ece690ca90d676a7d8ae654da7770ae312fb.zip
Add print options for tech nameHEADmaster
Diffstat (limited to 'servo/templates/orders')
-rwxr-xr-xservo/templates/orders/print_confirmation.html2
-rwxr-xr-xservo/templates/orders/print_receipt.html2
2 files changed, 2 insertions, 2 deletions
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 %}