diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index b31ede3..2ec899d 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 78c0708..553eb16 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/quotation_edit.html b/core/templates/core/quotation_edit.html new file mode 100644 index 0000000..29aaec4 --- /dev/null +++ b/core/templates/core/quotation_edit.html @@ -0,0 +1,287 @@ +{% extends 'base.html' %} +{% load i18n l10n %} + +{% block title %}{% trans "Edit Quotation" %} | {{ site_settings.business_name }}{% endblock %} + +{% block content %} +
+
+ +
+
+
+
{% trans "Edit Quotation" %}: [[ quotationNumber ]]
+
+
+ +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+ +
+
+ +
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
{% trans "Product" %}{% trans "Unit Price" %}{% trans "Quantity" %}{% trans "Total" %}
+
[[ item.name_en ]]
+
[[ item.sku ]]
+
+ + + + [[ currencySymbol ]][[ (item.price * item.quantity).toFixed(decimalPlaces) ]] + +
+ {% trans "Search and add products to this quotation." %} +
+
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
{% trans "Quotation Summary" %}
+ +
+ {% trans "Subtotal" %} + [[ currencySymbol ]][[ subtotal.toFixed(decimalPlaces) ]] +
+ +
+ {% trans "Discount" %} +
+ +
+
+ +
+ +
+

{% trans "Grand Total" %}

+

[[ currencySymbol ]][[ grandTotal.toFixed(decimalPlaces) ]]

+
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+
+
+
+
+ + + +{% localize off %} + +{% endlocalize %} +{% endblock %} diff --git a/core/templates/core/quotations.html b/core/templates/core/quotations.html index 7381a0b..635e9d6 100644 --- a/core/templates/core/quotations.html +++ b/core/templates/core/quotations.html @@ -72,6 +72,11 @@ {{ q.valid_until|date:"Y-m-d"|default:"-" }}
+ {% if q.status != 'converted' %} + + + + {% endif %}