diff --git a/htdocs/accountancy/customer/index.php b/htdocs/accountancy/customer/index.php index be03f372b0afefd128413468321a0af12ba2d33d..86e3ce9eb5d0ce7b44974323d1cb56ea4866691b 100644 --- a/htdocs/accountancy/customer/index.php +++ b/htdocs/accountancy/customer/index.php @@ -80,7 +80,7 @@ if ($action == 'validatehistory') { $sqlclean .= ' ON accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=' . $conf->global->CHARTOFACCOUNTS . ')'; $resql = $db->query($sqlclean); - // Now make the binding + // Now make the binding. Bind automatically only for product with a dedicated account that exists into chart of account, others need a manual bind if ($db->type == 'pgsql') { $sql1 = "UPDATE " . MAIN_DB_PREFIX . "facturedet"; $sql1 .= " SET fk_code_ventilation = accnt.rowid"; diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php index aa1c2742a0857efb1ee6c6cfc29a6df666b72a20..ec1065d65c3045b24464e6956131e2d48b4a3ef5 100644 --- a/htdocs/accountancy/customer/list.php +++ b/htdocs/accountancy/customer/list.php @@ -335,7 +335,7 @@ if ($result) { if ($objp->product_label) print '<br>'.$objp->product_label; print '</td>'; - print '<td class="tdoverflow">'; + print '<td class="tdoverflowonsmartphone">'; $text = dolGetFirstLineOfText(dol_string_nohtmltag($objp->description)); $trunclength = defined('ACCOUNTING_LENGTH_DESCRIPTION') ? ACCOUNTING_LENGTH_DESCRIPTION : 32; print $form->textwithtooltip(dol_trunc($text,$trunclength), $objp->description); diff --git a/htdocs/accountancy/supplier/index.php b/htdocs/accountancy/supplier/index.php index 5c60627ebb2d40c18bd55ee73ff0eb2232b30f33..5b96e38d37921802c0e35b48d3f837efebf965a3 100644 --- a/htdocs/accountancy/supplier/index.php +++ b/htdocs/accountancy/supplier/index.php @@ -77,7 +77,7 @@ if ($action == 'validatehistory') { $sqlclean .= ' ON accnt.fk_pcg_version = syst.pcg_version AND syst.rowid=' . $conf->global->CHARTOFACCOUNTS . ')'; $resql = $db->query($sqlclean); - // Now make the binding + // Now make the binding. Bind automatically only for product with a dedicated account that exists into chart of account, others need a manual bind if ($db->type == 'pgsql') { $sql1 = "UPDATE " . MAIN_DB_PREFIX . "facture_fourn_det"; $sql1 .= " SET fk_code_ventilation = accnt.rowid"; diff --git a/htdocs/accountancy/supplier/list.php b/htdocs/accountancy/supplier/list.php index e59fb91cf231fe2e53764fee93b389c351c9b4d3..daafd1d7b136199b3567819d1f0194f8f71002b4 100644 --- a/htdocs/accountancy/supplier/list.php +++ b/htdocs/accountancy/supplier/list.php @@ -334,7 +334,7 @@ if ($result) { // Ref Invoice print '<td>' . $facturefourn_static->getNomUrl(1) . '</td>'; - print '<td class="tdoverflow">'; + print '<td class="tdoverflowonsmartphone">'; print $objp->invoice_label; print '</td>'; diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index 1fe8f76efaac9f31608c800821dd23700c8a7ea8..69891ca5ad4c621a4b690c7b3ba0178490919c1e 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -2384,7 +2384,7 @@ if ($action == 'create') $var = true; - print $formfile->showdocuments('propal', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang); + print $formfile->showdocuments('propal', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang, '', $object); // Show links to link elements $linktoelem = $form->showLinkToObjectBlock($object, null, array('propal'));