From ca9612d8304fe5f783511e8b58d9509fda25878e Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Feb 2021 23:54:19 +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 d16314725..85d51abc0 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php @@ -68,6 +68,8 @@ class MiningTaxesInvoices extends Command $invoice = array(); $ores = array(); $totalPrice = 0.00; + dd($charId); + //Get the rows from the database for each character and the requirement of not been invoiced yet $rows = Ledger::where([ 'character_id' => $charId, @@ -78,8 +80,6 @@ class MiningTaxesInvoices extends Command //Taly up the item composition from each row and multiply by the quantity foreach($rows as $row) { - var_dump($row); - dd(); if(!isset($ores[$row->type_id])) { $ores[$row->type_id] = 0; }