mining taxes invoices

This commit is contained in:
2021-02-25 23:50:09 +09:00
parent c5cd63114d
commit 9bfaab8ffc
2 changed files with 2 additions and 2 deletions

View File

@@ -78,6 +78,8 @@ class MiningTaxesInvoices extends Command
//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) {
var_dump($row);
dd();
if(!isset($ores[$row->type_id])) { if(!isset($ores[$row->type_id])) {
$ores[$row->type_id] = 0; $ores[$row->type_id] = 0;
} }

View File

@@ -28,8 +28,6 @@ class Ledger extends Model
'amount', 'amount',
'invoiced', 'invoiced',
'invoice_id', 'invoice_id',
'created_at',
'updated_at',
]; ];
public function getInvoice() { public function getInvoice() {