tidying up use declarations and making new journal page for testing

This commit is contained in:
2018-12-13 23:15:54 -06:00
parent 26b09dbe61
commit ce3493f595

View File

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