Fix default for subscription

This commit is contained in:
philipp lang 2024-06-28 12:47:41 +02:00
parent ab06c7de5d
commit efc9a397f3
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ class SubscriptionController extends Controller
'fees' => Fee::pluck('name', 'id'), 'fees' => Fee::pluck('name', 'id'),
'mode' => 'create', 'mode' => 'create',
'data' => [ 'data' => [
'name' => '',
'fee_id' => null,
'children' => [], 'children' => [],
], ],
'meta' => SubscriptionResource::meta(), 'meta' => SubscriptionResource::meta(),