Add object declaration on paiment
This commit is contained in:
parent
845deb9a63
commit
d6da871381
@ -57,6 +57,14 @@ if ($user->societe_id > 0)
|
||||
$socid = $user->societe_id;
|
||||
}
|
||||
|
||||
$object=new Facture($db);
|
||||
|
||||
// Load object
|
||||
if ($facid > 0)
|
||||
{
|
||||
$ret=$object->fetch($id);
|
||||
}
|
||||
|
||||
// Initialize technical object to manage hooks of paiements. Note that conf->hooks_modules contains array array
|
||||
$hookmanager = new HookManager($db);
|
||||
$hookmanager->initHooks(array('paiementcard'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user