Changed "to transfer" to "as transfer", and updated its Font Awesome icon in the toolbar of the journal entries.

This commit is contained in:
依瑪貓 2023-03-21 11:04:45 +08:00
parent fef474977c
commit 79175285f8
3 changed files with 6 additions and 6 deletions

View File

@ -21,10 +21,10 @@ First written: 2023/2/26
#}
{% extends "accounting/journal-entry/include/detail.html" %}
{% block to_transfer %}
{% block as_trasfer %}
<a class="btn btn-primary" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
<i class="fa-solid fa-bars-staggered"></i>
{{ A_("To Transfer") }}
<i class="fa-solid fa-table-columns"></i>
{{ A_("As Transfer") }}
</a>
{% endblock %}

View File

@ -41,7 +41,7 @@ First written: 2023/2/26
{{ A_("Order") }}
</a>
{% if accounting_can_edit() %}
{% block to_transfer %}{% endblock %}
{% block as_trasfer %}{% endblock %}
{% if obj.can_delete %}
<button class="btn btn-danger" type="button" data-bs-toggle="modal" data-bs-target="#accounting-delete-modal">
<i class="fa-solid fa-trash"></i>

View File

@ -21,10 +21,10 @@ First written: 2023/2/26
#}
{% extends "accounting/journal-entry/include/detail.html" %}
{% block to_transfer %}
{% block as_trasfer %}
<a class="btn btn-primary" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
<i class="fa-solid fa-bars-staggered"></i>
{{ A_("To Transfer") }}
{{ A_("As Transfer") }}
</a>
{% endblock %}