From 9bfaab8ffc1c24e2c0992815cf96d94145d10837 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 25 Feb 2021 23:50:09 +0900 Subject: [PATCH] mining taxes invoices --- app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php | 2 ++ app/Models/MiningTax/Ledger.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php index 3d3ae084d..d16314725 100644 --- a/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php +++ b/app/Console/Commands/MiningTaxes/MiningTaxesInvoices.php @@ -78,6 +78,8 @@ 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; } diff --git a/app/Models/MiningTax/Ledger.php b/app/Models/MiningTax/Ledger.php index efe913b23..a21c848b7 100644 --- a/app/Models/MiningTax/Ledger.php +++ b/app/Models/MiningTax/Ledger.php @@ -28,8 +28,6 @@ class Ledger extends Model 'amount', 'invoiced', 'invoice_id', - 'created_at', - 'updated_at', ]; public function getInvoice() {