Merge branch 'patch3' of https://github.com/fr69400/dolibarr into patch3
This commit is contained in:
commit
19fc862a7e
@ -173,7 +173,7 @@ if ($action == 'update') {
|
|||||||
if (GETPOSTISSET('PDF_BOLD_PRODUCT_LABEL')) {
|
if (GETPOSTISSET('PDF_BOLD_PRODUCT_LABEL')) {
|
||||||
dolibarr_set_const($db, "PDF_BOLD_PRODUCT_LABEL", GETPOST('PDF_BOLD_PRODUCT_LABEL', 'alpha'), 'chaine', 0, '', $conf->entity);
|
dolibarr_set_const($db, "PDF_BOLD_PRODUCT_LABEL", GETPOST('PDF_BOLD_PRODUCT_LABEL', 'alpha'), 'chaine', 0, '', $conf->entity);
|
||||||
}
|
}
|
||||||
if (GETPOSTISSET('PDF_BOLD_PRODUCT_REF_AND_PERIOD')){
|
if (GETPOSTISSET('PDF_BOLD_PRODUCT_REF_AND_PERIOD')) {
|
||||||
dolibarr_set_const($db, "PDF_BOLD_PRODUCT_REF_AND_PERIOD", GETPOST('PDF_BOLD_PRODUCT_REF_AND_PERIOD', 'alpha'), 'chaine', 0, '', $conf->entity);
|
dolibarr_set_const($db, "PDF_BOLD_PRODUCT_REF_AND_PERIOD", GETPOST('PDF_BOLD_PRODUCT_REF_AND_PERIOD', 'alpha'), 'chaine', 0, '', $conf->entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1500,9 +1500,9 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
}
|
}
|
||||||
$ref_prodserv = '<b>'.$ref_prodserv.'</b>';
|
$ref_prodserv = '<b>'.$ref_prodserv.'</b>';
|
||||||
// $prefix_prodserv and $ref_prodser are not HTML var
|
// $prefix_prodserv and $ref_prodser are not HTML var
|
||||||
}
|
}
|
||||||
$libelleproduitservice = $prefix_prodserv.$ref_prodserv.$libelleproduitservice;
|
$libelleproduitservice = $prefix_prodserv.$ref_prodserv.$libelleproduitservice;
|
||||||
|
|
||||||
// Add an additional description for the category products
|
// Add an additional description for the category products
|
||||||
if (!empty($conf->global->CATEGORY_ADD_DESC_INTO_DOC) && $idprod && !empty($conf->categorie->enabled)) {
|
if (!empty($conf->global->CATEGORY_ADD_DESC_INTO_DOC) && $idprod && !empty($conf->categorie->enabled)) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user