<html>

    <head>
    </head>

    <body>

        <table width="95%">
            <tr>
                <td><b>[% $user->gettext('Antragsteller') %] :</b></td>
                <td>[% $request[0].requester %]</td>
                <td><b>[% $user->gettext('Datum') %] :</b></td>
                <td>[% $request[0].dateofapplication|strtotime|date_format:"%d.%m.%Y %H:%M" %]</td>
            </tr>
            <tr>
                <td><b>[% $user->gettext('Initiator') %] :</b></td>
                <td>[% $request[0].initiator %]</td>
                <td><b>[% $user->gettext('Kategorie 1') %] :</b></td>
                <td>[% $request[0].category1 %]</td>
            </tr>
            <tr>
                <td><b>[% $user->gettext('Nr. Wiedervorlage') %] :</b></td>
                <td>[% $request[0].reminderno %]</td>
                <td><b>[% $user->gettext('Kategorie 2') %] :</b></td>
                <td>[% $request[0].category2 %]</td>
            </tr>
            <tr>
                <td><b>[% $user->gettext('Priorit&auml;t') %] :</b></td>
                <td>[% if $request[0].priority == 4 %][% $user->gettext('Sofort/Dringend') %][% /if %][% if $request[0].priority == 3 %][% $user->gettext('Hoch') %][% /if %][% if $request[0].priority == 2 %][% $user->gettext('Mittel') %][% /if %][% if $request[0].priority < 2 || $request[0].priority > 5 %][% $user->gettext('Niedrig') %][% /if %]</td>
                <td><b>[% $user->gettext('Folgen') %] :</b></td>
                <td>[% if $request[0].consequences == 4 %][% $user->gettext('Standard') %][% /if %][% if $request[0].consequences == 3 %][% $user->gettext('Signifikant') %][% /if %][% if $request[0].consequences == 2 %][% $user->gettext('Erheblich') %][% /if %][% if $request[0].consequences < 2 || $request[0].consequences > 4 %][% $user->gettext('Geringfügig') %][% /if %]</td>
            </tr>
            <tr>
                <td><b>[% $user->gettext('Erwarteter<br />Umsetzungstermin') %] :</b></td>
                <td>[% $request[1].realizationdate|strtotime|date_format:"%d.%m.%Y %H:%M" %]</td>
                <td><b>[% $user->gettext('Geschätzte<br />Umsetzungsdauer') %] :</b></td>
                <td>[% $request[1].realizationperiod %] [% $user->gettext('(HHH:MM)') %]</td>
            </tr>
            <tr>
                <td><b>[% $user->gettext('Geschätzte<br />Investition') %] :</b></td>
                <td>[% if $request[1].expectinvestment > 0 %][% $request[1].expectinvestment|number_format:"2":",":"." %][% /if %] [% if $hmcompany == 'OTTO FISCHER AG'%][% $user->gettext('CHF') %][% else %][% $user->getCurrency() %][% /if %]</td>
                <td><b>[% $user->gettext('Verrechnung') %] :</b></td>
                <td>[% if $request[1].clearing == 1 %][% $user->gettext('Ja') %][% else %][% $user->gettext('Nein') %][% /if %]</td>
            </tr>
            <tr>
                <td colspan="2"><b>[% $user->gettext('CAB Namen') %] :</b></td>
                <td><b>[% $user->gettext('CAB-Deadline') %] :</b></td>
                <td>[% $request[1].cabdeadline|strtotime|date_format:"%d.%m.%Y %H:%M" %]</td>
            </tr>
            <tr>
                <td colspan="4"><ul>[% foreach from=$request[1].cabusers item=cabuser %]<li>[% $cabuser.name %] [% if $cabuser.company != "" %]([% $cabuser.company %])</li>[% /if %][% /foreach %]</ul></td>
            </tr>
            <tr><td colspan="4"><b>[% $user->gettext('Betreff') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[0].subject %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr><td colspan="4"><b>[% $user->gettext('Zusammenfassende Beschreibung') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[0].summary|nl2br %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr><td colspan="4"><b>[% $user->gettext('Betroffene Kunden (intern/extern)') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[1].customerconcerned|nl2br %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr><td colspan="4"><b>[% $user->gettext('Betroffene Systeme') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[1].systemsconcerned|nl2br %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr><td colspan="4"><b>[% $user->gettext('Betroffene Prozesse') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[1].processesconcerned|nl2br %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr><td colspan="4"><b>[% $user->gettext('Auswirkungen falls Antrag nicht durchgeführt wird (Risiken)') %] :</b></td></tr>
            <tr><td colspan="4">[% $request[1].denyconsequences|nl2br %]</td></tr>
            <tr><td colspan="4">&nbsp;</td></tr>
        </table>

        <br /><br />

    </body>

</html>