mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
API changes for mobile app
This commit is contained in:
parent
2a621cfbb9
commit
212451239f
@ -160,6 +160,10 @@ class PaymentApiController extends BaseAPIController
|
||||
$data['public_id'] = $publicId;
|
||||
$payment = $this->paymentRepo->save($data, $request->entity());
|
||||
|
||||
if (Input::get('email_receipt')) {
|
||||
$this->contactMailer->sendPaymentConfirmation($payment);
|
||||
}
|
||||
|
||||
return $this->itemResponse($payment);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user