Update paymentmodes.php (#34044)
Fix multicompany signatures on sepamandate
This commit is contained in:
parent
549b712c47
commit
dfe997fa07
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
* Copyright (C) 2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2025 Josep Lluís Amador <joseplluis@lliuretic.cat>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -1762,6 +1763,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||
print '<td class="minwidth200 width200">';
|
||||
$useonlinesignature = 1;
|
||||
if ($useonlinesignature) {
|
||||
$rib->entity = $object->entity; //Assign $rib->entity necessary for a valid multicompany hash
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/lib/signature.lib.php';
|
||||
print showOnlineSignatureUrl($companybankaccount->element, (string) $rib->id, $rib, 'short');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue