- Add function to calculate vault balances

- Modify split function to return a single user
This commit is contained in:
Keith Solomon
2022-12-23 09:34:38 -06:00
parent 71d04d660c
commit 2b77e5eafc
2 changed files with 17 additions and 5 deletions
+3 -2
View File
@@ -26,10 +26,11 @@
<h2>Balances</h2>
<?php
$result = splitVault($csv,'0','Zarathos');
$usr1Vault = splitVault($csv, '0', 'Zarathos');
$usr2Vault = splitVault($csv, '0', 'Symos');
echo '<pre>';
print_r($result);
print_r($usr1Vault);
echo '</pre>';
?>
</div>