Basic implementation of payment methods
This commit is contained in:
1 parent
6c9281516e
commit
ab3d526217
13 files changed
+34
-15
No files matched your search
@@ -63,7 +63,7 @@ class CreateEventCommand {
|
||||
foreach (AvailablePaymentMethod::where('active', true)->get() as $availablePaymentMethod) {
|
||||
EventPaymentMethods::create([
|
||||
'event_id' => $event->id,
|
||||
'available_payment_method_id' => $availablePaymentMethod->id,
|
||||
'slug' => $availablePaymentMethod->slug,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user