updated moon controller forms

This commit is contained in:
2019-01-01 04:17:25 -06:00
parent d5a3732048
commit 033c97e967

View File

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