phpBMS

Ticket #330 (closed enhancement: fixed)

Opened 3 years ago

Last modified 7 months ago

adonienianype

Reported by: sasquach Owned by: brieb
Priority: minor Milestone: 0.98
Component: phpbms Version: 0.96
Keywords: FPDI Cc:

Description

For your use and enjoyment here are the files for integrating the FPDI into the current system, with the ability to upload the PDF into the “files” database. Attached is the zip file with the necessary files. Please follow the below directions:

First backup your current systems database, this work best with a fresh install.

Copy the FPDF folder from the archive and copy over all files in your existing FPDF folder.

Copy the “files.sql” file into the main /install folder to replace the existing file.

Copy the “reports.sql” file into the /modules/bms/install folder to replace the existing file.

Copy the “adminsettings.php” file into the /modules/base/ folder to replace the existing file.

Copy the “adminsettings_include.php” file into the /modules/base/include/ folder to replace the existing file.

Copy the “pdfreport_class2.php” file into the main /report folder.

Copy the “invoice_pdf_invoice2.php” and “invoice_pdfinvoice2.php” files into the /modules/bms/report/ folder.

Once completed run the typical install, update your database with you backup data and your good to go.

Open an order and select “Invoice2” and you can now print with a PDF as a template.

To replace the template with your own page simply head to the configuration menu located under the System Link. Upload a single page PDF.

Attachments

fpdiUpload.zip Download (117.6 KB) - added by sasquach 3 years ago.
Zip file
fpdiUpload.patch Download (145.8 KB) - added by nate 3 years ago.
see nate's post.

Change History

Changed 3 years ago by sasquach

Zip file

Changed 3 years ago by nate

The .patch file that is uploaded is the same code that you've given in the .zip file. We have not fully reviewed the code yet, so this does not mean the patch has/will be accepted. I only made a .patch file because it makes it easier to see the differences in files and also easier to apply the files on a clean phpbms version.

This patch file is applicable to revision [514].

Changed 3 years ago by nate

see nate's post.

Changed 2 years ago by EvolutionSigns

Where do we get a sample pdf to customise?

Changed 2 years ago by brieb

  • status changed from new to closed
  • resolution set to fixed

FPDI interface has been integrated in [693]

Changed 7 months ago by oveseoptony

  • summary changed from FPDF/FPDI enhancement to adonienianype

Thanks For This Post, was added to my bookmarks.

Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.