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 45f2f5b3feSghi<?php if (count($template['causes']) > 0): ?> 46f2f5b3feSghi <h2><?php echo $bezlang['3d'] ?></h2> 4738ce6055Sghi <table> 48f2f5b3feSghi <?php foreach ($template['causes'] as $rootcause => $cause): ?> 4938ce6055Sghi 5038ce6055Sghi <tr><th colspan=2><?php echo $rootcause ?></th></tr> 51f2f5b3feSghi <?php foreach($cause as $value): ?> 5238ce6055Sghi <tr> 5338ce6055Sghi <td> 5438ce6055Sghi <a href="?id=<?php echo $this->id('issue_cause', 'id', $template[issue][id], 'cid', $value[id] ) ?>"> 5578977588Sghi #p<?php echo $value['id'] ?> 5638ce6055Sghi </a> 5738ce6055Sghi </td> 5838ce6055Sghi <td> 5938ce6055Sghi <?php echo $helper->wiki_parse($value['cause']) ?> 6038ce6055Sghi </td> 6138ce6055Sghi </tr> 62f2f5b3feSghi <?php endforeach ?> 63f2f5b3feSghi <?php endforeach ?> 6438ce6055Sghi </table> 65f2f5b3feSghi<?php endif ?> 66f2f5b3feSghi 67f2f5b3feSghi<?php if (count($template['tasks']) > 0): ?> 68f2f5b3feSghi <?php foreach($template['tasks'] as $nd => $tasks): ?> 69f2f5b3feSghi <h2><?php echo $bezlang[$nd] ?></h2> 70f2f5b3feSghi <table> 71f2f5b3feSghi <tr> 7238ce6055Sghi <th><?php echo $bezlang['id'] ?></th> 735183540eSghi <th><?php echo $bezlang['task'] ?></th> 7471b11395Sghi <th><?php echo $bezlang['state'] ?></th> 75f2f5b3feSghi <th><?php echo $bezlang['cost'] ?></th> 7671b11395Sghi <th><?php echo $bezlang['date'] ?></th> 7771b11395Sghi <th><?php echo $bezlang['closed'] ?></th> 78f2f5b3feSghi </tr> 79f2f5b3feSghi <?php foreach($tasks as $task): ?> 80f2f5b3feSghi <tr> 8138ce6055Sghi <td> 8238ce6055Sghi <a href="?id=<?php echo $this->id('issue_task', 'id', $task[issue], 'tid', $task[id]) ?>"> 83*489061b8Sghi #z<?php echo $task['id'] ?> 8438ce6055Sghi </a> 8538ce6055Sghi </td> 86*489061b8Sghi <td> 87*489061b8Sghi <?php echo $task['task'] ?> 88*489061b8Sghi 89*489061b8Sghi <?php if ($task['reason'] != ''): ?> 90*489061b8Sghi <h3 class="bez_8d"><?php echo $bezlang['evaluation'] ?></h3> 91*489061b8Sghi <?php echo $task['reason'] ?> 92*489061b8Sghi <?php endif ?> 93*489061b8Sghi </td> 9471b11395Sghi <td><?php echo $task['state'] ?></td> 95f2f5b3feSghi <td> 96f2f5b3feSghi <?php if ($task['cost'] == ''): ?> 97*489061b8Sghi <em>---</em> 98f2f5b3feSghi <?php else: ?> 99f2f5b3feSghi <?php echo $task['cost'] ?> 100f2f5b3feSghi <?php endif ?> 101f2f5b3feSghi </td> 10271b11395Sghi <td><?php echo $helper->time2date($task['date']) ?></td> 10371b11395Sghi <td> 10471b11395Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 105*489061b8Sghi <em>---</em> 10671b11395Sghi <?php else: ?> 10771b11395Sghi <?php echo $helper->time2date($task['close_date']) ?> 10871b11395Sghi <?php endif ?> 10971b11395Sghi </td> 110f2f5b3feSghi </tr> 111f2f5b3feSghi <?php endforeach ?> 112f2f5b3feSghi </table> 113f2f5b3feSghi <?php endforeach ?> 114f2f5b3feSghi<?php endif ?> 115f2f5b3feSghi 116f2f5b3feSghi 117f2f5b3feSghi 118f2f5b3feSghi<?php if (strlen(trim($template['issue']['opinion'])) > 0): ?> 119f2f5b3feSghi <h2><?php echo $bezlang['7d'] ?></h2> 120a738ad01Sghi <?php echo $template['issue']['opinion'] ?> 121f2f5b3feSghi 122f2f5b3feSghi<?php endif ?> 123f2f5b3feSghi 124f2f5b3feSghi<h2><?php echo $bezlang['8d'] ?></h2> 125f2f5b3feSghi<table> 126f2f5b3feSghi<tr> 127f2f5b3feSghi <td> 128f2f5b3feSghi <strong><?php echo $bezlang['true_date'] ?>:</strong> 129f2f5b3feSghi <?php echo $helper->time2date($template['issue']['last_mod']) ?> 130f2f5b3feSghi </td> 131f2f5b3feSghi <td> 132f2f5b3feSghi <strong><?php echo $bezlang['state'] ?>:</strong> 133f2f5b3feSghi <?php echo $template['issue']['state'] ?> 134f2f5b3feSghi </td> 135f2f5b3feSghi</tr> 136f2f5b3feSghi 137f2f5b3feSghi<tr> 138f2f5b3feSghi <td> 139bb615297Sghi <strong><?php echo $bezlang['totalcost'] ?>:</strong> 140f2f5b3feSghi <?php echo $template['cost_total'] ?> 141f2f5b3feSghi </td> 142f2f5b3feSghi <td> 143f2f5b3feSghi <strong><?php echo $bezlang['coordinator'] ?>:</strong> 144f2f5b3feSghi <?php echo $template['issue']['coordinator'] ?> 145f2f5b3feSghi </td> 146f2f5b3feSghi</tr> 147f2f5b3feSghi</table> 148