mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX Count of Stripe payment mode must take test/live into account
This commit is contained in:
parent
0b45ceaf92
commit
bc19f72306
|
|
@ -208,6 +208,8 @@ function societe_prepare_head(Societe $object)
|
|||
$sql = "SELECT COUNT(n.rowid) as nb";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe_rib as n";
|
||||
$sql .= " WHERE fk_soc = ".$object->id;
|
||||
$sql .= " AND status = ".$servicestatus;
|
||||
|
||||
$resql = $db->query($sql);
|
||||
if ($resql)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user