Hi Ap.Muthu,
Thanks a lot for your reply. Very kind.
I did exactly as you mentioned, just that I need the title to be COMMERCIAL INVOICE, but still not luck.
{
$rep->title = 'COMMERCIAL INVOICE';
$rep->filename = "Delivery" . $myrow['reference'] . ".pdf";
}
Just wondering if I need to place the rep110.php file in any other folders at all ? Right now it is in main /reporting/ folder only and not in any of the /company/#/reporting folders.
Do not edit the _('DELIVERY NOTE') as it is a translatable string that needs to be altered in the appropriate .po file which then needs to be compiled into a .mo file before being used.
If you are using only 1 language and/or prefer this string to be in English alone, hard code it using the following instead:
{ $rep->title = 'CUSTOMER INVOICE'; $rep->filename = "Delivery" . $myrow['reference'] . ".pdf"; }