** 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
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 development services and complete the site in time.
Please contact with me.
Thank you very much.
£100 GBP en 3 jours
4,9 (123 commentaires)
6,9
6,9
6 freelances proposent en moyenne £157 GBP pour ce travail
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 Skills: Responsive Website design
PHP, CakePHP, Laravel, Codeigniter, Symphony, Wordpress HTML/CSS/JavaScript/jQuery/Bootstrap/AngularJS/Vuejs/SASS
MySQL/MSSQL/PostgreSQL/SQLite/Oracle
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/ Laravel/ Prestashop/ Drupal/ Jquery / Wordpress/ Joomla / OSC / Magento /OpenCart /Dolibarr/ Android / Mobile development / Responsive.
Ready to start the work immediately.
I am confident to handle your business projects with dedication and good quality.
Thanks and regards,
Harpreet Singh
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 project.
Thanks
.
.