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] ) ?>"> 55*78977588Sghi #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]) ?>"> 8338ce6055Sghi #z<?php echo $task[id] ?> 8438ce6055Sghi </a> 8538ce6055Sghi </td> 86a738ad01Sghi <td><?php echo $task['task'] ?></td> 8771b11395Sghi <td><?php echo $task['state'] ?></td> 88f2f5b3feSghi <td> 89f2f5b3feSghi <?php if ($task['cost'] == ''): ?> 90f2f5b3feSghi <em><?php echo $bezlang['ns'] ?></em> 91f2f5b3feSghi <?php else: ?> 92f2f5b3feSghi <?php echo $task['cost'] ?> 93f2f5b3feSghi <?php endif ?> 94f2f5b3feSghi </td> 9571b11395Sghi <td><?php echo $helper->time2date($task['date']) ?></td> 9671b11395Sghi <td> 9771b11395Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 9871b11395Sghi <em><?php echo $bezlang['ns'] ?></em> 9971b11395Sghi <?php else: ?> 10071b11395Sghi <?php echo $helper->time2date($task['close_date']) ?> 10171b11395Sghi <?php endif ?> 10271b11395Sghi </td> 103f2f5b3feSghi </tr> 104f2f5b3feSghi <?php endforeach ?> 105f2f5b3feSghi </table> 106f2f5b3feSghi <?php endforeach ?> 107f2f5b3feSghi<?php endif ?> 108f2f5b3feSghi 109f2f5b3feSghi 110f2f5b3feSghi 111f2f5b3feSghi<?php if (strlen(trim($template['issue']['opinion'])) > 0): ?> 112f2f5b3feSghi <h2><?php echo $bezlang['7d'] ?></h2> 113a738ad01Sghi <?php echo $template['issue']['opinion'] ?> 114f2f5b3feSghi 115f2f5b3feSghi<?php endif ?> 116f2f5b3feSghi 117f2f5b3feSghi<h2><?php echo $bezlang['8d'] ?></h2> 118f2f5b3feSghi<table> 119f2f5b3feSghi<tr> 120f2f5b3feSghi <td> 121f2f5b3feSghi <strong><?php echo $bezlang['true_date'] ?>:</strong> 122f2f5b3feSghi <?php echo $helper->time2date($template['issue']['last_mod']) ?> 123f2f5b3feSghi </td> 124f2f5b3feSghi <td> 125f2f5b3feSghi <strong><?php echo $bezlang['state'] ?>:</strong> 126f2f5b3feSghi <?php echo $template['issue']['state'] ?> 127f2f5b3feSghi </td> 128f2f5b3feSghi</tr> 129f2f5b3feSghi 130f2f5b3feSghi<tr> 131f2f5b3feSghi <td> 132bb615297Sghi <strong><?php echo $bezlang['totalcost'] ?>:</strong> 133f2f5b3feSghi <?php echo $template['cost_total'] ?> 134f2f5b3feSghi </td> 135f2f5b3feSghi <td> 136f2f5b3feSghi <strong><?php echo $bezlang['coordinator'] ?>:</strong> 137f2f5b3feSghi <?php echo $template['issue']['coordinator'] ?> 138f2f5b3feSghi </td> 139f2f5b3feSghi</tr> 140f2f5b3feSghi</table> 141