request.setAttribute("currentUnit", getUserView(request).getPerson().getEmployee() .getCurrentWorkingPlace());
request.setAttribute("currentUnit", getCurrentUnit(request));
    public ActionForward printReceipt(ActionMapping mapping, ActionForm actionForm,	    HttpServletRequest request, HttpServletResponse response) throws FenixFilterException,	    FenixServiceException {	final Receipt receipt = (Receipt) RenderUtils.getViewState("receipt").getMetaObject()		.getObject();	final SortedSet<Entry> sortedEntries = new TreeSet<Entry>(		Entry.COMPARATOR_BY_MOST_RECENT_WHEN_REGISTERED);	sortedEntries.addAll(receipt.getEntries());	request.setAttribute("receipt", receipt);	request.setAttribute("sortedEntries", sortedEntries);	request.setAttribute("currentUnit", getUserView(request).getPerson().getEmployee()		.getCurrentWorkingPlace());	try {	    ServiceUtils.executeService(getUserView(request), "CreateReceiptVersion", new Object[] {		    receipt, getUserView(request).getPerson().getEmployee() });	    return mapping.findForward("printReceipt");	} catch (InvalidArgumentsServiceException e) {	    addActionMessage(request, e.getMessage());	    return prepareShowReceipt(mapping, actionForm, request, response);	}    }