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'], 5*9a30fd19Sghi $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> 14f2f5b3feSghi <?php echo ucfirst($template['issue']['type']) ?> 15f2f5b3feSghi <strong>#<?php echo $template['issue']['id'] ?></strong> 16f2f5b3feSghi </td> 17f2f5b3feSghi <td> 18f2f5b3feSghi <strong><?php echo $bezlang['entity'] ?>:</strong> 19f2f5b3feSghi <?php echo $template['issue']['entity'] ?> 20f2f5b3feSghi </td> 21f2f5b3feSghi </tr> 22f2f5b3feSghi 23f2f5b3feSghi <tr> 24f2f5b3feSghi <td> 25f2f5b3feSghi <strong><?php echo $bezlang['open_date'] ?>:</strong> 26f2f5b3feSghi <?php echo $helper->time2date($template['issue']['date']) ?> 27f2f5b3feSghi </td> 28f2f5b3feSghi <td> 29f2f5b3feSghi <strong><?php echo $bezlang['reporter'] ?>:</strong> 30f2f5b3feSghi <?php echo $template['issue']['reporter'] ?> 31f2f5b3feSghi </td> 32f2f5b3feSghi </tr> 33f2f5b3feSghi 34f2f5b3feSghi <tr> 35f2f5b3feSghi <td colspan="2"> 36f2f5b3feSghi <strong><?php echo $bezlang['title'] ?>:</strong> 37f2f5b3feSghi <?php echo $template['issue']['title'] ?> 38f2f5b3feSghi </td> 39f2f5b3feSghi</tr> 40f2f5b3feSghi</table> 4166b54849Sghi<h2><?php echo $bezlang['1d'] ?></h2> 4266b54849Sghi<ul> 4366b54849Sghi <?php foreach($template['team'] as $user): ?> 4466b54849Sghi <li><?php echo $user ?></li> 4566b54849Sghi <?php endforeach ?> 4666b54849Sghi</ul> 47f2f5b3feSghi 48f2f5b3feSghi<h2><?php echo $bezlang['2d'] ?></h2> 49a738ad01Sghi<?php echo $template['issue']['description'] ?> 50f2f5b3feSghi 51f2f5b3feSghi<?php if (count($template['causes']) > 0): ?> 52f2f5b3feSghi <h2><?php echo $bezlang['3d'] ?></h2> 53f2f5b3feSghi 54f2f5b3feSghi <?php foreach ($template['causes'] as $rootcause => $cause): ?> 55f2f5b3feSghi <h3><?php echo $rootcause ?></h3> 56f2f5b3feSghi <ul> 57f2f5b3feSghi <?php foreach($cause as $value): ?> 58f2f5b3feSghi <li><?php echo $helper->wiki_parse($value['cause']) ?></li> 59f2f5b3feSghi <?php endforeach ?> 60f2f5b3feSghi </ul> 61f2f5b3feSghi <?php endforeach ?> 62f2f5b3feSghi<?php endif ?> 63f2f5b3feSghi 64f2f5b3feSghi<?php if (count($template['tasks']) > 0): ?> 65f2f5b3feSghi <?php foreach($template['tasks'] as $nd => $tasks): ?> 66f2f5b3feSghi <h2><?php echo $bezlang[$nd] ?></h2> 67f2f5b3feSghi <table> 68f2f5b3feSghi <tr> 695183540eSghi <th><?php echo $bezlang['task'] ?></th> 7071b11395Sghi <th><?php echo $bezlang['state'] ?></th> 71f2f5b3feSghi <th><?php echo $bezlang['cost'] ?></th> 7271b11395Sghi <th><?php echo $bezlang['date'] ?></th> 7371b11395Sghi <th><?php echo $bezlang['closed'] ?></th> 74f2f5b3feSghi </tr> 75f2f5b3feSghi <?php foreach($tasks as $task): ?> 76f2f5b3feSghi <tr> 77a738ad01Sghi <td><?php echo $task['task'] ?></td> 7871b11395Sghi <td><?php echo $task['state'] ?></td> 79f2f5b3feSghi <td> 80f2f5b3feSghi <?php if ($task['cost'] == ''): ?> 81f2f5b3feSghi <em><?php echo $bezlang['ns'] ?></em> 82f2f5b3feSghi <?php else: ?> 83f2f5b3feSghi <?php echo $task['cost'] ?> 84f2f5b3feSghi <?php endif ?> 85f2f5b3feSghi </td> 8671b11395Sghi <td><?php echo $helper->time2date($task['date']) ?></td> 8771b11395Sghi <td> 8871b11395Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 8971b11395Sghi <em><?php echo $bezlang['ns'] ?></em> 9071b11395Sghi <?php else: ?> 9171b11395Sghi <?php echo $helper->time2date($task['close_date']) ?> 9271b11395Sghi <?php endif ?> 9371b11395Sghi </td> 94f2f5b3feSghi </tr> 95f2f5b3feSghi <?php endforeach ?> 96f2f5b3feSghi </table> 97f2f5b3feSghi <?php endforeach ?> 98f2f5b3feSghi<?php endif ?> 99f2f5b3feSghi 100f2f5b3feSghi 101f2f5b3feSghi 102f2f5b3feSghi<?php if (strlen(trim($template['issue']['opinion'])) > 0): ?> 103f2f5b3feSghi <h2><?php echo $bezlang['7d'] ?></h2> 104a738ad01Sghi <?php echo $template['issue']['opinion'] ?> 105f2f5b3feSghi 106f2f5b3feSghi<?php endif ?> 107f2f5b3feSghi 108f2f5b3feSghi<h2><?php echo $bezlang['8d'] ?></h2> 109f2f5b3feSghi<table> 110f2f5b3feSghi<tr> 111f2f5b3feSghi <td> 112f2f5b3feSghi <strong><?php echo $bezlang['true_date'] ?>:</strong> 113f2f5b3feSghi <?php echo $helper->time2date($template['issue']['last_mod']) ?> 114f2f5b3feSghi </td> 115f2f5b3feSghi <td> 116f2f5b3feSghi <strong><?php echo $bezlang['state'] ?>:</strong> 117f2f5b3feSghi <?php echo $template['issue']['state'] ?> 118f2f5b3feSghi </td> 119f2f5b3feSghi</tr> 120f2f5b3feSghi 121f2f5b3feSghi<tr> 122f2f5b3feSghi <td> 123bb615297Sghi <strong><?php echo $bezlang['totalcost'] ?>:</strong> 124f2f5b3feSghi <?php echo $template['cost_total'] ?> 125f2f5b3feSghi </td> 126f2f5b3feSghi <td> 127f2f5b3feSghi <strong><?php echo $bezlang['coordinator'] ?>:</strong> 128f2f5b3feSghi <?php echo $template['issue']['coordinator'] ?> 129f2f5b3feSghi </td> 130f2f5b3feSghi</tr> 131f2f5b3feSghi</table> 132