Handle assigment for order delivery flow
This commit is contained in:
@@ -2,9 +2,13 @@ jQuery(document).bind('gform_load_field_settings', function (event, field, form)
|
||||
|
||||
var isBundleDoc = field.type === 'wiaas_order_bundle_document';
|
||||
|
||||
if (isBundleDoc) {
|
||||
var isOrderDoc = field.type === 'wiaas_order_document';
|
||||
|
||||
if (isBundleDoc || isOrderDoc) {
|
||||
|
||||
jQuery('#wiaas-doc-type-filter').val(field.wiaasDocTypeFilter);
|
||||
}
|
||||
|
||||
jQuery('#wiaas-installation-organization-filter').prop('checked', !!field.wiaasOnlyInstallationOrg);
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user