mining taxes invoices
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user