From 92ea143a92d21a26455f1006e01e18696d82c682 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 22 Mar 2021 00:41:04 +0900 Subject: [PATCH] testing --- .../Commands/MiningTaxes/MiningTaxesInvoicesNew.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php b/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php index c12ed3451..c2563a24b 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoicesNew.php @@ -101,16 +101,16 @@ class MiningTaxesInvoicesNew extends Command //Build a character Id list for the characters before processing the ledgers. $alts = UserAlt::where([ - 'main_id' => $mainId, + 'main_id' => 95366854, ])->get(); - dd($alts); - //Get the ledgers for the main character $rows = Ledger::where([ - 'character_id' => $mainId, + 'character_id' => 95366854, ])->get(); + dd($rows); + foreach($alts as $alt) { $altLedger = Ledger::where([ 'character_id' => $alt->character_id,