mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 09:20:21 -05:00
fix: hourly user earnings display
The wrong variable was switched out in c531e4f0eb.
This commit is contained in:
@@ -259,16 +259,16 @@
|
||||
{{ \App\Helpers\StringHelper::timeElapsed($torrent->age) }}
|
||||
</td>
|
||||
<td class="user-earnings__hourly">
|
||||
{{ preg_replace('/(\.\d+?)0+$/', '$1', $bonEarning->multiplier) }}
|
||||
{{ number_format($torrent->hourly_earnings, 4) }}
|
||||
</td>
|
||||
<td class="user-earnings__daily" x-cloak x-show="isToggledOn">
|
||||
{{ preg_replace('/(\.\d+?)0+$/', '$1', $bonEarning->multiplier) * 24 }}
|
||||
{{ number_format($torrent->hourly_earnings * 24, 4) }}
|
||||
</td>
|
||||
<td class="user-earnings__weekly" x-cloak x-show="isToggledOn">
|
||||
{{ preg_replace('/(\.\d+?)0+$/', '$1', $bonEarning->multiplier) * 24 * 7 }}
|
||||
{{ number_format($torrent->hourly_earnings * 24 * 7, 4) }}
|
||||
</td>
|
||||
<td class="user-earnings__monthly" x-cloak x-show="isToggledOn">
|
||||
{{ preg_replace('/(\.\d+?)0+$/', '$1', $bonEarning->multiplier) * 24 * 30 }}
|
||||
{{ number_format($torrent->hourly_earnings * 24 * 30, 4) }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user