001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.kfs.module.ar; 017 018 import org.kuali.rice.kns.authorization.AuthorizationConstants; 019 020 public class ArAuthorizationConstants extends AuthorizationConstants { 021 022 public static class CustomerInvoiceDocumentEditMode extends EditMode { 023 public static final String SHOW_RECEIVABLE_FAU = "showReceivableFAU"; 024 public static final String DISPLAY_PRINT_BUTTON = "displayPrintButton"; 025 } 026 027 public static class CashControlDocumentEditMode extends EditMode { 028 public static final String EDIT_DETAILS = "editDetails"; 029 public static final String EDIT_PAYMENT_MEDIUM = "editPaymentMedium"; 030 public static final String EDIT_REF_DOC_NBR = "editRefDocNbr"; 031 public static final String EDIT_PAYMENT_APP_DOC = "editPaymentAppDoc"; 032 public static final String EDIT_BANK_CODE = "editBankCode"; 033 public static final String SHOW_GENERATE_BUTTON = "showGenerateButton"; 034 public static final String SHOW_BANK_CODE = "showBankCode"; 035 } 036 037 public static class CustomerCreditMemoEditMode extends EditMode { 038 public static final String DISPLAY_INIT_TAB = "displayInitTab"; 039 public static final String DISPLAY_PRINT_BUTTON = "displayPrintButton"; 040 } 041 042 public static final String SALES_TAX_ENABLED = "salesTaxEnabled"; 043 044 045 }