@@ -74,12 +74,12 @@ |
||
| 74 | 74 | <tr> |
| 75 | 75 | <td class="title"><?php echo $data['l10n']->get('cost'); ?></td> |
| 76 | 76 | <?php |
| 77 | - if ($data['deliverable']->costType == '%') { ?> |
|
| 77 | + if ($data['deliverable']->costType == '%') { ?> |
|
| 78 | 78 | <td class="numeric"><?php echo $view['costPerUnit']; ?> %</td> |
| 79 | 79 | <td class="numeric"> </td> |
| 80 | 80 | <td class="numeric"> </td> |
| 81 | 81 | <?php |
| 82 | - } else { ?> |
|
| 82 | + } else { ?> |
|
| 83 | 83 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->costPerUnit); ?></td> |
| 84 | 84 | <td class="numeric"><?php echo $view['plannedUnits']; ?></td> |
| 85 | 85 | <td class="numeric"><?php echo $view['units']; ?></td> |
@@ -65,17 +65,17 @@ |
||
| 65 | 65 | <tr> |
| 66 | 66 | <td class="title"><?php echo $data['l10n']->get('cost'); ?></td> |
| 67 | 67 | <?php |
| 68 | - if ($data['deliverable']->costType == '%') { ?> |
|
| 68 | + if ($data['deliverable']->costType == '%') { ?> |
|
| 69 | 69 | <td class="numeric"><?php echo $view['costPerUnit']; ?> %</td> |
| 70 | 70 | <td class="numeric"> </td> |
| 71 | 71 | <td class="numeric"> </td> |
| 72 | 72 | <?php |
| 73 | - } else { ?> |
|
| 73 | + } else { ?> |
|
| 74 | 74 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->costPerUnit); ?></td> |
| 75 | 75 | <td class="numeric"><?php echo $view['plannedUnits']; ?></td> |
| 76 | 76 | <td class="numeric"><?php echo $view['units']; ?></td> |
| 77 | 77 | <?php |
| 78 | - } ?> |
|
| 78 | + } ?> |
|
| 79 | 79 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->cost); ?></td> |
| 80 | 80 | </tr> |
| 81 | 81 | </tbody> |
@@ -33,7 +33,8 @@ |
||
| 33 | 33 | $task_label = "<a href=\"{$data['projects_url']}task/{$task->guid}/\">{$task_label}</a>"; |
| 34 | 34 | } |
| 35 | 35 | echo $task_label; |
| 36 | - } catch (midcom_error $e) {} |
|
| 36 | + } |
|
| 37 | + catch (midcom_error $e) {} |
|
| 37 | 38 | ?> |
| 38 | 39 | </td> |
| 39 | 40 | <td class="multivalue"> |
@@ -25,7 +25,8 @@ |
||
| 25 | 25 | $row['creator_index'] = $creator->rname; |
| 26 | 26 | $creator_card = org_openpsa_widgets_contact::get($entry->metadata->creator); |
| 27 | 27 | $row['creator'] = $creator_card->show_inline(); |
| 28 | - } catch (midcom_error $e) { |
|
| 28 | + } |
|
| 29 | + catch (midcom_error $e) { |
|
| 29 | 30 | $row['creator_index'] = ''; |
| 30 | 31 | $row['creator'] = ''; |
| 31 | 32 | } |