diff --git a/templates/items/expenses/expenses_list.html b/templates/items/expenses/expenses_list.html index ef969958..60696c4b 100644 --- a/templates/items/expenses/expenses_list.html +++ b/templates/items/expenses/expenses_list.html @@ -4,48 +4,68 @@ {% block title %}{{ _("Expenses") }}{% endblock title %} {% block content %} -
| {% trans "Item Number" %} | {% trans "Name" %} | {% trans "Unit of Measure" %} | {% trans "Action" %} | ||||||
|---|---|---|---|---|---|---|---|---|---|
| {{ expense.item_number }} | -{{ expense.name }} | -{{ expense.uom }} | -
-
+
+ {% for expense in expenses %}
+
+ |
+ {{ expense.item_number }}
+ |
+
+ {{ expense.name }}
+ |
+
+ {{ expense.uom }}
+ |
+
+
{% trans "Update" %}
- |
- |
+ + + | ++ + | +
| {% trans "No Invoice Found" %} | -|||||||||
| {% trans "Item Number" %} | {% trans "Name" %} | {% trans "Unit of Measure" %} | @@ -25,30 +25,43 @@{% trans "Action" %} | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ service.pk }} | -{{ service.get_local_name }} | -{{ service.uom }} | - {% if service.taxable %} - Yes - {% else %} - No - {% endif %} + {{ service.pk }} | -{{ service.item.co }} | -- + {{ service.get_local_name }} + | ++ {{ service.uom }} + | ++ {% if service.taxable %} + Yes + {% else %} + No + {% endif %} + | ++ {{ service.item.co }} + | ++ {% trans "Update" %} | |||||||||||||||||
| {% trans "No Invoice Found" %} | +{% trans "No Accounts Found" %} | |||||||||||||||||||||||||
| {% trans "Name" %} | -{% trans "Account Number" %} | -{% trans "Type" %} | -{% trans "Action" %} | +{% trans "Name" %} | +{% trans "Account Number" %} | +{% trans "Type" %} | +{% trans "Action" %} | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ bank.name }} | -{{ bank.account_number }} | -{{ bank.account_type|capfirst }} | -- + {{ bank.name }} + | ++ {{ bank.account_number }} + | ++ {{ bank.account_type|capfirst }} + | ++ {% trans "Update" %} - | +|||||
| {% trans "No Bank Accounts Found" %} | +{% trans "No Accounts Found" %} | ||||||||||
| {% trans "Type" %} | -{% trans "Account Name" %} | -{% trans "Code" %} | -{% trans "Balance Type" %} | -{% trans "Active" %} | -+ | {% trans "Type" %} | +{% trans "Account Name" %} | +{% trans "Code" %} | +{% trans "Balance Type" %} | +{% trans "Active" %} | +|
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ account.role_bs|upper }} | -{{ account.name }} | -{{ account.code }} | -+ | ||||||||
| + {{ account.role_bs|upper }} + | ++ {{ account.name }} + | ++ {{ account.code }} + | +
+
{% if account.balance_type == 'debit' %}
{{ _("Debit") }}
{% else %}
{{ _("Credit") }}
{% endif %}
|
- - {% if account.active %} + | + {% if account.active %} {% else %} {% endif %} | -+ | + | ||||
| - {% trans "No account found." %} - | +{% trans "No Accounts Found" %} | ||||||||||
| {% trans "Ledger Name" %} | {% trans "Journal Entries" %} | @@ -25,11 +26,13 @@{% trans "Action" %} | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - {% if ledger.invoicemodel %} + {% if ledger.invoicemodel %} {{ ledger.get_wrapped_model_instance }} {% elif ledger.billmodel %} {{ ledger.get_wrapped_model_instance }} @@ -38,7 +41,7 @@ {% endif %} | - @@ -48,21 +51,21 @@ | - {{ ledger.created |date }} + {{ ledger.created |date }} | - {% if ledger.is_posted %} + {% if ledger.is_posted %} {% else %} {% endif %} | - {% if ledger.is_locked %} + {% if ledger.is_locked %} {% else %} - {% endif %} + {% endif %} |
@@ -108,12 +111,12 @@
class="dropdown-item has-text-danger has-text-weight-bold">{% trans 'Delete' %}
{% endif %}
-
+
|
|||||||||||||||||||||
| {% trans "No Bank Accounts Found" %} | +{% trans "No Entries found" %} | |||||||||||||||||||||||||
| {{ _("Name")|capfirst }} | -
-
-
- {{ _("email")|capfirst }}
- |
-
-
-
- {{ _("Phone") }}
- |
-
-
-
- {{ _("Contact name")|capfirst }}
- |
-
-
-
- {{ _("Address")|capfirst }}
- |
- - {{ _("Create date") }} | -- | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
-
- {% if vendor.logo %}
-
+
-
-
- {% if is_paginated %}
- {% include 'partials/pagination.html' %}
+ {% empty %}
+ {% trans "No Accounts Found" %} |
+ | |||||||||||||||||||||||||