Merge pull request #1828 from SchrodingersGat/supplier-reference-fiix

Add supplier_reference field to form
This commit is contained in:
Oliver authored and GitHub committed 2021-07-18 11:04:14 +10:00
commit 8c1248d74b
3 files changed
+4

No files matched your search

@@ -170,6 +170,7 @@ $("#edit-order").click(function() {
supplier: { supplier: {
}, },
{% endif %} {% endif %}
supplier_reference: {},
description: {}, description: {},
target_date: { target_date: {
icon: 'fa-calendar-alt', icon: 'fa-calendar-alt',
@@ -163,6 +163,7 @@ $("#edit-order").click(function() {
customer: { customer: {
}, },
{% endif %} {% endif %}
customer_reference: {},
description: {}, description: {},
target_date: { target_date: {
icon: 'fa-calendar-alt', icon: 'fa-calendar-alt',
+2
View File
@@ -14,6 +14,7 @@ function createSalesOrder(options={}) {
customer: { customer: {
value: options.customer, value: options.customer,
}, },
customer_reference: {},
description: {}, description: {},
target_date: { target_date: {
icon: 'fa-calendar-alt', icon: 'fa-calendar-alt',
@@ -44,6 +45,7 @@ function createPurchaseOrder(options={}) {
supplier: { supplier: {
value: options.supplier, value: options.supplier,
}, },
supplier_reference: {},
description: {}, description: {},
target_date: { target_date: {
icon: 'fa-calendar-alt', icon: 'fa-calendar-alt',