mining taxes invoices
This commit is contained in:
@@ -87,7 +87,7 @@ class MiningTaxesInvoices extends Command
|
|||||||
|
|
||||||
//Add up the total price from the ledger rows
|
//Add up the total price from the ledger rows
|
||||||
foreach($rows as $row) {
|
foreach($rows as $row) {
|
||||||
$totalPrice = $totalPrice + $row->price;
|
$totalPrice = $totalPrice + $row->amount;
|
||||||
printf("Current Total: " . $totalPrice . "\r\n");
|
printf("Current Total: " . $totalPrice . "\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user