Monday 27 February 2012

Joomla 2.5 Rentalot - add Unit ID to the finacial report page

Here's a quick core change. What I need to do was to add a column in the Finacial Report view in Rentalotplus. it's as easy as this

OPEN

administrator/components/com_rentalotplus/views/finacial/view.html.php

FIND

[code]<th class="title" nowrap="nowrap"><?php echo JText::_('COM_RENTALOTPLUS_FROM_DATE');?></th>[/code]

AND BEFORE IT ADD

[code]<th class="title" width="20"><?php echo JText::_('COM_RENTALOTPLUS_ID'); ?></th>[/code]

FIND

[code]echo "<tr class='row$k'>
<td>$row->date_from</td>[/code]

REPLACE WITH

[code]echo "<tr class='row$k'>
<td>$row->id</td>
<td>$row->date_from</td>[/code]

No comments: