Update company.lib.php
This commit is contained in:
parent
453ae05030
commit
6d117a501a
@ -223,7 +223,7 @@ function societe_prepare_head(Societe $object)
|
|||||||
else {
|
else {
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
$key
|
|
||||||
//if (! empty($conf->stripe->enabled) && $nbBankAccount > 0) $nbBankAccount = '...'; // No way to know exact number
|
//if (! empty($conf->stripe->enabled) && $nbBankAccount > 0) $nbBankAccount = '...'; // No way to know exact number
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT .'/societe/paymentmodes.php?socid='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT .'/societe/paymentmodes.php?socid='.$object->id;
|
||||||
@ -243,7 +243,7 @@ $key
|
|||||||
$sql.= " FROM ".MAIN_DB_PREFIX."societe_account as n";
|
$sql.= " FROM ".MAIN_DB_PREFIX."societe_account as n";
|
||||||
$sql.= " WHERE fk_soc = ".$object->id.' AND fk_website > 0';
|
$sql.= " WHERE fk_soc = ".$object->id.' AND fk_website > 0';
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)$key
|
if ($resql)
|
||||||
{
|
{
|
||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user