| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | <div class="value"><?php echo $formatter->date($invoice->deliverydate); ?></div></div> | 
| 35 | 35 | <?php } ?> | 
| 36 | 36 | |
| 37 | -    <div class="field"><div class="title"><?php echo $data['l10n_midcom']->get('description');?>: </div> | |
| 37 | +    <div class="field"><div class="title"><?php echo $data['l10n_midcom']->get('description'); ?>: </div> | |
| 38 | 38 | <div class="description value">&(view['description']:h);</div></div> | 
| 39 | 39 | |
| 40 | 40 | <?php | 
| @@ -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"> | 
| @@ -46,7 +46,7 @@ | ||
| 46 | 46 | <?php | 
| 47 | 47 | //index is needed for sorting | 
| 48 | 48 | echo "'index_name',"; | 
| 49 | -            echo "'" . $data['l10n']->get('entry title') ."',"; | |
| 49 | +            echo "'" . $data['l10n']->get('entry title') . "',"; | |
| 50 | 50 |              echo "'" . $data['l10n']->get('entry text') . "',"; | 
| 51 | 51 |              echo "'" . $data['l10n']->get('entry created') . "',"; | 
| 52 | 52 |              echo "'index_creator', '" . $data['l10n_midcom']->get('creator') . "',"; | 
| @@ -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 | } |