testing new mining tax
This commit is contained in:
@@ -83,9 +83,9 @@ class TestController extends Controller
|
|||||||
//Pluck all the users from the database of ledgers to determine if they are mains or alts.
|
//Pluck all the users from the database of ledgers to determine if they are mains or alts.
|
||||||
$mains = Ledger::where([
|
$mains = Ledger::where([
|
||||||
'invoiced' => 'Yes',
|
'invoiced' => 'Yes',
|
||||||
])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck('character_id')->toArray();
|
])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck('character_id')->unique('character_id')->toArray();
|
||||||
|
|
||||||
|
|
||||||
dd($mains);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For each of the users, let's determine if there are any ledgers,
|
* For each of the users, let's determine if there are any ledgers,
|
||||||
|
|||||||
Reference in New Issue
Block a user