Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Merge pull request #1280 from Pacu2/fix/rename-logo-file

Marcin Gębala86d0f8402585
diff --cc templates/dashboard/order/pdf/invoice.html
index b1064a88d8,f02217132e..c7a7d02e95
--- a/templates/dashboard/order/pdf/invoice.html
+++ b/templates/dashboard/order/pdf/invoice.html
@@@ -5,16 -5,16 +5,16 @@@
<html>
<head>
- <title>Invoice, order ID: {{ group.order.id }}</title>
- <link rel="stylesheet" type="text/css" href="{% static '/assets/document.css' %}" />
+ <title>{% trans "Invoice for Order" context "Invoice title" %} #{{ order.id }}</title>
+ {% render_bundle 'document' 'css' %}
</head>
<body>
- <header>
+<header>
<div style="float:left">
- <img src="{% static '/images/saleor_logo_black.svg' %}">
+ <img src="{% static '/images/logo_document.svg' %}">
</div>
<div
- style="float:right">{{ group.order.created }}<br>{% trans 'Order ID:' context 'Invoice header' %} {{ group.order.id }}
+ style="float:right">{{ order.created }}<br>{% trans 'Order' context 'Invoice header' %} #{{ order.id }}
</div>
</header>