Fix the typo in the block name from as_trasfer to as_transfer in the journal entry detail templates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
The Mia! Accounting Project
|
||||
detail.html: The cash disbursement journal entry detail
|
||||
|
||||
Copyright (c) 2023 imacat.
|
||||
Copyright (c) 2023-2026 imacat.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -21,7 +21,7 @@ First written: 2023/2/26
|
||||
#}
|
||||
{% extends "accounting/journal-entry/include/detail.html" %}
|
||||
|
||||
{% block as_trasfer %}
|
||||
{% block as_transfer %}
|
||||
<a class="btn btn-primary" role="button" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
|
||||
<i class="fa-solid fa-table-columns"></i>
|
||||
<span class="d-none d-md-inline">{{ A_("As Transfer") }}</span>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
The Mia! Accounting Project
|
||||
detail.html: The account detail
|
||||
|
||||
Copyright (c) 2023 imacat.
|
||||
Copyright (c) 2023-2026 imacat.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -41,7 +41,7 @@ First written: 2023/2/26
|
||||
<span class="d-none d-md-inline">{{ A_("Order") }}</span>
|
||||
</a>
|
||||
{% if accounting_can_edit() %}
|
||||
{% block as_trasfer %}{% endblock %}
|
||||
{% block as_transfer %}{% 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>
|
||||
|
||||
@@ -21,7 +21,7 @@ First written: 2023/2/26
|
||||
#}
|
||||
{% extends "accounting/journal-entry/include/detail.html" %}
|
||||
|
||||
{% block as_trasfer %}
|
||||
{% block as_transfer %}
|
||||
<a class="btn btn-primary" role="button" href="{{ url_for("accounting.journal-entry.edit", journal_entry=obj)|accounting_journal_entry_to_transfer|accounting_inherit_next }}">
|
||||
<i class="fa-solid fa-table-columns"></i>
|
||||
<span class="d-none d-md-inline">{{ A_("As Transfer") }}</span>
|
||||
|
||||
Reference in New Issue
Block a user