Decreased the number of recent orders shown on the organiser dashboard (closes #95)

This commit is contained in:
Dave Earley 2016-05-12 00:18:03 +01:00
parent d1b85ece61
commit 95af1f79e2
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@
<h4 style="margin-bottom: 25px;margin-top: 20px;">Recent Orders</h4>
@if($organiser->orders->count())
<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">
<h6 class="ellipsis">
<a href="{{ route('showEventDashboard', ['event_id' => $order->event->id]) }}">