testing new mining tax

This commit is contained in:
2021-05-25 01:21:59 +09:00
parent a59d9bf6a9
commit 7c9b0caded

View File

@@ -83,7 +83,7 @@ class TestController extends Controller
//Pluck all the users from the database of ledgers to determine if they are mains or alts.
$mains = Ledger::where([
'invoiced' => 'Yes',
])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck(['character_id'])->get('character_id');
])->where('last_updated', '>', Carbon::now()->subMonths(3))->pluck('character_id')->toArray();
dd($mains);