mining taxes invoices

This commit is contained in:
2021-02-25 21:56:34 +09:00
parent fdf6c6a54f
commit b4ab55fc89

View File

@@ -77,6 +77,9 @@ class MiningTaxesInvoices extends Command
//Taly up the item composition from each row and multiply by the quantity
foreach($rows as $row) {
if(!isset($ores[$row->type_id])) {
$ores[$row->type_id] = 0;
}
$ores[$row->type_id] = $ores[$row->type_id] + $row->quantity;
}