1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Company Ledger updates

This commit is contained in:
David Bomba 2019-10-02 11:16:51 +10:00
parent a57de08178
commit 833f986b43
3 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,7 @@
namespace App\Listeners\Invoice;
use App\Models\Invoice;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;

View File

@ -146,7 +146,7 @@ class PayPalExpressPaymentDriver extends BasePaymentDriver
}
protected function paymentDetails($input)
protected function paymentDetails($input) :array
{
$data = parent::paymentDetails($input);

View File

@ -230,7 +230,7 @@ class StripePaymentDriver extends BasePaymentDriver
$data['intent'] = $this->createPaymentIntent($payment_intent_data);
$data['gateway'] = $this;
return view($this->viewForType($data['payment_method_id']), $data);
@ -362,7 +362,6 @@ class StripePaymentDriver extends BasePaymentDriver
event(new PaymentWasCreated($payment));
return redirect()->route('client.payments.show', ['payment' => $this->encodePrimaryKey($payment->id)]);
}
@ -383,7 +382,7 @@ class StripePaymentDriver extends BasePaymentDriver
}
public function createPayment($data)
public function createPayment($data) :Payment
{
$payment = parent::createPayment($data);