Enable admin to enter installation date on delivery process:
:
This commit is contained in:
@@ -121,4 +121,13 @@ function wiaas_db_update_update_delivery_forms() {
|
||||
$created_forms[] = GFAPI::get_form($sample_form_id);
|
||||
|
||||
do_action('gform_forms_post_import', $created_forms);
|
||||
}
|
||||
|
||||
function wiaas_db_update_add_installation_date_delivery_action_form() {
|
||||
|
||||
$action_form_json = file_get_contents( dirname( __FILE__ ) . '/data/delivery-forms/delivery-action-enter-installation-date.json' );
|
||||
|
||||
$action_form_meta = json_decode( $action_form_json, true )[0];
|
||||
|
||||
do_action('gform_forms_post_import', GFAPI::add_form($action_form_meta));
|
||||
}
|
||||
Reference in New Issue
Block a user