Correction oubli

This commit is contained in:
Jean-Christophe Engel 2024-01-12 11:50:04 +01:00
parent c9300fe943
commit b5dc9d0efa
4 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ $form->runIf(f('select_cotis') && !$form->hasErrors(),
}, 'add_cotis_1');
$form->runIf(f('add_cotis') && !$form->hasErrors(),
function () use ($radio, $fields, $facture)
function () use ($radio, $fields, $facture, $form)
{
$radio['type'] = f('cotisation');
try

View File

@ -17,7 +17,7 @@ if (!$c)
}
$form->runIf(f('save') && !$form->hasErrors(),
function () use ($client, $id)
function () use ($client, $id, $form)
{
try
{

View File

@ -7,7 +7,7 @@ require_once __DIR__ . '/_inc.php';
$session->requireAccess($session::SECTION_ACCOUNTING, $session::ACCESS_READ);
$form->runIf(f('add') && !$form->hasErrors(),
function () use ($client)
function () use ($client, $form)
{
try
{

View File

@ -18,7 +18,7 @@ if (!$client)
}
$form->runIf(f('delete') && !$form->hasErrors(),
function () use ($facture, $f)
function () use ($facture, $f, $form)
{
try {
$facture->delete($f->id);