invoice info

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I need to add more information about store owner company (company number full address and something more) to the invoice.

any solutions how can I do that?

Thanks
12 years ago
What invoice do you mean: HTML or PDF one?
12 years ago
For PDF invoice:

Go to your NOP source code \ Libraries\Nop.BusinessLogic\Utils\PDFHelper.cs

add something like

sec.AddParagraph(localizationManager.GetLocaleResourceString("PDFInvoiceAdditional.Text", languageId));
sec.AddParagraph();

and rebuild in Visual Studio

then, when you run the store, go to localisation and creat a new resource string called

PDFInvoiceAdditional.Text
with the value
YOUR COMPANY ADDRESS WITH CONTACT NUMBERS ETC


that way, you can easily edit the text without touching "PDFHelper.cs" again
12 years ago
a.m. wrote:
What invoice do you mean: HTML or PDF one?


PDF one.
12 years ago
I add this two lines and solved the problem.

ordRow[rownum].AddParagraph(String.Format( localizationManager.GetLocaleResourceString("PDFInvoiceAdditional.CompanyAddress", languageId)));
            ordRow[rownum].AddParagraph(String.Format( localizationManager.GetLocaleResourceString("PDFInvoiceAdditional.CommpanyNumber", languageId)));
12 years ago
thanks for your answer in other topic... but i need to add a letter at invoice number, an my site is already on line..

how i can do it?

there is a file on ftp that i have to modify?

ps: i use nop 1.6
12 years ago
i solved modifing in localization   PDFInvoice.Order#

thanks all
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.