<?php
class ModuleInfo {
	
    const journal_entry             = 1 ;
    const import_rms                = 2 ;
    const import_rms_with_uc        = 3 ;
    const sir                       = 4 ;
    const journal_inquiry           = 10 ;
	const fx_revaluation            = 12 ;
	const account_allocation        = 14 ;
	const year_end_roll_up          = 16 ;
	const ap_payment                = 18 ;
	const sales_quotation           = 20 ;
	const sales_invoice             = 22 ;
	const credit_note               = 24 ;

	const currency_master           = 26 ;
	const currency_rate             = 28 ;
	const coa                       = 30 ;
	const ledger_setting            = 32 ;
	const rms_settting              = 33 ;
    const item_master               = 35 ;
    const work_list_template        = 37 ;
    const bank_information          = 39 ;
    const customer                  = 41 ;
    const prospect                  = 43 ;
    const supplier                  = 44 ;
    const sq_item_type              = 45 ;
    const uc_source                 = 47 ;
    const fixed_asset               = 48 ;

    const quick_reports             = 50 ;
    const memorized_report          = 51 ;
    const advanced_report           = 52 ;
    const report_designer           = 53 ;
    
    const setting                   = 55 ;
    const uc                        = 56 ;
    const ocr_template              = 57 ;

    const journal_workflow          = 60 ;
    const journal_approval_group    = 61 ;
    const journal_reson             = 62 ;
    const audit_log                 = 65 ;

    const purchase_order            = 66 ;
    const goods_receiving           = 67 ;
    
    const inter_company             = 70 ;

    public static function getModuleValue($module,$module_number){		
		return $module[$module_number] == 1;
	}

}


?>