2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Dorian Vabre
2021-04-09 16:55:54 +02:00
parent a58e0ac8ac
commit eef5b9514d

View File

@@ -263,6 +263,19 @@ if (empty($reshook) && $action == 'add') {
if (!$error) {
$db->commit();
$project = new Project($db);
$resultproject = $project->fetch($object->fk_project);
if ($resultproject < 0){
$error++;
$errmsg .= $project->error;
} else {
if (!empty($project->price_registration)){
// @todo traiter invoice et payment page
}
}
// invoice
//Header("Location: ".$urlback);
//exit;
} else {