Skip to content

Commit

Permalink
Timesheet fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Aug 24, 2024
1 parent 5466e90 commit 16ad712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Domain/Timesheets/Templates/showAll.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
<td data-order="<?=$tpl->e($row['clientName']); ?>"><a href="<?=BASE_URL ?>/clients/showClient/<?php echo $row['clientId']; ?>"><?php $tpl->e($row['clientName']); ?></a></td>

<td><?php printf($tpl->__("text.full_name"), $tpl->escape($row["firstname"]), $tpl->escape($row['lastname'])); ?></td>
<td><?php echo $tpl->__($tpl->get('kind')[$row['kind']]); ?></td>
<td><?php echo $tpl->__($tpl->get('kind')[$row['kind'] ?? 'GENERAL_BILLABLE'] ?? $tpl->get('kind')['GENERAL_BILLABLE']); ?></td>

<td><?php echo $tpl->escape($row["milestone"]); ?></td>
<td><?php echo $tpl->escape($row["tags"]); ?></td>
Expand Down
2 changes: 1 addition & 1 deletion app/Domain/Timesheets/Templates/showMy.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
<a href="#/tickets/showTicket/<?php echo $timeRow['ticketId']; ?>"><?php $tpl->e($timeRow['headline']); ?></a>
</td>
<td width="10%">
<?php echo $tpl->__($tpl->get('kind')[$timeRow['kind']]); ?>
<?php echo $tpl->__($tpl->get('kind')[$row['kind'] ?? 'GENERAL_BILLABLE'] ?? $tpl->get('kind')['GENERAL_BILLABLE']); ?>
<?php if ($timeRow['hasTimesheetOffset']) { ?>
<i class="fa-solid fa-clock-rotate-left pull-right label-blue"
data-tippy-content="This entry was likely created using a different timezone. Only existing entries can be updated in this timezone">
Expand Down

0 comments on commit 16ad712

Please sign in to comment.