1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Add activity note for auto-billed payments

This commit is contained in:
Hillel Coren 2017-04-13 09:22:56 +03:00
parent 19cef495ef
commit 0477f2e77d
2 changed files with 4 additions and 1 deletions

View File

@ -392,7 +392,9 @@ class ActivityListener
$event->payment,
ACTIVITY_TYPE_CREATE_PAYMENT,
$event->payment->amount * -1,
$event->payment->amount
$event->payment->amount,
false,
\App::runningInConsole() ? 'auto_billed' : ''
);
}

View File

@ -2474,6 +2474,7 @@ $LANG = array(
'archived_products' => 'Successfully archived :count products',
'recommend_on' => 'We recommend <b>enabling</b> this setting.',
'recommend_off' => 'We recommend <b>disabling</b> this setting.',
'notes_auto_billed' => 'Auto-billed',
);