Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
4da73a8d82
@ -1277,9 +1277,10 @@ else
|
||||
print '<td colspan="3">';
|
||||
// multiprix
|
||||
if($conf->global->PRODUIT_MULTIPRICES)
|
||||
$form->select_produits('','idprod',1,$conf->product->limit_size,$object->thirdparty->price_level);
|
||||
$form->select_produits('','idprod',1,$conf->product->limit_size,$object->thirdparty->price_level);
|
||||
else
|
||||
$form->select_produits('','idprod',1,$conf->product->limit_size);
|
||||
$form->select_produits('','idprod',1,$conf->product->limit_size);
|
||||
print '<br>';
|
||||
print '<textarea name="desc" cols="70" rows="'.ROWS_2.'"></textarea>';
|
||||
print '</td>';
|
||||
|
||||
|
||||
@ -116,7 +116,9 @@ class box_bookmarks extends ModeleBoxes
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -141,7 +141,9 @@ class box_comptes extends ModeleBoxes
|
||||
}
|
||||
}
|
||||
else {
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -138,7 +138,9 @@ class box_contracts extends ModeleBoxes
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@ -139,7 +139,9 @@ class box_factures_fourn extends ModeleBoxes
|
||||
if ($num==0) $this->info_box_contents[$i][0] = array('td' => 'align="center"','text'=>$langs->trans("NoModifiedSupplierBills"));
|
||||
}
|
||||
else {
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -114,7 +114,9 @@ class box_fournisseurs extends ModeleBoxes
|
||||
if ($num==0) $this->info_box_contents[$i][0] = array('td' => 'align="center"','text'=>$langs->trans("NoRecordedSuppliers"));
|
||||
}
|
||||
else {
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -92,7 +92,9 @@ class box_osc_clients extends ModeleBoxes
|
||||
}
|
||||
}
|
||||
else {
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@ -134,7 +134,9 @@ class box_propales extends ModeleBoxes
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@ -134,7 +134,9 @@ class box_services_expired extends ModeleBoxes
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -129,7 +129,9 @@ class box_supplier_orders extends ModeleBoxes
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_print_error($db);
|
||||
$this->info_box_contents[0][0] = array( 'td' => 'align="left"',
|
||||
'maxlength'=>500,
|
||||
'text' => ($db->error().' sql='.$sql));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user