mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
fix: make report's "printed on" translatable
This commit is contained in:
@@ -282,4 +282,4 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right text-muted">{{ __("Printed On ") }}{%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}</p>
|
<p class="text-right text-muted">{%= __("Printed On {0}", [frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())]) %}</p>
|
||||||
|
|||||||
@@ -46,4 +46,4 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right text-muted">Printed On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}</p>
|
<p class="text-right text-muted">{%= __("Printed On {0}", [frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())]) %}</p>
|
||||||
|
|||||||
@@ -67,5 +67,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right text-muted">
|
<p class="text-right text-muted">
|
||||||
Printed On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}
|
{%= __("Printed On {0}", [frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())]) %}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -71,9 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div style="text-align:center; font-size:13px;">
|
<div style="text-align:center; font-size:13px;">
|
||||||
<b>
|
<b>
|
||||||
{%= frappe.datetime.str_to_user(filters.from_date) %}
|
{%= __("{0} to {1}", [frappe.datetime.str_to_user(filters.from_date), frappe.datetime.str_to_user(filters.to_date)]) %}<br><br>
|
||||||
{%= __("to") %}
|
|
||||||
{%= frappe.datetime.str_to_user(filters.to_date) %}<br><br>
|
|
||||||
</b>
|
</b>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -173,5 +171,5 @@
|
|||||||
{% endfor%}
|
{% endfor%}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p class="text-right text-muted">Printed On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}</p>
|
<p class="text-right text-muted">{%= __("Printed On {0}", [frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())]) %}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -124,9 +124,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h4 class="text-center"> Analysis Chart </h4>
|
<h4 class="text-center">{%= __("Analysis Chart") %}</h4>
|
||||||
<div id="chart_div"></div>
|
<div id="chart_div"></div>
|
||||||
|
|
||||||
|
<p class="text-right text-muted">{%= __("Printed On {0}", [frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string())]) %}</p>
|
||||||
|
|
||||||
<p class="text-right text-muted">Printed On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}</p>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user