1e51d1175Sghi<div class="bez_filter_form"> 205c9d3bcSghi<form action="<?php echo $template['uri'] ?>?id=<?php echo $this->id('tasks') ?>" method="POST"> 3eb950a4cSghi<label><?php echo $bezlang['issue'] ?>: 4eb950a4cSghi <select name="issue"> 5eb950a4cSghi <option <?php if ($value['issue'] == '-all') echo 'selected' ?> 6eb950a4cSghi value="-all">--- <?php echo $bezlang['all'] ?> ---</option> 7eb950a4cSghi <?php foreach ($template['issues'] as $issue_id): ?> 8eb950a4cSghi <option <?php if ($value['issue'] == $issue_id) echo 'selected' ?> 9eb950a4cSghi value="<?php echo $issue_id ?>">#<?php echo $issue_id ?></option> 10eb950a4cSghi <?php endforeach ?> 11eb950a4cSghi </select> 12eb950a4cSghi</label> 13eb950a4cSghi 14c9044e56Sghi<label><?php echo $bezlang['class'] ?>: 15c9044e56Sghi <select name="action"> 16c9044e56Sghi <option <?php if ($value['action'] == '-all') echo 'selected' ?> 17c9044e56Sghi value="-all">--- <?php echo $bezlang['all'] ?> ---</option> 18c9044e56Sghi <?php foreach ($template['actions'] as $key => $name): ?> 19c9044e56Sghi <option <?php if ($value['action'] == (string)$key) echo 'selected' ?> 20c9044e56Sghi value="<?php echo $key ?>"><?php echo $name ?></option> 21c9044e56Sghi <?php endforeach ?> 22c9044e56Sghi </select> 23c9044e56Sghi</label> 24c9044e56Sghi 25c9044e56Sghi<label><?php echo $bezlang['executor'] ?>: 26c9044e56Sghi <select name="executor"> 27c9044e56Sghi <option <?php if ($value['executor'] == '-all') echo 'selected' ?> 28c9044e56Sghi value="-all">--- <?php echo $bezlang['all'] ?> ---</option> 29c9044e56Sghi <?php foreach ($template['executors'] as $nick => $name): ?> 30c9044e56Sghi <option <?php if ($value['executor'] == $nick) echo 'selected' ?> 31c9044e56Sghi value="<?php echo $nick ?>"><?php echo $name ?></option> 32c9044e56Sghi <?php endforeach ?> 33c9044e56Sghi </select> 34c9044e56Sghi</label> 35e51d1175Sghi 36e51d1175Sghi<label><?php echo $bezlang['state'] ?>: 37e51d1175Sghi <select name="state"> 38e51d1175Sghi <option <?php if ($value['state'] == '-all') echo 'selected' ?> 39e51d1175Sghi value="-all">--- <?php echo $bezlang['all'] ?> ---</option> 40e51d1175Sghi <?php foreach ($template['states'] as $key => $name): ?> 41e51d1175Sghi <option <?php if ($value['state'] == (string)$key) echo 'selected' ?> 42e51d1175Sghi value="<?php echo $key ?>"><?php echo $name ?></option> 43e51d1175Sghi <?php endforeach ?> 44e51d1175Sghi </select> 45e51d1175Sghi</label> 46c9044e56Sghi 47c9044e56Sghi<label><?php echo $bezlang['year'] ?>: 48c9044e56Sghi <select name="year"> 49c9044e56Sghi <option <?php if ($value['year'] == '-all') echo 'selected' ?> 50c9044e56Sghi value="-all">--- <?php echo $bezlang['all'] ?> ---</option> 51c9044e56Sghi <?php foreach ($template['years'] as $year): ?> 52c9044e56Sghi <option <?php if ($value['year'] == $year) echo 'selected' ?> 53c9044e56Sghi value="<?php echo $year ?>"><?php echo $year ?></option> 54c9044e56Sghi <?php endforeach ?> 55c9044e56Sghi </select> 56c9044e56Sghi</label> 5776473fecSghi<label><input type="submit" value="<?php echo $bezlang['filter'] ?>" /></label> 5876473fecSghi<label>[ <a class="" href=" 5976473fecSghi <?php echo $helper->mailto('', 6076473fecSghi '[BEZ] '.$bezlang['tasks_juxtaposition'], 6176473fecSghi DOKU_URL . 'doku.php?id='.$_GET['id']) ?>"> 6276473fecSghi ✉ <?php echo $bezlang['send_mail'] ?> 6376473fecSghi</a> ]</label> 64c9044e56Sghi</form> 65c9044e56Sghi</div> 66c9044e56Sghi 67bb615297Sghi<table class="bez bez_sumarise"> 68c9044e56Sghi<tr> 69c9044e56Sghi <th><?php echo $bezlang['id'] ?></th> 70c9044e56Sghi <th><?php echo $bezlang['class'] ?></th> 71c9044e56Sghi <th><?php echo $bezlang['state'] ?></th> 72c9044e56Sghi <th><?php echo $bezlang['executor'] ?></th> 73c9044e56Sghi <th><?php echo $bezlang['cost'] ?></th> 74c9044e56Sghi <th><?php echo $bezlang['date'] ?></th> 75c9044e56Sghi <th><?php echo $bezlang['closed'] ?></th> 76c9044e56Sghi</tr> 77c9044e56Sghi<?php foreach ($template['tasks'] as $task): ?> 78c9044e56Sghi <tr class="pr<?php echo $task['priority'] ?>"> 7905c9d3bcSghi <td><?php echo $this->html_task_link($task['issue'], $task['id']) ?></td> 80c9044e56Sghi <td><?php echo $task['action'] ?></td> 81c9044e56Sghi <td><?php echo $task['state'] ?></td> 82c9044e56Sghi <td><?php echo $task['executor'] ?></td> 83c9044e56Sghi <td> 84c9044e56Sghi <?php if ($task['cost'] == ''): ?> 85*489061b8Sghi <em>---</em> 86c9044e56Sghi <?php else: ?> 87c9044e56Sghi <?php echo $task['cost'] ?> 88c9044e56Sghi <?php endif ?> 89c9044e56Sghi </td> 906e94bebdSghi <td> 916e94bebdSghi <?php echo $helper->time2date($task['date']) ?> (<?php echo $helper->string_time_to_now($task['date']) ?>) 926e94bebdSghi </td> 93c9044e56Sghi <td> 94c9044e56Sghi <?php if ($task['state'] == $bezlang['task_opened']): ?> 956e94bebdSghi <em>---</em> 96c9044e56Sghi <?php else: ?> 976e94bebdSghi <?php echo $helper->time2date($task['close_date']) ?> 98c9044e56Sghi <?php endif ?> 99c9044e56Sghi </td> 100c9044e56Sghi </tr> 101c9044e56Sghi <?php endforeach ?> 102bb615297Sghi <tr> 103bb615297Sghi <th><?php echo $bezlang['report_total'] ?></th> 104d00bbb0cSghi <td colspan="3"><?php echo $template['tasks_stats']['total'] ?></td> 105d00bbb0cSghi <td colspan="3"><?php echo $template['tasks_stats']['totalcost'] ?></td> 106bb615297Sghi </tr> 107c9044e56Sghi</table> 108c9044e56Sghi 109c9044e56Sghi</div> 110