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:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user