[%~ PROCESS 'l-table-form/l-table-form.tt2'; SET is_inner_role = ( login_rights.role.match('manager|super|support|media') ); SET title = iget('Оценка бюджета рекламной кампании'); ~%] [% header_extra = BLOCK %] [% SET is_first_step = ! arr %] [% SET is_not_client = ( ! login_rights.role.match('client') && login_rights.role != 'empty' ); %] [% SET is_forecast_ext = 1 #is_not_client %] [% IF login_rights.super_control or login_rights.media_control or login_rights.manager_control or login_rights.placer_control %] [% SET FORCE_ADVQ = 0 %] [% END %] [% END %] [%~ PROCESS 'i-header-bem/i-header-bem.tt2' title = title header_extra = header_extra require_js = 'js/ajaxobject.js,js/forecast2.js' require_css = 'pages/advanced-forecast/advanced-forecast.css|pages/advanced-forecast/advanced-forecast.ie.css' ; PROCESS 'l-table-form/l-table-form.tt2' + 'b-advanced-forecast/calculated-expense/b-advanced-forecast__calculated-expense.tt2' + 'b-advanced-forecast/excel-export/b-advanced-forecast__excel-export.tt2' + 'b-advanced-forecast/forecast-params/b-advanced-forecast__forecast-params.tt2' + 'b-advanced-forecast/forecast-params/popup/b-advanced-forecast__forecast-params__popup.tt2' + 'b-advanced-forecast/minus-words/b-advanced-forecast__minus-words.tt2' + 'i-inline-bid/i-inline-bid.tt2' ; SET is_inner_role = ( login_rights.role.match('manager|super|support|media') ); SET title = iget('Оценка бюджета рекламной кампании'); ~%] [% # These variables are kinda temporarily since later on they will be replaced wit real ones # %]
[% SET options = { popup_parent_id => 'js-forecast-params-popup-attachment', popup_id => 'js-forecast-params-popup', model => 'direct.forecast.advancedForecastModel' } %] [% b_advanced_forecast__forecast_params__popup(options); %] [% IF features_enabled_for_client.support_chat && lang == 'ru' %] [% END %] [% PROCESS 'i-footer/i-footer.tt2' %]