@RequestParam("reason") String reason,
@RequestParam(value = "bonus", defaultValue = "0") int bonus,
HttpServletRequest request
) throws Exception {
if (bonus < 0 || bonus > 20) {
throw new BadParameterException("неправильный размер штрафа");
}
Template tmpl = Template.getTemplate(request);
if (!tmpl.isSessionAuthorized()) {