Fix: \n 1. General styles cleanup. \n 2. Contact page - styling of input fields on mobile improved. \n 3. Services page - alignment error in technologies table on most devices, corrected. \n 4. Supplier Purchase Order page - items preview click event was not triggering, fixed end-to-end saving of new SPO, most changes copied to Manufacturing Purchase Orders, but not tested.

This commit is contained in:
2024-11-13 16:54:32 +00:00
parent b20fc8a653
commit 19f74d2e91
57 changed files with 1347 additions and 990 deletions

View File

@@ -33,6 +33,8 @@ class Filters_Manufacturing_Purchase_Order(Form_Base):
_m = f'{cls.__name__}.from_json'
form = cls()
form.active.data = av.input_bool(json[Store_Base.FLAG_ACTIVE], 'active', _m)
form.date_from.data = json[Store_Base.FLAG_DATE_FROM]
form.date_to.data = json[Store_Base.FLAG_DATE_TO]
if json[Store_Base.FLAG_DATE_FROM] != '':
form.date_from.data = json[Store_Base.FLAG_DATE_FROM]
if json[Store_Base.FLAG_DATE_TO] != '':
form.date_to.data = json[Store_Base.FLAG_DATE_TO]
return form

View File

@@ -33,6 +33,8 @@ class Filters_Supplier_Purchase_Order(Form_Base):
_m = f'{cls.__name__}.from_json'
form = cls()
form.active.data = av.input_bool(json[Store_Base.FLAG_ACTIVE], 'active', _m)
form.date_from.data = json[Store_Base.FLAG_DATE_FROM]
form.date_to.data = json[Store_Base.FLAG_DATE_TO]
if json[Store_Base.FLAG_DATE_FROM] != '':
form.date_from.data = json[Store_Base.FLAG_DATE_FROM]
if json[Store_Base.FLAG_DATE_TO] != '':
form.date_to.data = json[Store_Base.FLAG_DATE_TO]
return form