diff --git a/templates/items/expenses/expenses_list.html b/templates/items/expenses/expenses_list.html index ef969958..00a5f724 100644 --- a/templates/items/expenses/expenses_list.html +++ b/templates/items/expenses/expenses_list.html @@ -4,48 +4,101 @@ {% block title %}{{ _("Expenses") }}{% endblock title %} {% block content %} -
-
- -

{% trans "Expenses" %}

+ +
+ +
+

{% trans "Expenses" %}

{% trans "Add Expense" %} -
-
-
- - - +
+
+
+ + + {% if request.GET.q %} + + + + {% endif %} +
+ +
+ + + {% if page_obj.object_list %} +
+
+ + - - {% for expense in expenses %} - - - - - + + + + - + + + + + + {% empty %} - - - - {% endfor %} - -
{% 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 "No Accounts Found" %} + + {% endfor %} + + +
+ +
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} +
+ + + + + {% endif %} +
+ {% endblock %} \ No newline at end of file diff --git a/templates/items/service/service_list.html b/templates/items/service/service_list.html index ad0390b0..5c2b0f30 100644 --- a/templates/items/service/service_list.html +++ b/templates/items/service/service_list.html @@ -1,22 +1,44 @@ {% extends "base.html" %} {% load i18n static %} -{% block title %}{{ _("Expenses") }}{% endblock title %} +{% block title %}{{ _("Services") }}{% endblock title %} {% block content %} -
-
+ +
-

{% trans "Services" %}

- {% trans "Add Service" %} +
+

{% trans "Services" %}

+ {% trans "Add Service" %} +
+
+
+
+ + + {% if request.GET.q %} + + + + {% endif %} +
+
-
- + {% if page_obj.object_list %} +
+
- + @@ -25,36 +47,61 @@ + + {% for service in services %} + - - - - - + + + + - {% empty %} + + + {% empty %} - + {% endfor %}
{% trans "Item Number" %} {% trans "Name" %} {% trans "Unit of Measure" %}{% 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" %}
-
+ +
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} + +
+ + {% endif %} +
+ {% endblock %} \ No newline at end of file diff --git a/templates/ledger/bank_accounts/bank_account_list.html b/templates/ledger/bank_accounts/bank_account_list.html index dcea335e..63417445 100644 --- a/templates/ledger/bank_accounts/bank_account_list.html +++ b/templates/ledger/bank_accounts/bank_account_list.html @@ -5,52 +5,89 @@ {% block content %}
-
-

{% trans "Bank Accounts" %}

+
+

{% trans "Bank Accounts" %}

{% trans "Add Bank Account" %}
+
+
+
+ + + {% if request.GET.q %} + + + + {% endif %} +
+
+
+ + + + {% if page_obj.object_list %}
- - - - + + + + + - {% for bank in bank_accounts %} + {% for bank in bank_accounts %} - - - - + + + + + {% empty %} - + {% endfor %} +
{% 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" %}
-
+
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} + +
+ {% endif %}
- - - - {% endblock %} \ No newline at end of file diff --git a/templates/ledger/bills/bill_list.html b/templates/ledger/bills/bill_list.html index 6299e12f..72da3311 100644 --- a/templates/ledger/bills/bill_list.html +++ b/templates/ledger/bills/bill_list.html @@ -10,129 +10,102 @@ {% endblock %} {% block content %} -
- -
-
- -
-
-
-
+ +
+
+

{% trans "Bills" %}

+ {% trans 'New Bill' %} +
+ + + +
+
- - - {% if request.GET.q %} - - {% endif %} -
- -
-
-
- - -
-
- - - - - - - - - - - {% for bill in bills %} - - - - - - - {% empty %} - - - - {% endfor %} - -
- {% trans 'Bill Number' %} - - {% trans 'Bill Status' %} - - {% trans 'Vendor' %} - Action
{{ bill.bill_number }} - {% if bill.is_draft %} - - {% elif bill.is_review %} - - {% elif bill.is_approved %} - - {% elif bill.is_paid %} - - {% endif %} - {{ bill.bill_status }} - - - {{bill.vendor.vendor_name}} - -
- - -
-
- {% trans 'No bill found.' %} -
-
- -
- {{ page_obj.start_index }} {{ _('to') }} {{ page_obj.end_index }}{{ _('Items of') }}{{ page_obj.paginator.count }} -
- -
-
+
+
-
+ + + + +
+ + + + + + + + + + + + {% for bill in bills %} + + + + + + + {% empty %} + + + + {% endfor %} + +
{% trans 'Bill Number' %}{% trans 'Bill Status' %}{% trans 'Vendor' %}{% trans 'Action'%}
+ {{ bill.bill_number }} + + {% if bill.is_draft %} + + {% elif bill.is_review %} + + {% elif bill.is_approved %} + + {% elif bill.is_paid %} + + {% endif %} + {{ bill.bill_status }} + + + {{bill.vendor.vendor_name}} + +
+ + +
+ +
+ {% trans 'No bill found.' %} +
+
+
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} + +
+
+
-
+ {% endblock %} diff --git a/templates/ledger/coa_accounts/account_detail.html b/templates/ledger/coa_accounts/account_detail.html index fc051955..f92aebf3 100644 --- a/templates/ledger/coa_accounts/account_detail.html +++ b/templates/ledger/coa_accounts/account_detail.html @@ -6,7 +6,7 @@ {% endblock %} {% block content %} - + + + +
+ +
+ {% endblock %} diff --git a/templates/ledger/coa_accounts/account_list.html b/templates/ledger/coa_accounts/account_list.html index 59f4ab28..2dd35aab 100644 --- a/templates/ledger/coa_accounts/account_list.html +++ b/templates/ledger/coa_accounts/account_list.html @@ -8,16 +8,12 @@ {% endblock %} {% block content %} - - +
-
- - - {% trans 'New Account' %} +
+

{% trans "Accounts" %}

+ {% trans 'New Account' %}
-

- {% trans "Accounts" %}

@@ -38,25 +34,24 @@
-
- {% if page_obj.object_list %} + + + + {% if page_obj.object_list %}
- - - - - - - + + + + + + - {% for account in accounts %} - - + {% for account in accounts %} - - - - - + + + + - - - {% empty %} - + {% endfor %}
{% 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" %}
-
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }}
@@ -142,7 +140,11 @@
- {% endif %} -{% endblock %} \ No newline at end of file +
+ + +{% endblock %} + + diff --git a/templates/ledger/journal_entry/journal_entry_list.html b/templates/ledger/journal_entry/journal_entry_list.html index 2ac4b75c..12159875 100644 --- a/templates/ledger/journal_entry/journal_entry_list.html +++ b/templates/ledger/journal_entry/journal_entry_list.html @@ -31,33 +31,20 @@
+
-
-

{% trans "Journal Entries" %}

-
- {% comment %} {% if ledger.is_posted %} - {% if ledger.is_locked %} - {% trans 'UnLock All' %} - {% else %} - {% trans 'Lock All' %} - {% endif %} - {% endif %} - {% if not ledger.is_locked %} - {% if ledger.is_posted %} - {% trans 'UnPost All' %} - {% else %} - {% trans 'Post All' %} - {% endif %} - {% endif %} {% endcomment %} - {% trans "Add Journal Entry" %} -
-
-
-
- +
+

{% trans "Journal Entries" %}

+ {% trans "Add Journal Entry" %} +
+ + + +
+
- + @@ -126,8 +113,10 @@
{% trans "Document Number" %} {% trans "Timestamp" %} {% trans "Activity" %}
-
-
+
+ + + {% endblock %} \ No newline at end of file diff --git a/templates/ledger/journal_entry/journal_entry_transactions.html b/templates/ledger/journal_entry/journal_entry_transactions.html index 37c19d69..24810adb 100644 --- a/templates/ledger/journal_entry/journal_entry_transactions.html +++ b/templates/ledger/journal_entry/journal_entry_transactions.html @@ -11,9 +11,9 @@

{% trans "Transactions" %}

- +
- + diff --git a/templates/ledger/ledger/ledger_list.html b/templates/ledger/ledger/ledger_list.html index eb6ccecf..db9b6138 100644 --- a/templates/ledger/ledger/ledger_list.html +++ b/templates/ledger/ledger/ledger_list.html @@ -4,18 +4,41 @@ {% block title %}{{ _("Ledger") }}{% endblock title %} {% block content %} + +
+
-

{% trans "Ledger" %}

+

{% trans "Ledger" %}

+ {% trans 'Create Ledger' %}
-
- - - {% trans 'Create Ledger' %} + +
+
+
+ + + {% if request.GET.q %} + + + + {% endif %} +
+
+ +
-
{% trans "#" %} {% trans "Timestamp" %} {% trans "Account Name" %}
+
+ @@ -25,11 +48,13 @@ + {% for ledger in ledgers %} + {% empty %} - + {% endfor %}
{% trans "Ledger Name" %} {% trans "Journal Entries" %}{% trans "Action" %}
- {% if ledger.invoicemodel %} + {% if ledger.invoicemodel %} {{ ledger.get_wrapped_model_instance }} {% elif ledger.billmodel %} {{ ledger.get_wrapped_model_instance }} @@ -38,7 +63,7 @@ {% endif %} - @@ -48,21 +73,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,19 +133,30 @@ class="dropdown-item has-text-danger has-text-weight-bold">{% trans 'Delete' %} {% endif %}
- +
{% trans "No Bank Accounts Found" %}{% trans "No Entries found" %}
-
+ +
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} + +
+
+ + {% endblock %} \ No newline at end of file diff --git a/templates/vendors/vendors_list.html b/templates/vendors/vendors_list.html index f29ff46e..21c891d7 100644 --- a/templates/vendors/vendors_list.html +++ b/templates/vendors/vendors_list.html @@ -5,125 +5,143 @@ {% block vendors %}{{ _("Vendors")|capfirst }}{% endblock %} {% block content %} -
-
- -

{{ _("Vendors")|capfirst }}

- -
-
- + +
+
+

{{ _("Vendors")|capfirst }}

+ {{ _("Add Vendor") }}
-
-
- -
-
-
- -
- - - - - - - - - - - - - - - {% for vendor in vendors %} - - - - - - - - - - - {% endfor %} - + + + + + + {% if page_obj.object_list %} +
+
{{ _("Name")|capfirst }} -
-
{{ _("email")|capfirst }} -
-
-
-
{{ _("Phone") }} -
-
-
-
{{ _("Contact name")|capfirst }} -
-
-
-
{{ _("Address")|capfirst }} -
-
- {{ _("Create date") }}
-
- {% if vendor.logo %} -
- {% else %} -
- {% endif %} -
-
{{ vendor.arabic_name }} -
-

{{ vendor.name}}

-
-
-
-
{{ vendor.phone_number }}{{ vendor.contact_person }} - {{ vendor.address }}{{ vendor.created_at|date }} -
- - + + {% if request.GET.q %} + + + + {% endif %}
-
+ + + + + + + + + + + + + + {% for vendor in vendors %} + + + + + + + + + + + + {% empty %} + + + + {% endfor %} + +
{{ _("Name")|capfirst }} +
+
{{ _("email")|capfirst }} +
+
+
+
{{ _("Phone") }} +
+
+
+
{{ _("Contact name")|capfirst }} +
+
+
+
{{ _("Address")|capfirst }} +
+
{{ _("Create date") }}
+
+ {% if vendor.logo %} +
+ {% else %} +
+ {% endif %} +
+
{{ vendor.arabic_name }} +
+

{{ vendor.name}}

+
+
+
+
+ {{ vendor.email }} + + {{ vendor.phone_number }} + + {{ vendor.contact_person }} + + {{ vendor.address }} + + {{ vendor.created_at|date }} + +
+ + +
+
{% trans "No Accounts Found" %}
+
+ +
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }} +
+ + {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} + +
+
+ + {% endif %} - -
-
- - {% if is_paginated %} - {% include 'partials/pagination.html' %} - {% endif %} -
-
+ {% include 'modal/delete_modal.html' %} {% endblock %}