Need a label for autorecord stripe payouts

This commit is contained in:
Laurent Destailleur
2026-01-21 21:48:28 +01:00
parent 34a195c810
commit 669e2bd726

View File

@@ -250,7 +250,7 @@ if ($event->type == 'payout.created' && getDolGlobalString('STRIPE_AUTO_RECORD_P
$currency_code = getDolCurrency();
$dateo = dol_now();
$label = $event->data->object->description.' (autorecord by IPN - see Stripe setup)';
$label = $event->data->object->description.' '.getDolGlobalString('STRIPE_AUTO_RECORD_PAYOUT_LABEL', '- autorecord by IPN, see Stripe setup');
$amount = $stripe->convertAmount($event->data->object->amount, $currency_code, 1);
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';