diff --git a/shop/models.py b/shop/models.py index 0ed28d3b..b3efe38e 100644 --- a/shop/models.py +++ b/shop/models.py @@ -27,7 +27,7 @@ class CustomOrder(CreatedUpdatedModel): ) customer = models.TextField( - help_text=_('The customer info for this order, use
for newlines') + help_text=_('The customer info for this order') ) amount = models.IntegerField( diff --git a/shop/templates/pdf/custominvoice.html b/shop/templates/pdf/custominvoice.html index 389508e3..20b406d1 100644 --- a/shop/templates/pdf/custominvoice.html +++ b/shop/templates/pdf/custominvoice.html @@ -8,13 +8,13 @@

{{ invoice.created|date:"b jS, Y" }}
- Order CU#{{ invoice.customorder.pk }}
+ Custom Order #{{ invoice.customorder.pk }}
Invoice #{{ invoice.pk }}

-

Customer: {{ invoice.customorder.customer }}

+

Customer: {{ invoice.customorder.customer|linebreaks }}


INVOICE

@@ -25,7 +25,7 @@ Price
- {{ invoice.customorder.text }} + {{ invoice.customorder.text|linebreaks }} {{ invoice.customorder.amount|currency }}