translation

This commit is contained in:
Faheedkhan 2025-08-31 16:09:22 +03:00
parent 0041125923
commit 13e4264e2b
3 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@
{% include "plans/order_detail_table.html" %} {% include "plans/order_detail_table.html" %}
{% endwith %} {% endwith %}
{% if object.get_all_invoices.count %} {% if object.get_all_invoices.count %}
<h2 class="mt-3">{% trans "Printable documents" %}</h2> <h2 class="mt-4">{% trans "Printable documents" %}</h2>
<ul id="order_printable_documents"> <ul id="order_printable_documents">
{% for invoice in object.get_all_invoices %} {% for invoice in object.get_all_invoices %}
<li> <li>
@ -31,7 +31,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<h2 class="mt-3">{% trans "Payment" %}</h2> <h2 class="mt-4">{% trans "Payment" %}</h2>
{% if object.completed %} {% if object.completed %}
<p class="alert alert-phoenix-success mt-2"> <p class="alert alert-phoenix-success mt-2">
{% blocktrans with object.completed as completed %} {% blocktrans with object.completed as completed %}
@ -48,7 +48,7 @@
<a class="btn btn-phoenix-success" <a class="btn btn-phoenix-success"
role="button" role="button"
href="{% url "fake_payments" pk=object.id %}">Pay using href="{% url "fake_payments" pk=object.id %}">Pay using
FakePayments™ ;)</a> FakePayments™ ;</a>
{# An example code snippet for accepting payments using django-getpaid #} {# An example code snippet for accepting payments using django-getpaid #}
{# <form action="{% url "getpaid-new-payment" currency=object.currency %}" method="post"#} {# <form action="{% url "getpaid-new-payment" currency=object.currency %}" method="post"#}
{# class="standard_form payment_form">#} {# class="standard_form payment_form">#}

View File

@ -5,11 +5,11 @@
<form action="" method="post"> <form action="" method="post">
{% csrf_token %} {% csrf_token %}
<div class="form-group"> <div class="form-group">
<label for="account">Name</label> <label for="account">{% trans "Name" %}</label>
<input type="text" class="form-control" id="name" name="name" required> <input type="text" class="form-control" id="name" name="name" required>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="account">Account</label> <label for="account">{% trans "Account" %}</label>
<select class="form-control" name="account" id="account"> <select class="form-control" name="account" id="account">
{% for account in inventory_accounts %}<option value="{{ account.pk }}">{{ account }}</option>{% endfor %} {% for account in inventory_accounts %}<option value="{{ account.pk }}">{{ account }}</option>{% endfor %}
</select> </select>

View File

@ -92,7 +92,7 @@
{% endif %} {% endif %}
{% else %} {% else %}
<button class="dropdown-item text-warning-dark" disabled> <button class="dropdown-item text-warning-dark" disabled>
<span class="fas fa-exclamation-triangle me-1"></span> Fulfill the PO Before Viewing Inventory <span class="fas fa-exclamation-triangle me-1"></span>{% trans Fulfill the PO Before Viewing Inventory %}
</button> </button>
{% endif %} {% endif %}
</div> </div>