Added the get_absolute_url() method to the accounting transactions.
This commit is contained in:
1 parent
42fe685d53
commit
a48a885ed6
2 files changed
+11
-1
No files matched your search
@@ -22,7 +22,7 @@
|
||||
<td>{{ record.debit_amount }}</td>
|
||||
<td>{{ record.credit_amount }}</td>
|
||||
<td>{{ record.amount }}</td>
|
||||
<td><a href="{% url "accounting:transaction" "transfer" record.transaction.sn %}">View</a></td>
|
||||
<td><a href="{{ record.transaction.get_absolute_url }}">View</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in new issue
Block a user