mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 05:24:34 -04:00
Fix PaymentWasCreated event second parameter (#3175)
This commit is contained in:
parent
e406020ee5
commit
1f7c661929
@ -164,7 +164,7 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
|
||||
|
||||
$this->attachInvoices($payment, $request->input('hashed_ids'));
|
||||
|
||||
event(new PaymentWasCreated($payment));
|
||||
event(new PaymentWasCreated($payment, $payment->company));
|
||||
|
||||
UpdateInvoicePayment::dispatchNow($payment, $payment->company);
|
||||
|
||||
|
@ -180,7 +180,7 @@ class RandomDataSeeder extends Seeder
|
||||
|
||||
$payment->invoices()->save($invoice);
|
||||
|
||||
event(new PaymentWasCreated($payment));
|
||||
event(new PaymentWasCreated($payment, $payment->company));
|
||||
|
||||
UpdateInvoicePayment::dispatchNow($payment, $payment->company);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user