Performance improvement PayoutPerUserDetails, using cached Quota::getPayoutList

This commit is contained in:
Torsten 2018-02-04 08:20:40 +01:00
parent 52aacdc76f
commit 45259cbd4a
3 changed files with 127 additions and 28 deletions

View file

@ -149,13 +149,18 @@
<th>&nbsp;</th><!-- Spacer Column -->
<th style="height:140px;white-space: nowrap;">
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Aussch&uuml;ttung Tagessieg</span>
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Tagessieg</span>
</div>
</th>
@if($isFinalRound)
<th style="height:140px;white-space: nowrap;">
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Aussch.Platzierung</span>
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld Platzierung</span>
</div>
</th>
<th style="height:140px;white-space: nowrap;">
<div style="transform:translate(10px, 51px) rotate(270deg);width:30px;">
<span style="border-bottom: 1px solid #ccc; padding: 5px 10px;">Preisgeld gr&uuml;nes Trikot</span>
</div>
</th>
@endif
@ -186,6 +191,8 @@
<td class="table-bordered" align="center" >&nbsp;{{ $entry["payout"] }}&nbsp;{{ $entry["payout"]>0 ? '€': '' }}</td>
@if($isFinalRound)
<td class="table-bordered" align="center" >&nbsp;{{ $entry["ranking_payout"]>0 ? $entry["ranking_payout"].'€': '' }} &nbsp; </td>
<td class="table-bordered" align="center" >&nbsp;{{ $entry["gshirt_payout"]>0 ? $entry["gshirt_payout"].'€': '' }} &nbsp; </td>
@endif
</tr>
@endforeach