Merge pull request #24296 from atm-gauthier/fix_action_delete_fac_rec

FIX : action delete card fac rec
This commit is contained in:
Laurent Destailleur 2023-03-22 15:25:32 +01:00 committed by GitHub
commit d094f44186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1181,7 +1181,7 @@ if ($action == 'create') {
}
// Confirm delete of repeatable invoice
if ($action == 'ask_deleteinvoice') {
if ($action == 'delete') {
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('DeleteRepeatableInvoice'), $langs->trans('ConfirmDeleteRepeatableInvoice'), 'confirm_deleteinvoice', '', 'no', 1);
}