Lines Matching refs:tpl

1 <h1><?php echo $tpl->getLang('report') ?></h1>
4 <form action="<?php echo $tpl->url('report') ?>" method="post">
6 <label><?php echo $tpl->getLang('report from') ?>: <input name="from" value="<?php echo $tpl->value('from') ?>" class="date start" style="width: 90px"></label>
7 <label><?php echo $tpl->getLang('report to') ?>: <input name="to" value="<?php echo $tpl->value('to') ?>" class="date end" style="width: 90px"></label>
9 <button><?php echo $tpl->getLang('show') ?></button>
14 <h2><?php echo $tpl->getLang('issues') ?></h2>
18 <th><?php echo $tpl->getLang('type') ?></th>
19 <th><?php echo ucfirst($tpl->getLang('proposal')) ?></th>
20 <th><?php echo ucfirst($tpl->getLang('open')) ?></th>
21 <th><?php echo ucfirst($tpl->getLang('report threads done')) ?></th>
22 <th><?php echo ucfirst($tpl->getLang('closed')) ?></th>
23 <th><?php echo ucfirst($tpl->getLang('report threads rejected')) ?></th>
24 <th><?php echo ucfirst($tpl->getLang('all')) ?></th>
26 <?php foreach ($tpl->get('issues') as $issue): ?>
30 <i><?php echo $tpl->getLang('issue_type_no_specified') ?></i>
44 <th><?php echo $tpl->getLang('report_total') ?></th>
45 <td><?php echo array_sum(array_column($tpl->get('issues'), 'proposal')) ?></td>
46 <td><?php echo array_sum(array_column($tpl->get('issues'), 'opened')) ?></td>
47 <td><?php echo array_sum(array_column($tpl->get('issues'), 'done')) ?></td>
48 <td><?php echo array_sum(array_column($tpl->get('issues'), 'closed')) ?></td>
49 <td><?php echo array_sum(array_column($tpl->get('issues'), 'rejected')) ?></td>
50 <td><?php echo array_sum(array_column($tpl->get('issues'), 'count_all')) ?></td>
56 <th><?php echo $tpl->getLang('type') ?></th>
57 <th><?php echo ucfirst($tpl->getLang('report threads cost')) ?></th>
58 <th><?php echo ucfirst($tpl->getLang('report threads cost closed')) ?></th>
59 <th><?php echo ucfirst($tpl->getLang('average_of_close')) ?></th>
61 <?php foreach ($tpl->get('issues') as $issue): ?>
65 <i><?php echo $tpl->getLang('issue_type_no_specified') ?></i>
88 <?php echo round($issue['avg_closed']) ?> <?php echo $tpl->getLang('days') ?>
94 <th><?php echo $tpl->getLang('report_total') ?></th>
95 <td><?php echo array_sum(array_column($tpl->get('issues'), 'sum_all')) ?></td>
96 <td><?php echo array_sum(array_column($tpl->get('issues'), 'sum_closed')) ?></td>
97 <?php $numerator = array_sum(array_column($tpl->get('issues'), 'avg_closed')) ?>
98 <?php $denominator = count(array_filter(array_column($tpl->get('issues'), 'avg_closed'))) ?>
100 <?php echo $tpl->getLang('days') ?></td>
106 <th><?php echo ucfirst($tpl->getLang('causes')) ?></th>
107 <th><?php echo ucfirst($tpl->getLang('risks')) ?></th>
108 <th><?php echo ucfirst($tpl->getLang('opportunities')) ?></th>
109 <th><?php echo ucfirst($tpl->getLang('all')) ?></th>
113 <td><?php echo $tpl->get('comments')['cause'] ?></td>
114 <td><?php echo $tpl->get('comments')['risk'] ?></td>
115 <td><?php echo $tpl->get('comments')['opportunity'] ?></td>
116 <td><?php echo $tpl->get('comments')['all'] ?></td>
120 <h2><?php echo $tpl->getLang('nav projects') ?></h2>
124 <th><?php echo ucfirst($tpl->getLang('proposal')) ?></th>
125 <th><?php echo ucfirst($tpl->getLang('open')) ?></th>
126 <th><?php echo ucfirst($tpl->getLang('report threads done')) ?></th>
127 <th><?php echo ucfirst($tpl->getLang('closed')) ?></th>
128 <th><?php echo ucfirst($tpl->getLang('report threads rejected')) ?></th>
129 <th><?php echo ucfirst($tpl->getLang('all')) ?></th>
131 <?php foreach ($tpl->get('projects') as $project): ?>
145 <th><?php echo ucfirst($tpl->getLang('report threads cost')) ?></th>
146 <th><?php echo ucfirst($tpl->getLang('report threads cost closed')) ?></th>
147 <th><?php echo ucfirst($tpl->getLang('average_of_close')) ?></th>
149 <?php foreach ($tpl->get('projects') as $project): ?>
169 <?php echo round($project['avg_closed']) ?> <?php echo $tpl->getLang('days') ?>
176 <h2><?php echo $tpl->getLang('tasks') ?></h2>
180 <th><?php echo ucfirst($tpl->getLang('task_type')) ?></th>
181 <th><?php echo ucfirst($tpl->getLang('open')) ?></th>
182 <th><?php echo ucfirst($tpl->getLang('number_of_close_on_time')) ?></th>
183 <th><?php echo ucfirst($tpl->getLang('number_of_close_off_time')) ?></th>
184 <th><?php echo ucfirst($tpl->getLang('all')) ?></th>
187 <?php foreach ($tpl->get('tasks') as $task): ?>
191 <i><?php echo $tpl->getLang('tasks_no_type') ?></i>
203 <th><?php echo $tpl->getLang('report_total') ?></th>
204 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'opened')) ?></td>
205 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'closed_on_time')) ?></td>
206 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'closed_after_the_dedline')) ?></td>
207 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'count_all')) ?></td>
213 <th><?php echo ucfirst($tpl->getLang('task_type')) ?></th>
214 <th><?php echo ucfirst($tpl->getLang('report threads cost')) ?></th>
215 <th><?php echo ucfirst($tpl->getLang('report threads cost closed')) ?></th>
217 <?php foreach ($tpl->get('tasks') as $task): ?>
221 <i><?php echo $tpl->getLang('tasks_no_type') ?></i>
243 <th><?php echo $tpl->getLang('report_total') ?></th>
244 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'total_cost')) ?></td>
245 <td><?php echo array_sum(array_column($tpl->get('tasks'), 'cost_of_closed')) ?></td>