private function selectTemplate($input) { Session::flash('vouchers', $input['vouchers']); $tpls = VoucherTemplate::lists('name', 'id'); return View::make('admin.vouchers.selectTemplate')->with('templates', $tpls); }
public function postDeleteVoucherTemplate($id) { $this->flash(VoucherTemplate::destroy($id)); return Redirect::route(self::VoucherHome); }