Direct payments for invoices
Events can be moved to archive and moved back Fixed validation
This commit is contained in:
1 parent
e2fb616565
commit
0cf9602958
42 files changed
+851
-132
No files matched your search
@@ -90,7 +90,7 @@ class EventRepository {
|
||||
|
||||
$visibleEvents = [];
|
||||
/** @var Event $event */
|
||||
foreach (Event::where($criteria)->get() as $event) {
|
||||
foreach (Event::where($criteria)->orderBy('start_date')->get() as $event) {
|
||||
|
||||
if ($canSeeAll || !$accessCheck || $event->eventManagers()->where('user_id', $user->id)->exists()) {
|
||||
$visibleEvents[] = $event;
|
||||
|
||||
Reference in new issue
Block a user