<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.43.4772 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.43.4773 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
print $item['expense'];
print "]]></cost>\n";
}
+ if ($bean->getAttribute('chapproved')) print "\t<approved><![CDATA[".$item['approved']."]]></approved>\n";
if ($bean->getAttribute('chpaid')) print "\t<paid><![CDATA[".$item['paid']."]]></paid>\n";
if ($bean->getAttribute('chip')) {
$ip = $item['modified'] ? $item['modified_ip'].' '.$item['modified'] : $item['created_ip'].' '.$item['created'];
if ($bean->getAttribute('chunits')) print ',"'.$i18n->get('label.work_units_short').'"';
if ($bean->getAttribute('chnote')) print ',"'.$i18n->get('label.note').'"';
if ($bean->getAttribute('chcost')) print ',"'.$i18n->get('label.cost').'"';
+ if ($bean->getAttribute('chapproved')) print ',"'.$i18n->get('label.approved').'"';
if ($bean->getAttribute('chpaid')) print ',"'.$i18n->get('label.paid').'"';
if ($bean->getAttribute('chip')) print ',"'.$i18n->get('label.ip').'"';
if ($bean->getAttribute('chinvoice')) print ',"'.$i18n->get('label.invoice').'"';
else
print ',"'.$item['expense'].'"';
}
+ if ($bean->getAttribute('chapproved')) print ',"'.$item['approved'].'"';
if ($bean->getAttribute('chpaid')) print ',"'.$item['paid'].'"';
if ($bean->getAttribute('chip')) {
$ip = $item['modified'] ? $item['modified_ip'].' '.$item['modified'] : $item['created_ip'].' '.$item['created'];
if ($bean->getAttribute('chunits')) { $colspan++; $html .= "<td $styleCentered>".$i18n->get('label.work_units_short').'</td>'; }
if ($bean->getAttribute('chnote')) { $colspan++; $html .= '<td>'.$i18n->get('label.note').'</td>'; }
if ($bean->getAttribute('chcost')) { $colspan++; $html .= "<td $styleCentered>".$i18n->get('label.cost').'</td>'; }
+ if ($bean->getAttribute('chapproved')) { $colspan++; $html .= "<td $styleCentered>".$i18n->get('label.approved').'</td>'; }
if ($bean->getAttribute('chpaid')) { $colspan++; $html .= "<td $styleCentered>".$i18n->get('label.paid').'</td>'; }
if ($bean->getAttribute('chip')) { $colspan++; $html .= "<td $styleCentered>".$i18n->get('label.ip').'</td>'; }
if ($bean->getAttribute('chinvoice')) { $colspan++; $html .= '<td>'.$i18n->get('label.invoice').'</td>'; }
$html .= $subtotals[$prev_grouped_by]['expenses'];
$html .= '</td>';
}
+ if ($bean->getAttribute('chapproved')) $html .= '<td></td>';
if ($bean->getAttribute('chpaid')) $html .= '<td></td>';
if ($bean->getAttribute('chip')) $html .= '<td></td>';
if ($bean->getAttribute('chinvoice')) $html .= '<td></td>';
$html .= $item['expense'];
$html .= '</td>';
}
+ if ($bean->getAttribute('chapproved')) {
+ $html .= '<td>';
+ $html .= $item['approved'] == 1 ? $i18n->get('label.yes') : $i18n->get('label.no');
+ $html .= '</td>';
+ }
if ($bean->getAttribute('chpaid')) {
$html .= '<td>';
$html .= $item['paid'] == 1 ? $i18n->get('label.yes') : $i18n->get('label.no');
$html .= $subtotals[$prev_grouped_by]['expenses'];
$html .= '</td>';
}
+ if ($bean->getAttribute('chapproved')) $html .= '<td></td>';
if ($bean->getAttribute('chpaid')) $html .= '<td></td>';
if ($bean->getAttribute('chip')) $html .= '<td></td>';
if ($bean->getAttribute('chinvoice')) $html .= '<td></td>';
$html .= $totals['expenses'];
$html .= '</td>';
}
+ if ($bean->getAttribute('chapproved')) $html .= '<td></td>';
if ($bean->getAttribute('chpaid')) $html .= '<td></td>';
if ($bean->getAttribute('chip')) $html .= '<td></td>';
if ($bean->getAttribute('chinvoice')) $html .= '<td></td>';