76

(10 replies, posted in Reporting)

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.




apmuthu wrote:

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";
                }

77

(10 replies, posted in Reporting)

Gentlemen,

So after some more digging around, I found the post at below link:
https://frontaccounting.com/fawiki/index.php?n=Help.ReportsAndAnalysis

After reading a few more things on the page, I edited the below line in bold, in  rep110.php file, and changed DELIVERY NOTE to COMMERCIAL INVOICE.

But even after that when I print the 'Template Delivery' I don't get the title as 'Commercial Invoice', it still prints as DELIVERY NOTE.

                {
                    $rep->title = _('DELIVERY NOTE');
                    $rep->filename = "Delivery" . $myrow['reference'] . ".pdf";
                }


Can any one throw some light on what is going wrong for me  please ?

78

(10 replies, posted in Reporting)

Hello All,

After spending the weekend trying to understand FA and make it work, here I am already trying modify certain elements.

Sorry for trouble, but I couldn't find a post which had details about changing the name of the report.

In my case, I chose FA primarily because I am able to print a 'delivery note' which contains prices, as I need to use this 'delivery note' as a 'commercial invoice' to be included in export paperwork.

Now, where as most of the famous packages wouldn't be able to handle this feature, FA has this option where you can have 'packaging slip' and 'delivery note' both, latter includes prices too.

My question is, there there a way, I can just change the name 'Delivery Note' to 'Commercial Invoice' in the pdf which gets generated ?

Not sure how easy this would be, but I hope it is a static value, which can be change in order for it to read 'Commercial Invoice' once pdf is generated.

Thanks a lot in advance.

Regards,
GJ