Performance improvement PayoutPerUserDetails, using cached Quota::getPayoutList
This commit is contained in:
parent
52aacdc76f
commit
45259cbd4a
3 changed files with 127 additions and 28 deletions
|
|
@ -149,13 +149,18 @@
|
|||
<th> </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ü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ünes Trikot</span>
|
||||
</div>
|
||||
</th>
|
||||
@endif
|
||||
|
|
@ -186,6 +191,8 @@
|
|||
<td class="table-bordered" align="center" > {{ $entry["payout"] }} {{ $entry["payout"]>0 ? '€': '' }}</td>
|
||||
@if($isFinalRound)
|
||||
<td class="table-bordered" align="center" > {{ $entry["ranking_payout"]>0 ? $entry["ranking_payout"].'€': '' }} </td>
|
||||
<td class="table-bordered" align="center" > {{ $entry["gshirt_payout"]>0 ? $entry["gshirt_payout"].'€': '' }} </td>
|
||||
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue