/*
 * MosP - Mind Open Source Project         http://www.mosp.jp/
 * Copyright (C) 1987-2009 MIND Co., Ltd.  http://www.e-mind.co.jp/
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package jp.mosp.payroll.common;

import jp.mosp.common.MosPMenuConst;

public class PayrollMenuConst extends MosPMenuConst {

	/*勤怠集計関連*/
	private static final String[] MENU_PAYROLL		= { "P1001", "給与計算"			};
	private static final String[] MENU_PAYROLL_MASTER	= { "P1002", "給与計算マスタ"	};
	private static final String[] MENU_PAYROLL_EXP   = { "P9003", "給与エクスポート"	};
	private static final String[] MENU_KINTAI_EXP   = { "S1200", "勤怠エクスポート"	};

	// 賞与追加分
	private static final String[] MENU_CALC_BONUS	= { "P2001", "賞与計算" };

	// 給与追加分
	private static final String[] MENU_REFER_SLIP = { "P8500", "給賞与明細"};
	
	// 年末調整追加分
	private static final String[] MENU_ADJUSTMENT = { "P3000", "年末調整"};

	// 社会保険追加分
//	private static final String[] MENU_INSURANCE = { "P4000", "社会保険"};	//社保メニュー有り
	private static final String[] MENU_INSURANCE = { "P4001", "社会保険"};      //社保メニュー無し

	/*申請関連*/
	private static final String[] MENU_APPLICATION 			= { "K1400", "各種申請"		};
	
	/*給与用コマンドの配列*/
	private static final String[][] CMD_PAYROLL_ARRAY = {
		MENU_ATTENDANCE_CALCULATE(),
		MENU_ATTENDANCE_CALCULATE_START(),
		MENU_ATTENDANCE_COMPILE(),
		MENU_COMPILE_AMENDMENT(),
		MENU_ATTENDANCE_EXPORT(),
		MENU_ATTENDANCE_CALCULATE_END(),
		MENU_YUKYU_MANAGEMENT(),
		MENU_KEISAN_INFORMATION(),		
		//MENU_EXPORT(),
		MENU_KINTAI_EXP,
		MENU_PAYROLL,
		MENU_CALC_BONUS,	/* 賞与計算 */
		MENU_PAYROLL_EXP,
		MENU_ADJUSTMENT,    /* 年末調整 */
		MENU_INSURANCE,     /* 社会保険 */
		MENU_PAYROLL_MASTER
	};

	/*従業員用コマンドの配列*/
	private static final String[][] CMD_EMPLOYEE_ARRAY = {
		MENU_ATTENDANCE(),
		MENU_SCHEDULE(),
		MENU_PAID_HOLIDAY(),		
		MENU_APPLICATION,
	//	MENU_MOSP_PASSWORD(),
		MENU_REFER_SLIP
	};

	/**
	 * 給与用コマンドの配列
	 * @return array
	 */
	public static String[][] getPayrollCmdArray() {
		return CMD_PAYROLL_ARRAY.clone();
	}

	/**
	 * 従業員用コマンドの配列
	 * @return array
	 */
	public static String[][] getEmployeeCmdArray() {
		return CMD_EMPLOYEE_ARRAY.clone();
	}
	
}
