mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 02:12:33 +01:00
Need a label for autorecord stripe payouts
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user