Add Item name to invoice layout

alberto
alberto
Offline
0
I will like to add the item name, and description to the invoice layout on the front end, so user knows what the invoice #33 is about

thanks
Responses (5)
  • Accepted Answer

    Wednesday, November 21 2012, 10:04 AM - #Permalink
    0
    but.. what if you have more than 1 item in the invoice? you would show the 1st one?

    IMPORTANT: we are moving this site to a new server. please, consider answering us directly at joomlafinances@gmail.com, because last entries in the forum (those made today and tomorrow) could be lost
    The reply is currently minimized Show
  • Accepted Answer

    alberto
    alberto
    Offline
    Wednesday, November 21 2012, 02:55 PM - #Permalink
    0
    Yes, I wont mind show only the 1rst one...
    is that possible?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 21 2012, 03:53 PM - #Permalink
    0
    well it's not possible out of the box.. but it could be done with a little bit of code customization...
    The reply is currently minimized Show
  • Accepted Answer

    alberto
    alberto
    Offline
    Tuesday, November 27 2012, 06:28 PM - #Permalink
    0
    Any hint into where to look to do this my self..
    THE_ITEM_NAME

    what files do I need to edit?
    thanks
    The reply is currently minimized Show
  • Accepted Answer

    alberto
    alberto
    Offline
    Tuesday, November 27 2012, 07:07 PM - #Permalink
    0
    Did manage to open the space and change the header, for the item_name but I am missing the code to "call" the item name..

     ?>
    <tr class="linefinances<?php echo $k; ?> lineinvoice" id="lineinvoice_<?php echo $i; ?>" >

    <td><?php echo JHTML::_('date', $this->items[$i]->invoice_date, JText::_('DATE_FORMAT_LC3')); ?></td>
    <td><?php echo $this->items[$i]->invoice_num; ?></td>
    <td><?php echo $this->items[$i]->to_name; ?></td>

    //Here to display item_name
    <td><?php echo $this->items[$i]->item_name; ?></td>



    <td align="right"><?php echo InvoicesHelper::format($this->items[$i]->subtotal, $this->items[$i]->currency_before, $this->items[$i]->currency_after); ?></td>
    <td align="right"><?php echo InvoicesHelper::format($this->items[$i]->total, $this->items[$i]->currency_before, $this->items[$i]->currency_after); ?></td>

    <td width="70" align="right">


    CAn somebody hint me on what to use there to call the name in the item description from the invoices_items table??

    thanks
    The reply is currently minimized Show
Your Reply