Decreased the number of recent orders shown on the organiser dashboard (closes #95)
This commit is contained in:
parent
d1b85ece61
commit
95af1f79e2
|
|
@ -104,7 +104,7 @@
|
||||||
<h4 style="margin-bottom: 25px;margin-top: 20px;">Recent Orders</h4>
|
<h4 style="margin-bottom: 25px;margin-top: 20px;">Recent Orders</h4>
|
||||||
@if($organiser->orders->count())
|
@if($organiser->orders->count())
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
@foreach($organiser->orders()->orderBy('created_at', 'desc')->take(10)->get() as $order)
|
@foreach($organiser->orders()->orderBy('created_at', 'desc')->take(5)->get() as $order)
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<h6 class="ellipsis">
|
<h6 class="ellipsis">
|
||||||
<a href="{{ route('showEventDashboard', ['event_id' => $order->event->id]) }}">
|
<a href="{{ route('showEventDashboard', ['event_id' => $order->event->id]) }}">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue