public function postEditVoucherTemplate()
 {
     if (!Input::has('id')) {
         return Redirect::route(self::VoucherHome);
     }
     $input = Input::all();
     try {
         $tpl = VoucherTemplate::findOrFail($input['id']);
         $tpl->fill($input);
         if ($tpl->save()) {
             $this->notifySuccess("Voucher Template Updated.");
         } else {
             $this->notifyError("Voucher Template Updation Failed.");
         }
         return Redirect::route(self::VoucherHome);
     } catch (Illuminate\Database\Eloquent\ModelNotFoundException $e) {
         App::abort(404);
     }
 }