Skip to content

Commit

Permalink
Update stats
Browse files Browse the repository at this point in the history
- Update rough incoming/outgoings
- Remove active users as this isn't tracked
  • Loading branch information
rjackson committed Apr 14, 2024
1 parent a40e68f commit 58e7169
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
8 changes: 4 additions & 4 deletions app/Http/Controllers/StatsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ public function index()
* MANUAL HARDCODED VALUES HERE
*/

$otherIncome = 0;
$electric = 280;
$rent = 1940;
$otherOutgoings = 200;
$otherIncome = 500;
$electric = 1000; // roughly as of Feb/Apr 2023. Need to see how this grows/shrinks through the year
$rent = 2344;
$otherOutgoings = 500;
$recommendedPayment = 25;
// END OF HARDCODED VALUES

Expand Down
22 changes: 1 addition & 21 deletions resources/views/stats/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</tr>
<tr>
<td></td>
<td>Other income</td>
<td>Other income (snackspace runs, consumables etc)</td>
<td{{ $otherIncome }} Ⓜ️</td>
</tr>
<tr>
Expand Down Expand Up @@ -131,26 +131,6 @@

</div>
</div>
<div class="col-sm-12 col-md-6 col-xl-4">
<div class="well">
<h3 class="text-center">Active Users</h3>

<h4 class="text-center">Last 30 days</h4>
<p class="text-center">
<span class="key-figure">{{ $numActiveUsers }}</span>
</p>

<h4 class="text-center">Last 90 days</h4>
<p class="text-center">
<span class="key-figure">{{ $numActiveUsersQuarter }}</span>
</p>

<p class="text-center">
⚠️Keypad entries only. <br/>This is how many members have scanned into the space.
</p>

</div>
</div>
</div>
<script>
Expand Down

0 comments on commit 58e7169

Please sign in to comment.