Dolibarr PDF coding

** Please do not quote unless you have Dolibarr experience **

PHP coding required to rouget PDF in Dolibarr Modules.

1. Attributes for extrafields have been done but PDF print is showing numeric fields from expedition extrafields table and not the actual data fields from table2. In total approximately 10 fields - mostly copy paste and rename "$".

2. Third party contacts are currently done as one block ($carac_client) but I need breaking down by address, city, country, email and phone data.

3. Product line to include 2 more fields from product table fk_country and customcode.

Coding used for Point 1.

global $db;

$sline = new Expedition($db);


require_once DOL_DOCUMENT_ROOT . '/core/class/[login to view URL]';

$extrafields = new ExtraFields($this->db);

$extralabels = $extrafields->fetch_name_optionals_label('shipping');

$sline->fetch_optionals($sline->id, $extralabels);

global $db;

$shipping = array();

$q = "SELECT * FROM `" . MAIN_DB_PREFIX . "s_shipping`";

$res = $db->query($q);

while ($obj = $db->fetch_object($res)) {

$shipping[$obj->rowid] = $obj->label;


$ship = $sline->array_options["options_shipping"];

if (is_null($ship)){

$ship = 0;


Then in print pdf: Shows blank

$pdf->MultiCell(15, 2, $ship , 0, 'L');

if use:

$pdf->MultiCell(100, 3, $object->array_options['options_shipping'], '', 'L'); // shows data from expedition_extrafields

Skills: HTML, Javascript, MySQL, PHP, Software Architecture

See more: dolibarr rental module, module dolibarr, php to pdf, dolibarr edit invoice template, coding table, coding table tablelesss, pdf column table excel, create pdf mysql table, dropdownlist include address city province aspnet, user table database website address zip, store pdf mysql table, need 2009 address city usa, coding table creation, fpdf create pdf mysql table, coding table project, pdf word table, net load pdf sql table binary, pdf css table, data mining names address city state zip, export pdf data table vb net

About the Employer:
( 2 reviews ) Sheffield, United Kingdom

Project ID: #18990012

6 freelancers are bidding on average £203 for this job


We have Dolibarr experience .we could do [login to view URL] are the one who could do this work. plz share every [login to view URL] want to discuss with you... plz do respond.

£210 GBP in 4 days
(185 Reviews)

Hi - I would like to know the details of what is done and what isn't working. Because if the objects are populated with data then printing it in pdf should be the same as printing the other values. If the object it More

£277 GBP in 1 day
(14 Reviews)

I can do in few hours

£110 GBP in 1 day
(20 Reviews)

HI, I have excellent experience in PHP and related web technologies. I have worked in Infosys a top IT services company for more than 10 years and now i have started on my own. As part of my infosys tenure i have More

£400 GBP in 5 days
(2 Reviews)

développement de plate-forme dolibarr configuration selon besoin client PHP coding required to rouget PDF. 1. Attributes have been done but PDF print is showing numeric fields from table1 and not the actual data More

£18 GBP in 10 days
(0 Reviews)

Hello, Your project interests me. I run a SS2L a company specialized in free software: IDETIC ss2L I am based in Paris, France Dolibarr is one of the solutions that I propose I have a computer scientist who knows More

£200 GBP in 10 days
(0 Reviews)