1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.fp.document.authorization;
17
18 import java.util.Set;
19
20 import org.kuali.ole.sys.OLEConstants;
21 import org.kuali.ole.sys.document.AmountTotaling;
22 import org.kuali.ole.sys.document.FinancialSystemTransactionalDocument;
23 import org.kuali.ole.sys.document.authorization.FinancialSystemTransactionalDocumentPresentationControllerBase;
24 import org.kuali.rice.krad.document.Document;
25
26 public class AuxiliaryVoucherDocumentPresentationController extends FinancialSystemTransactionalDocumentPresentationControllerBase{
27
28 @Override
29 public Set<String> getDocumentActions(Document document) {
30
31 Set<String> documentActions = super.getDocumentActions(document);
32
33
34
35 documentActions.remove(OLEConstants.YEAR_END_ACCOUNTING_PERIOD_VIEW_DOCUMENT_ACTION);
36
37 return documentActions;
38 }
39 }