From 3175a3e63614d61c1a276a246b47dda763c6af3c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 21 May 2025 14:35:06 +1000 Subject: [PATCH] Decorating refund requests --- app/Http/Requests/Payment/RefundPaymentRequest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Requests/Payment/RefundPaymentRequest.php b/app/Http/Requests/Payment/RefundPaymentRequest.php index e26b3c1f84..d69d66ab04 100644 --- a/app/Http/Requests/Payment/RefundPaymentRequest.php +++ b/app/Http/Requests/Payment/RefundPaymentRequest.php @@ -53,6 +53,7 @@ class RefundPaymentRequest extends Request if (isset($input['invoices'])) { foreach ($input['invoices'] as $key => $invoice) { $input['invoices'][$key]['invoice_id'] = $this->decodePrimaryKey($invoice['invoice_id']); + $input['invoices'][$key]['date'] = now()->format('Y-m-d'); } }