Update PaymentMethod.php

use $payment property value

_Originally posted by @turbo124 in https://github.com/invoiceninja/invoiceninja/pull/9704#discussion_r1693677928_


Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
Kendall Arneaud 2024-07-27 12:06:36 -04:00 committed by GitHub
parent dece823c54
commit 084b81e941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,7 +185,7 @@ class PaymentMethod implements MethodInterface
$this->rotessa->client->company,
);
return redirect()->route('client.payments.show', [ 'payment' => $this->rotessa->encodePrimaryKey($payment->id) ]);
return redirect()->route('client.payments.show', [ 'payment' => $payment->hashed_id ]);
}
/**