From efc9a397f36a86fe400c70b30f44031aa5251c05 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 28 Jun 2024 12:47:41 +0200 Subject: [PATCH] Fix default for subscription --- app/Payment/SubscriptionController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Payment/SubscriptionController.php b/app/Payment/SubscriptionController.php index 153c9d3b..0d298aac 100644 --- a/app/Payment/SubscriptionController.php +++ b/app/Payment/SubscriptionController.php @@ -29,6 +29,8 @@ class SubscriptionController extends Controller 'fees' => Fee::pluck('name', 'id'), 'mode' => 'create', 'data' => [ + 'name' => '', + 'fee_id' => null, 'children' => [], ], 'meta' => SubscriptionResource::meta(),