mining taxes invoices
This commit is contained in:
@@ -61,7 +61,7 @@ class MiningTaxesInvoices extends Command
|
|||||||
|
|
||||||
//Get the characters for each non-invoiced ledger entry
|
//Get the characters for each non-invoiced ledger entry
|
||||||
$charIds = Ledger::distinct('character_id')->pluck('character_id');
|
$charIds = Ledger::distinct('character_id')->pluck('character_id');
|
||||||
|
dd($charIds);
|
||||||
//Foreach character tally up the mining ledger.
|
//Foreach character tally up the mining ledger.
|
||||||
foreach($charIds as $charId) {
|
foreach($charIds as $charId) {
|
||||||
//Declare some variables we need for each iteration of the loop
|
//Declare some variables we need for each iteration of the loop
|
||||||
@@ -75,7 +75,7 @@ class MiningTaxesInvoices extends Command
|
|||||||
'invoiced' => 'No',
|
'invoiced' => 'No',
|
||||||
])->get();
|
])->get();
|
||||||
|
|
||||||
dd($rows);
|
|
||||||
|
|
||||||
//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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user