tidying up use declarations and making new journal page for testing

This commit is contained in:
2018-12-13 23:04:13 -06:00
parent 95ae7d6587
commit b54c1cd420

View File

@@ -27,7 +27,7 @@ class MoonsAdminController extends Controller
$dateInit = Carbon::now(); $dateInit = Carbon::now();
$date = $dateInit->subDays(30); $date = $dateInit->subDays(30);
$journal = DB::select('SELECT amount, date, reason, description FROM PlayerDonationJournals WHERE corporation_id=9829766 AND date >= DATE_SUB(CURRENT_DATE, INTERVAL 1 MONTH)'); $journal = DB::select('SELECT amount, date, reason, description FROM PlayerDonationJournals WHERE corporation_id=9829766 AND created_at >= DATE_SUB(CURRENT_DATE, INTERVAL 1 MONTH)');
return view('moons.moonjournal')->with('journal', $journal); return view('moons.moonjournal')->with('journal', $journal);
} }