diff --git a/js/funnel_vue.js b/js/funnel_vue.js index bef191d..d750500 100644 --- a/js/funnel_vue.js +++ b/js/funnel_vue.js @@ -837,6 +837,7 @@ var app = new Vue({ 'add_activity_close_step': 0, } app.adjacent_funnels_steps = []; + app.create_deal = false; if (index > -1) { var upstep = app.funnels[id].steps[index]; app.name_step = upstep.name; @@ -980,6 +981,9 @@ var app = new Vue({ app.list_users_select = upstep.users_mes; } } + if (upstep.create_deal > 0) { + app.create_deal = true; + } } app.updateStepFunnel = true; app.funnelId = funnelId; @@ -1455,7 +1459,8 @@ var app = new Vue({ pole_prev: JSON.stringify(this.pole_prev), pole_dop: JSON.stringify(this.pole_dop), is_select_room: this.is_select_room, - complex_status_id: $("#ms-req-status").val() + complex_status_id: $("#ms-req-status").val(), + create_deal: this.create_deal, } if (arr_next_steps != '') { reques.arr_next_steps = arr_next_steps; diff --git a/templates/footer.php b/templates/footer.php index 957b61a..4ffcf1b 100644 --- a/templates/footer.php +++ b/templates/footer.php @@ -5321,6 +5321,23 @@ + +