diff --git a/src/admin/views/wallets.ejs b/src/admin/views/wallets.ejs index 43deb1f..ea4ede3 100644 --- a/src/admin/views/wallets.ejs +++ b/src/admin/views/wallets.ejs @@ -1,4 +1,5 @@
Select a user to view wallets
<% } %> +| Coin | Wallets | Balance | USD Value |
|---|---|---|---|
| <%= coin.toUpperCase() %> | +<%= stats.walletCounts[coin] || 0 %> | +<%= Number(balance).toFixed(8).replace(/0+$/, '').replace(/\.$/, '.0') %> | +$<%= Number(stats.usdValues[coin] || 0).toFixed(2) %> | +
| Total | +<%= stats.totalWallets %> | ++ | $<%= Number(stats.totalUsd).toFixed(2) %> | +
| Rate | <%= stats.commissionRate %>% of total wallet balances |
| Total Balances | $<%= Number(stats.totalUsd).toFixed(2) %> |
| Full Commission | $<%= Number(stats.currentCommission).toFixed(2) %> |
| Last Paid | $<%= Number(stats.lastPaidAmount).toFixed(2) %> |
| Due Now | $<%= Number(stats.commissionDue).toFixed(2) %> |
Commission is <%= stats.commissionRate %>% of total wallet balances. Each payment records a snapshot — if the shop continues running and balances grow, the difference becomes the next payment due.
+ + + +<%= entry[1] %>| Coin | Wallets | Balance | USD Value |
|---|---|---|---|
| <%= coin.toUpperCase() %> | -<%= stats.walletCounts[coin] || 0 %> | -<%= Number(balance).toFixed(8).replace(/0+$/, '').replace(/\.$/, '.0') %> | -$<%= Number(stats.usdValues[coin] || 0).toFixed(2) %> | -
| Total | -<%= stats.totalWallets %> | -- | $<%= Number(stats.totalUsd).toFixed(2) %> | -
| Rate | <%= stats.commissionRate %>% of total wallet balances |
| Total Balances | $<%= Number(stats.totalUsd).toFixed(2) %> |
| Full Commission | $<%= Number(stats.currentCommission).toFixed(2) %> |
| Last Paid | $<%= Number(stats.lastPaidAmount).toFixed(2) %> |
| Due Now | $<%= Number(stats.commissionDue).toFixed(2) %> |
Commission is <%= stats.commissionRate %>% of total wallet balances. Each payment records a snapshot — if the shop continues running and balances grow, the difference becomes the next payment due.
- - - -<%= entry[1] %>