public function showVouchersPage() { $voucher = new Voucher(); $vouchers = Voucher::orderBy('id', 'ASC')->where('is_active', '=', 1)->where('finishes_at', '>=', new DateTime('today'))->paginate(10); return View::make('frontoffice.vouchers')->with('vouchers', $vouchers)->with('voucher', $voucher); }