% layout 'default', title => "Sme server 2 - qmh"; % content_for 'module' => begin
%= dumper $c->current_route %= dumper $qmh_datas
%} % if ( stash 'error' ) {%=l 'qmh_SELECT_AN_ACTION' %= select_field 'Report_type' => $c->reportType_list()
%} % if ($qmh_datas->{trt} eq 'REP') { % $btn = l('NEXT'); %= $c->render_to_string( inline => stash 'modul' ) %} % if ($qmh_datas->{trt} eq 'DEL') { % $btn = l('qmh_RETURN_TO_QUEUE'); %= $c->render_to_string( inline => stash 'modul' ) %= hidden_field 'msgid' => $qmh_datas->{msgid} % $qmh_datas->{trt} = 'LST'; %} % if ($qmh_datas->{trt} eq 'MSG') { % $btn = l('Delete'); %= $c->render_to_string( inline => stash 'modul' ) %= hidden_field 'msgid' => $qmh_datas->{msgid} % $qmh_datas->{trt} = 'DEL'; %}