From e3f1e140e08b406d20ed4e1e0b976cd39b1427ae Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Feb 2021 23:00:35 +0900 Subject: [PATCH] mining taxes invoices --- app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php index 6392aa806..129382ce4 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php @@ -61,7 +61,7 @@ class MiningTaxesInvoices extends Command //Get the characters for each non-invoiced ledger entry $charIds = Ledger::distinct('character_id')->pluck('character_id'); - + dd($charIds); //Foreach character tally up the mining ledger. foreach($charIds as $charId) { //Declare some variables we need for each iteration of the loop @@ -75,7 +75,7 @@ class MiningTaxesInvoices extends Command 'invoiced' => 'No', ])->get(); - dd($rows); + //Taly up the item composition from each row and multiply by the quantity foreach($rows as $row) {