1e8fc7594Sghi<h1> 2e8fc7594Sghi <?php echo $bezlang['8d_report'] ?> 3e8fc7594Sghi <span id="bez_8d_send_button">[<a href=" 4e8fc7594Sghi <?php echo $helper->mailto($template['issue']['coordinator_email'], 59a30fd19Sghi $bezlang['8d_report'].': #'.$template['issue']['id'].' '.$template['issue']['title'], 6e8fc7594Sghi $template['uri']) ?>"> 7e8fc7594Sghi ✉ <?php echo $bezlang['send_mail'] ?> 8e8fc7594Sghi </a>]</span> 9e8fc7594Sghi</h1> 10f2f5b3feSghi 11f2f5b3feSghi<table> 12f2f5b3feSghi<tr> 13f2f5b3feSghi <td> 1438ce6055Sghi <strong> 1538ce6055Sghi <a href="<?php echo $this->issue_uri($template[issue][id]) ?>"> 1638ce6055Sghi #<?php echo $template['issue']['id'] ?> 1738ce6055Sghi </a> 1838ce6055Sghi </strong> 197ffa8289Sghi <?php echo ucfirst($template['issue']['type']) ?> 20f2f5b3feSghi </td> 21f2f5b3feSghi 22f2f5b3feSghi <td> 23f2f5b3feSghi <strong><?php echo $bezlang['open_date'] ?>:</strong> 24f2f5b3feSghi <?php echo $helper->time2date($template['issue']['date']) ?> 25f2f5b3feSghi </td> 26f2f5b3feSghi</tr> 27f2f5b3feSghi 28f2f5b3feSghi <tr> 299fbfe943Sghi <td colspan="2"> 30f2f5b3feSghi <strong><?php echo $bezlang['title'] ?>:</strong> 31f2f5b3feSghi <?php echo $template['issue']['title'] ?> 32f2f5b3feSghi </td> 33f2f5b3feSghi</tr> 34f2f5b3feSghi</table> 3566b54849Sghi<h2><?php echo $bezlang['1d'] ?></h2> 3666b54849Sghi<ul> 3766b54849Sghi <?php foreach($template['team'] as $user): ?> 3866b54849Sghi <li><?php echo $user ?></li> 3966b54849Sghi <?php endforeach ?> 4066b54849Sghi</ul> 41f2f5b3feSghi 42f2f5b3feSghi<h2><?php echo $bezlang['2d'] ?></h2> 43a738ad01Sghi<?php echo $template['issue']['description'] ?> 44f2f5b3feSghi 45*683e6b20Sghi<?php if (count($template['tasks']['3d'] ) > 0): ?> 46f2f5b3feSghi <h2><?php echo $bezlang['3d'] ?></h2> 47*683e6b20Sghi <?php $tasks = $template['tasks']['3d'] ?> 48*683e6b20Sghi <table> 49*683e6b20Sghi <tr> 50*683e6b20Sghi <th><?php echo $bezlang['id'] ?></th> 51*683e6b20Sghi <th><?php echo $bezlang['task'] ?></th> 52*683e6b20Sghi <th><?php echo $bezlang['state'] ?></th> 53*683e6b20Sghi <th><?php echo $bezlang['cost'] ?></th> 54*683e6b20Sghi <th><?php echo $bezlang['date'] ?></th> 55*683e6b20Sghi <th><?php echo $bezlang['closed'] ?></th> 56*683e6b20Sghi </tr> 57*683e6b20Sghi <?php foreach($tasks as $task): ?> 58*683e6b20Sghi <tr> 59*683e6b20Sghi <td> 60*683e6b20Sghi <a href="?id=<?php echo $this->id('issue_task', 'id', $task[issue], 'tid', $task[id]) ?>"> 61*683e6b20Sghi #z<?php echo $task['id'] ?> 62*683e6b20Sghi </a> 63*683e6b20Sghi </td> 64*683e6b20Sghi <td> 65*683e6b20Sghi <?php echo $task['task'] ?> 66*683e6b20Sghi 67*683e6b20Sghi <?php if ($task['reason'] != ''): ?> 68*683e6b20Sghi <h3 class="bez_8d"><?php echo $bezlang['evaluation'] ?></h3> 69*683e6b20Sghi <?php echo $task['reason'] ?> 70*683e6b20Sghi <?php endif ?> 71*683e6b20Sghi </td> 72*683e6b20Sghi <td><?php echo $task['state'] ?></td> 73*683e6b20Sghi <td> 74*683e6b20Sghi <?php if ($task['cost'] == ''): ?> 75*683e6b20Sghi <em>---</em> 76*683e6b20Sghi <?php else: ?> 77*683e6b20Sghi <?php echo $task['cost'] ?> 78*683e6b20Sghi <?php endif ?> 79*683e6b20Sghi </td> 80*683e6b20Sghi <td><?php echo $helper->time2date($task['date']) ?></td> 81*683e6b20Sghi <td> 82*683e6b20Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 83*683e6b20Sghi <em>---</em> 84*683e6b20Sghi <?php else: ?> 85*683e6b20Sghi <?php echo $helper->time2date($task['close_date']) ?> 86*683e6b20Sghi <?php endif ?> 87*683e6b20Sghi </td> 88*683e6b20Sghi </tr> 89*683e6b20Sghi <?php endforeach ?> 90*683e6b20Sghi </table> 91*683e6b20Sghi<?php endif ?> 92*683e6b20Sghi 93*683e6b20Sghi<?php if (count($template['causes']) > 0): ?> 94*683e6b20Sghi <h2><?php echo $bezlang['4d'] ?></h2> 9538ce6055Sghi <table> 96f2f5b3feSghi <?php foreach ($template['causes'] as $rootcause => $cause): ?> 9738ce6055Sghi 9838ce6055Sghi <tr><th colspan=2><?php echo $rootcause ?></th></tr> 99f2f5b3feSghi <?php foreach($cause as $value): ?> 10038ce6055Sghi <tr> 10138ce6055Sghi <td> 10238ce6055Sghi <a href="?id=<?php echo $this->id('issue_cause', 'id', $template[issue][id], 'cid', $value[id] ) ?>"> 10378977588Sghi #p<?php echo $value['id'] ?> 10438ce6055Sghi </a> 10538ce6055Sghi </td> 10638ce6055Sghi <td> 10738ce6055Sghi <?php echo $helper->wiki_parse($value['cause']) ?> 10838ce6055Sghi </td> 10938ce6055Sghi </tr> 110f2f5b3feSghi <?php endforeach ?> 111f2f5b3feSghi <?php endforeach ?> 11238ce6055Sghi </table> 113f2f5b3feSghi<?php endif ?> 114f2f5b3feSghi 115*683e6b20Sghi<?php unset($template['tasks']['3d']) ?> 116*683e6b20Sghi 117f2f5b3feSghi<?php if (count($template['tasks']) > 0): ?> 118f2f5b3feSghi <?php foreach($template['tasks'] as $nd => $tasks): ?> 119f2f5b3feSghi <h2><?php echo $bezlang[$nd] ?></h2> 120f2f5b3feSghi <table> 121f2f5b3feSghi <tr> 12238ce6055Sghi <th><?php echo $bezlang['id'] ?></th> 1235183540eSghi <th><?php echo $bezlang['task'] ?></th> 12471b11395Sghi <th><?php echo $bezlang['state'] ?></th> 125f2f5b3feSghi <th><?php echo $bezlang['cost'] ?></th> 12671b11395Sghi <th><?php echo $bezlang['date'] ?></th> 12771b11395Sghi <th><?php echo $bezlang['closed'] ?></th> 128f2f5b3feSghi </tr> 129f2f5b3feSghi <?php foreach($tasks as $task): ?> 130f2f5b3feSghi <tr> 13138ce6055Sghi <td> 13238ce6055Sghi <a href="?id=<?php echo $this->id('issue_task', 'id', $task[issue], 'tid', $task[id]) ?>"> 133489061b8Sghi #z<?php echo $task['id'] ?> 13438ce6055Sghi </a> 13538ce6055Sghi </td> 136489061b8Sghi <td> 137489061b8Sghi <?php echo $task['task'] ?> 138489061b8Sghi 139489061b8Sghi <?php if ($task['reason'] != ''): ?> 140489061b8Sghi <h3 class="bez_8d"><?php echo $bezlang['evaluation'] ?></h3> 141489061b8Sghi <?php echo $task['reason'] ?> 142489061b8Sghi <?php endif ?> 143489061b8Sghi </td> 14471b11395Sghi <td><?php echo $task['state'] ?></td> 145f2f5b3feSghi <td> 146f2f5b3feSghi <?php if ($task['cost'] == ''): ?> 147489061b8Sghi <em>---</em> 148f2f5b3feSghi <?php else: ?> 149f2f5b3feSghi <?php echo $task['cost'] ?> 150f2f5b3feSghi <?php endif ?> 151f2f5b3feSghi </td> 15271b11395Sghi <td><?php echo $helper->time2date($task['date']) ?></td> 15371b11395Sghi <td> 15471b11395Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 155489061b8Sghi <em>---</em> 15671b11395Sghi <?php else: ?> 15771b11395Sghi <?php echo $helper->time2date($task['close_date']) ?> 15871b11395Sghi <?php endif ?> 15971b11395Sghi </td> 160f2f5b3feSghi </tr> 161f2f5b3feSghi <?php endforeach ?> 162f2f5b3feSghi </table> 163f2f5b3feSghi <?php endforeach ?> 164f2f5b3feSghi<?php endif ?> 165f2f5b3feSghi 166f2f5b3feSghi 167f2f5b3feSghi 168f2f5b3feSghi<?php if (strlen(trim($template['issue']['opinion'])) > 0): ?> 169f2f5b3feSghi <h2><?php echo $bezlang['7d'] ?></h2> 170a738ad01Sghi <?php echo $template['issue']['opinion'] ?> 171f2f5b3feSghi 172f2f5b3feSghi<?php endif ?> 173f2f5b3feSghi 174f2f5b3feSghi<h2><?php echo $bezlang['8d'] ?></h2> 175f2f5b3feSghi<table> 176f2f5b3feSghi<tr> 177f2f5b3feSghi <td> 178f2f5b3feSghi <strong><?php echo $bezlang['true_date'] ?>:</strong> 179f2f5b3feSghi <?php echo $helper->time2date($template['issue']['last_mod']) ?> 180f2f5b3feSghi </td> 181f2f5b3feSghi <td> 182f2f5b3feSghi <strong><?php echo $bezlang['state'] ?>:</strong> 183f2f5b3feSghi <?php echo $template['issue']['state'] ?> 184f2f5b3feSghi </td> 185f2f5b3feSghi</tr> 186f2f5b3feSghi 187f2f5b3feSghi<tr> 188f2f5b3feSghi <td> 189bb615297Sghi <strong><?php echo $bezlang['totalcost'] ?>:</strong> 190f2f5b3feSghi <?php echo $template['cost_total'] ?> 191f2f5b3feSghi </td> 192f2f5b3feSghi <td> 193f2f5b3feSghi <strong><?php echo $bezlang['coordinator'] ?>:</strong> 194f2f5b3feSghi <?php echo $template['issue']['coordinator'] ?> 195f2f5b3feSghi </td> 196f2f5b3feSghi</tr> 197f2f5b3feSghi</table> 198