/** * Display a listing of timecards * * @return Response */ public function index() { if (!Sentry::getUser()) { return Redirect::route('sessions.create'); } $timecards = Timecard::all(); return View::make('timecards.index', compact('timecards')); }
/** * Display a listing of finances * * @return Response */ public function index() { if (!Sentry::getUser()) { return Redirect::route('sessions.create'); } $timecards = Timecard::all(); $quotes = Quote::all(); $invoices = Invoice::all(); return View::make('finances.index', compact('timecards', 'quotes', 'invoices')); }