mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix send email to archived payment
This commit is contained in:
parent
2a98a74bb2
commit
274bda8fa7
@ -239,7 +239,7 @@ class PaymentController extends BaseController
|
||||
$ids = Input::get('public_id') ? Input::get('public_id') : Input::get('ids');
|
||||
|
||||
if ($action === 'email') {
|
||||
$payment = Payment::scope($ids)->first();
|
||||
$payment = Payment::scope($ids)->withArchived()->first();
|
||||
$this->contactMailer->sendPaymentConfirmation($payment);
|
||||
Session::flash('message', trans('texts.emailed_payment'));
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user