Code improvements
This commit is contained in:
@@ -63,7 +63,7 @@ class ReleaseRefundCommand
|
||||
'retained_amount' => $this->request->retainedAmount(),
|
||||
'retention_reason' => $this->retentionReason(),
|
||||
'retention_reason_note' => $this->retentionReasonNote(),
|
||||
'released_by' => auth()->id(),
|
||||
'released_by' => currentUser()?->id,
|
||||
'released_at' => now(),
|
||||
]);
|
||||
|
||||
@@ -101,7 +101,7 @@ class ReleaseRefundCommand
|
||||
accountIban: (string) $this->request->accountIban,
|
||||
// Niemand kreuzt hier eine Erklärung an; wer die Angaben aufgenommen hat, hält `captured_by`
|
||||
// fest, und der Beleg weist es aus.
|
||||
capturedBy: auth()->id(),
|
||||
capturedBy: currentUser()?->id,
|
||||
))->execute();
|
||||
|
||||
if (!$acceptResponse->success) {
|
||||
|
||||
Reference in New Issue
Block a user