Moved the material floating action button template to add new transactions from the "accounting/transaction/include" directory to the "accounting/include" directory, and renamed it from add-new-material-fab.html to add-txn-material-fab.htm, as it will also be used in the reports, not only the transaction management.
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| {# | ||||
| The Mia! Accounting Flask Project | ||||
| add-new-material-fab.html: The material floating action buttons to add a new transaction | ||||
| add-txn-material-fab.html: The material floating action buttons to add a new transaction | ||||
| 
 | ||||
|  Copyright (c) 2023 imacat. | ||||
| 
 | ||||
| @@ -70,7 +70,7 @@ First written: 2023/3/4 | ||||
| </div> | ||||
|  | ||||
| {% with types = report.txn_types %} | ||||
|   {% include "accounting/transaction/include/add-new-material-fab.html" %} | ||||
|   {% include "accounting/include/add-txn-material-fab.html" %} | ||||
| {% endwith %} | ||||
|  | ||||
| <div class="btn-group btn-actions mb-3 d-md-none"> | ||||
|   | ||||
| @@ -77,7 +77,7 @@ First written: 2023/2/18 | ||||
|   </form> | ||||
| </div> | ||||
|  | ||||
| {% include "accounting/transaction/include/add-new-material-fab.html" %} | ||||
| {% include "accounting/include/add-txn-material-fab.html" %} | ||||
|  | ||||
| {% if list %} | ||||
|   {% include "accounting/include/pagination.html" %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user