Skip to content
Snippets Groups Projects
Commit d6da8713 authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Add object declaration on paiment

parent 845deb9a
No related branches found
No related tags found
No related merge requests found
......@@ -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'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment