mining taxes invoices

This commit is contained in:
2021-02-25 23:00:35 +09:00
parent 84d38d3803
commit e3f1e140e0

View File

@@ -61,7 +61,7 @@ class MiningTaxesInvoices extends Command
//Get the characters for each non-invoiced ledger entry //Get the characters for each non-invoiced ledger entry
$charIds = Ledger::distinct('character_id')->pluck('character_id'); $charIds = Ledger::distinct('character_id')->pluck('character_id');
dd($charIds);
//Foreach character tally up the mining ledger. //Foreach character tally up the mining ledger.
foreach($charIds as $charId) { foreach($charIds as $charId) {
//Declare some variables we need for each iteration of the loop //Declare some variables we need for each iteration of the loop
@@ -75,7 +75,7 @@ class MiningTaxesInvoices extends Command
'invoiced' => 'No', 'invoiced' => 'No',
])->get(); ])->get();
dd($rows);
//Taly up the item composition from each row and multiply by the quantity //Taly up the item composition from each row and multiply by the quantity
foreach($rows as $row) { foreach($rows as $row) {