Completed

Dolibarr PDF coding -- 2

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

PHP coding required to rouget PDF in Dolibarr Modules.

1. Attributes for extrafields have been completed but on print the PDF shows fields from extrafields table (rowid from s_shipping table) and not the actual data.

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);

$sline->fetch($object->lines[$i]->shipping);

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:

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

or

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

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

See more: please contact require information quote, core root lebanon, coding gaussian matlab pdf, coding generate html pdf, please enable core design scriptegrator plugin, create pdf html coding, html coding pdf attached file, j2me coding pdf, pdf files edit save excel asp coding examples, dolibarr pdf, create dolibarr pdf, dolibarr pdf invoice, looking to get a web banner designed immediately for my websites landing page please see the attached document to fully understa, tbulit 3 features in core php website budget is 60 fixed read description, tbulit 3 features in core php website budget is 60$ fixed read description, this job requires entering in 1200 peoples contact information from a pdf directory into an excel sheet (name phone number email, this job requires entering in 1200 peoples contact information from a pdf directory into an excel sheet name phone number email , Hello. I would like you to make two logos for a company. Please open the attached document to view the logo instructions., To build a website for IT consultancy (please check the attached document).

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

Project ID: #19020747

Awarded to:

kipdev13

Nice to meet you. I've read the project description and can develop definitely. I'll provide you with the highly skilled & professional HTML/CSS, PHP/WordPress/CodeIgniter, JavaScript, MySQL, front & back-end web dev More

£100 GBP in 3 days
(97 Reviews)
6.6

8 freelancers are bidding on average £155 for this job

liangjongai

Hello! I'm interesting your project very well and full time developer. I have great skill in design and php. My price and period is negotiable. Employee’s satisfy is my happiness ! Let's go ahead with me ! My More

£150 GBP in 3 days
(332 Reviews)
7.9
mascotindia123

Hello friend, I have read your project detail , yes i have experienced in Dolibarr, Myself having has 10 + years experience of web site development. Expert in Custom programming in php / Mysql / Codeigniter/ Larav More

£170 GBP in 4 days
(255 Reviews)
7.5
liveexperts123

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the More

£150 GBP in 3 days
(48 Reviews)
6.9
AdhamSoft

__undefined__ [login to view URL] This link is a system for Multi Vendor It is a great system you can use You can check that link to see what I have I can show more samples if yo More

£220 GBP in 3 days
(51 Reviews)
6.0
kasuminch

Hi, Dear. Your posting is very interesting for me. I'm a talent web developer with PHP, HTML5, MySQL, JQuery and several frameworks like spring framework, Laravel etc. And I have a enough experience in web design an More

£150 GBP in 3 days
(5 Reviews)
3.1
KeyDevs

Hello Sir! Let’s get to the point. I came to know that you need a wordpress website with an awesome front end design and 100% secure background calculation. According to your description, you need the job done very More

£150 GBP in 3 days
(0 Reviews)
0.0
£150 GBP in 3 days
(0 Reviews)
0.0