Topic: Sales Invoice Customization and Web Link remove from the Report

i feel interest in FA. please help me to Remove the Web Address link from the Report and remove the marked part of the sales invoice as marked red in the attached Image. please see the link..

http://chandpurcollege.edu.bd/sales%20invoice%20correction.JPG

http://chandpurcollege.edu.bd/web%20address%20remove%20in%20report.JPG

Waiting for your Valuable suggestion and help
Thanks

2 (edited by apmuthu 01/22/2015 09:42:14 am)

Re: Sales Invoice Customization and Web Link remove from the Report

For your second one, comment out line 322 in includes/reporting/pdf_reports.inc like:

//        $this->Text($companyCol, $this->host);

This will suppress it from all reports that do not use the Headers2 function that includes the balance sheet (rep706.php).
If you want to selectively do it, then wrap it with appropriate "if" statement on document type.

Your files have been attached for the forum to be independent of external sources.

Post's attachments

screenshots.zip 130.5 kb, 35 downloads since 2015-01-22 

You don't have the permssions to download the attachments of this post.

3 (edited by apmuthu 01/22/2015 11:21:35 am)

Re: Sales Invoice Customization and Web Link remove from the Report

Checkout the attachment if that is what you want. It is a very dirty hack of the reporting file inclusions.

Post's attachments

54c0dba6f3930.pdf 2.9 kb, 53 downloads since 2015-01-22 

You don't have the permssions to download the attachments of this post.

4 (edited by shamimonline 01/22/2015 03:45:40 pm)

Re: Sales Invoice Customization and Web Link remove from the Report

Dear Brother
thanks for your Suggestion.
I need the Invoice format as attachment made by you.
Please help me to solve the issue (sales invoice Header 2 remove)
thanks in advance

5 (edited by apmuthu 01/22/2015 04:08:01 pm)

Re: Sales Invoice Customization and Web Link remove from the Report

Attached is the header2.inc file that should be placed in the company/#/reporting/includes folder where # is your company number. This will make the condensed report only for the specific company and only for the invoice report whilst all other reports will not be affected.

If you have found this useful, consider donating to the project and help others in the forum as you gain experience.

Post's attachments

header2_no_mid_header_mod.zip 22.9 kb, 24 downloads since 2015-01-22 

You don't have the permssions to download the attachments of this post.

Re: Sales Invoice Customization and Web Link remove from the Report

I tried to place this file to :ccompany/#/reporting/includes folder, but I did not find "includes" in "reporting" folder,

Can you tell me detail?

Thank you very much.

Re: Sales Invoice Customization and Web Link remove from the Report

It is company folder and not ccompany (probably a typo). The missing includes folder must be created.

Re: Sales Invoice Customization and Web Link remove from the Report

Dear Bro
Thanks for your reply.
After placing the header2.inc in the referred link creating Includes folder, the sales invoice remain unchanged which you mentioned in the attachment.
please check the file.
thanks in advance.

Re: Sales Invoice Customization and Web Link remove from the Report

Please provide the complete path of the file including file name that you have placed. Please note that the includes folder starts with a lower case "i".
Are you using a windows or linux server?
What are the versions of your php/mysql?
The files and folders in the webroot including the current file must be readable by the webserver process. There is already a header2.inc in the reporting/includes folder that must not be touched. The header2.inc attached in the 5th post here should be placed in the same path but under your company folder like: company/#/reporting/includes/header2.inc

Re: Sales Invoice Customization and Web Link remove from the Report

i have placed the file in the following roots.
/public_html/azo/company/0/reporting/includes/header2.inc
using Linux Hosting server, PHP and SQL are updated version...
thanks

11 (edited by apmuthu 01/24/2015 06:33:42 am)

Re: Sales Invoice Customization and Web Link remove from the Report

Try the files in this attachment - place the rep107.php in the company/0/reporting folder and the header2.inc (unchanged from previous mod) in the includes folder under it.

Post's attachments

header2_no_mid_header_mod2.zip 27.4 kb, 19 downloads since 2015-01-24 

You don't have the permssions to download the attachments of this post.

Re: Sales Invoice Customization and Web Link remove from the Report

yes solve the issue.
I am placed the Files in the company/#/reporting/includes in FA root.
thanks

Re: Sales Invoice Customization and Web Link remove from the Report

Great!
If you put it into the company/0/reporting folder then it will apply only to Company 0.
If you you put it into the webroot's reporting folder then it will be for all companies.

14 (edited by apmuthu 02/10/2015 07:59:40 pm)

Re: Sales Invoice Customization and Web Link remove from the Report

Consequent on change in the header2.inc file in latest commit, the mod is also updated and attached here and updated in the wiki.

Post's attachments

header2_no_mid_header_mod3.zip 27.4 kb, 21 downloads since 2015-02-10 

You don't have the permssions to download the attachments of this post.