% layout 'default', title => "Sme server 2 - User Vacations", share_dir => './'; % content_for 'module' => begin
% if ($config->{debug} == 1) {

%= dumper $c->current_route

% }

<%=$title%>

%= $modul %if ($vac_datas->{first}) {
%=$c->render_to_string(inline =>$c->l($vac_datas->{first})) %} elsif ($vac_datas->{success}) {

Operation Status Report

%= $c->l($vac_datas->{success});
%} elsif ($vac_datas->{error}) {

Operation Status Report - error

%= $c->l($vac_datas->{error});
%} % if ($vac_datas->{trt} eq 'ADD') { %= include 'partials/_vac_add' %} elsif ($vac_datas->{trt} eq 'ADD1') { %= include 'partials/_vac_add' %} else { %= include 'partials/_vac_list' %}
%end