testing new mining tax

This commit is contained in:
2021-05-25 01:19:54 +09:00
parent 657b96dadf
commit a59d9bf6a9

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'])->get('character_id');
dd($mains);