<?php

define("SE_MENU", "menu");
define("SE_USERID","userid") ;
define("SE_EMPID","employeeid") ;
define("SE_USERNAME","username") ;
define("SE_USERGROUP","usergroup") ;
define("SE_FULLNAME","fullname") ;
define("SE_USERKEY","userkey") ;

define("SE_PORT_FULLNAME","portal_fullname") ;
define("SE_PORT_ORGNAME", "portal_orgname") ;

define("SE_THEME","uitheme") ;
define("SE_PAGE","page") ;
define("SE_DB","db") ;
define("SE_DB_SUN","dbsun") ;
define("SE_DB_BU_SUN","dbbusun") ;
define("SE_DB_NOTIF","dbnotif") ;
define("SE_DB_RMS","dbrms") ;
define("SE_ORGID","orgid") ;
define("SE_ID","sessionid") ;
define("SE_INIT","initiated") ;
define("PORT_INIT","portal_initiated") ;
// define("MOB_INIT", "mobile_initiated");
define("SE_REMOTE_IP","remoteip") ;
define("SE_ORGNAME", "orgname") ;
define("SE_ORGCODE", "orgcode") ;

$path = $_SERVER['DOCUMENT_ROOT'] ;
if ($path != "/")
	$path = $path . "/" ;
define("PATH_ROOT",$path) ;

$path = __DIR__ ;
if ($path != "/") 
	$path = $path . "/" ;
define("PATH_CODE",$path) ;
define("PATH_TEMPLATES",PATH_CODE . "templates/");
define("PATH_VIEWS",PATH_CODE . "views/") ;
define("PATH_LIB",PATH_CODE . "lib/") ;
define("PATH_PDF",PATH_CODE . "tcpdf/") ;
define("PATH_CONTROLLERS",PATH_CODE . "controllers/") ;
define("PATH_MODELS", PATH_CODE . "models/") ;
define("PATH_UTILS", PATH_CODE . "util/") ;
define("PATH_EXCEL", PATH_CODE . "excel/") ;
define("PATH_TABLES", PATH_CODE . "tables/") ;
define("PATH_MESSAGE", PATH_CODE . "message/") ;
define("PATH_HOST", $_SERVER['HTTP_HOST']) ;
define("PATH_SCRIPT", PATH_CODE . "js/") ;
define("PATH_LOG",PATH_CODE . "../log/") ;
define("PATH_PICTURE", PATH_CODE . "../web/picture/") ;
define("PATH_GR", PATH_CODE . "../web/goodsreceiving_output/") ;
define("PATH_ACTIVITY_OUTPUT", PATH_CODE . "../web/activity_output/") ;
define("PATH_ACTIVITY_ADITIONAL_OUTPUT", PATH_CODE . "../web/activity_aditional_output/") ;
define("PATH_JOBCENTRE", PATH_CODE . "../web/jobcentre_output/") ;
define("PATH_JOBCENTRE_EXPORT", PATH_CODE . "../web/jobcentre_output/export/") ;
define("PATH_JOBASSIGN", PATH_CODE . "../web/jobassignment_output/") ;
define("PATH_TEMP_ASSIGN", PATH_CODE . "../web/jobassignment_temp_output/") ;
define("PATH_SERVICE", PATH_CODE . "../web/service_output/") ;
define("PATH_PO_OUTPUT", PATH_CODE . "../web/po_output/") ;
define("PATH_REQUEST_OUTPUT", PATH_CODE . "../web/request_output/") ;
define("PATH_CLAIM", PATH_CODE . "../web/claims/") ;
define("PATH_CLAIM_RELATIVE", "../web/claims/") ;
define("PATH_RESOURCE", PATH_CODE . "../web/resource/") ;
define("PATH_TEMP", PATH_CODE . "../web/temp/") ;
define("PATH_JOB_QUOT_EXPORT", PATH_CODE . "../portal/doc/") ;
define("PATH_MOBILE", "../mobile/index.pzx") ;
define("PATH_MOBILE_PDF", PATH_CODE . "../web/mobile_output/") ;
define("PATH_SALES_QUOTATION_OUTPUT", PATH_CODE . "../web/sales_quotation_output/") ;
define("PATH_SALES_QUOTATION_TEMPLATE_OUTPUT", PATH_CODE . "../web/sales_quotation_template_output/") ;
define("PATH_SALES_QUOTATION_EXPORT", PATH_CODE . "../web/sales_quotation_output/export/") ;
define("PATH_PROFORMA_INVOICE", PATH_CODE . "../doc/proforma_invoice/") ;
define("PATH_PROFORMA_INVOICE_EXPORT", PATH_CODE . "../doc/proforma_invoice/export/") ;

define("TAG_TITLE","{%=Title=%}");
define("TAG_CONTENT","{%=Content=%}") ;
define("TAG_HEADER","{%=Header=%}") ;
define("TAG_FOOTER","{%=Footer=%}") ;
define("TAG_BOTTOM","{%=Bottom=%}") ;
define("TAG_MENU_BAR","{%=MenuBar=%}") ;
define("TAG_THEME","{%=Theme=%}") ;
	
define("APP_NAME","Professional Service System") ;
define("APP_VER_MAJOR","3") ;
define("APP_VER_MINOR","0") ;
define("APP_VER_REV","0") ;
define("PRODUCT_CODE","11") ;	//
define("PRODUCT_TYPE","02") ;	//01-desktop 02-web 03-mobile

define("FIELD_STATUS","status") ;
define("FIELD_MESG","mesg") ;
define("FIELD_DATA","data") ;
define("FIELD_TYPE","type") ;

define("REQ_ADD", "a") ;
define("REQ_CHANGE","c") ;
define("REQ_DELETE","d") ;
define("REQ_EXPORT","e") ;
define("REQ_GET","g") ;
define("REQ_SIGNIN","i")  ;
define("REQ_LIST","l") ;
define("REQ_NEW","n") ;
define("REQ_SIGNOUT","o") ;
define("REQ_QUERY","q") ;
define("REQ_REPORT","r") ;
define("REQ_UPDATE","u") ;
define("REQ_VIEW","v") ;
define("REQ_REMOVE","rm") ;
define("REQ_DELETE_LOGO","dl") ;
define("REQ_SORT","so") ;
define("REQ_REMINDER","rmd") ;


define("ATTENDANCE_STATUS_O", "Off Duty");
define("ATTENDANCE_STATUS_T", "Time Off");
define("ATTENDANCE_STATUS_N", "No Excuse");
define("ATTENDANCE_STATUS_P", "Present");

define("MAX_DATE","2999-12-31 23:59:59") ;
define("NULL_DATE","1969-12-31 23:59:59") ;

define("WEB_URL","http://localhost:83/portal/index.pzx");

class Command {
	const checkConnection                                   = "0" ;
	const signIn                                            = "1" ;
	const signOff                                           = "2" ;
	const authUser                                          = "3" ;
	const changePwd                                         = "4" ;
	const resetPwd                                          = "5" ;
	const PortalHome                                        = "500" ;
	const PortalActivity                                    = "501" ;
	const PortalActivityFilter                              = "502" ;
	const PortalActivityAddView                             = "503" ;
	const PortalLogout                                      = "504" ;
	const PortalActivityUpdateView                          = "505" ;
	const PortalActivityDelete                              = "506" ;
	const PortalActivitySelectCustomer                      = "507" ;
	const PortalActivitySelectDeduct                      	= "508" ;
	const PortalActivityPrintPreview                      	= "509" ;
	const PortalCustomer                                    = "510" ;
	const PortalCustomerFilter                              = "511" ;
	const PortalCustomerAddView                             = "512" ;
	const PortalCustomerUpdateView                          = "513" ;
	const PortalCustomerDelete                              = "514" ;
	const PortalProject                                     = "515" ;
	const PortalProjectFilter                               = "516" ;
	const PortalProjectAddView                              = "517" ;
	const PortalProjectUpdateView                           = "518" ;
	const PortalProjectDelete                               = "519" ;
	const PortalActivityToggleSigned                        = "520" ;
	const PortalProjectReportUtilization                    = "521" ;
	const PortalProjectReportUtilizationPrint               = "522" ;
	const PortalTaskSchedule               					= "523" ;
	const PortalCompleteTask               					= "524" ;
	const PortalCustomerContactDelete            			= "525" ;
	const PortalCustomerContactFilter           			= "526" ;
	const PortalCustomerProjectFilter           			= "527" ;
	
	const PortalTaskScheduleFilter                        	= "300" ;
	const PortalTaskScheduleDelete                        	= "301" ;
	const PortalTaskScheduleUpdateView                     	= "302" ;


	const ApiGetUser                               			= "600" ;
	const ApiGetInputHeader                               	= "601" ;
	const ApiGetItemDetail                               	= "602" ;
	
	const PortalPlan 										= "200" ;
	const PortalPlanFilter 									= "201" ;
	const PortalPlanAddView 								= "202" ;
	const PortalGeneratePlanSchedule 						= "203" ;
	const PortalPlanGetUser 								= "204" ;
	const PortalPlanUpdateView 								= "205" ;

	const PortalJobCentre 									= "400" ;
	const PortalJobCentreFilter 							= "401" ;
	// const PortalJobCentreAddView 							= "402" ;
	const PortalJobCentreUpdateView 						= "403" ;
	// const PortalJobCentreUploadDocView 						= "404" ;
	// const PortalJobCentreUploadDoc							= "405" ;
	// const PortalJobCentreSaveDoc							= "406" ;
	const PortalJobCentreDownloadDoc						= "407" ;
	const PortalJobCentreDeleteDoc							= "408" ;
	const PortalJobCentreShowUploadDocView					= "409" ;
	const PortalJobCentreShowUploadDoc						= "410" ;
	const PortalJobCentreShowSaveDoc						= "411" ;
	const PortalJobCentreCancelDoc							= "412" ;
	const PortalJobCentreDelete 							= "413" ;
	const PortalJobCentreReportUtilization                  = "414" ;
	const PortalJobCentreReportUtilizationPrintPreview      = "415" ;
	const PortalJobCentreShowAssignmentList			     	= "416" ;
	const PortalJobCentreReportJobPlanPrintPreview      	= "417" ;
	const PortalJobCentreServiceReportPrintPreview			= "418" ;

	const PortalJobSchedule 								= "700" ;
	const PortalJobScheduleFilter 							= "701" ;

	const PortalJobAssignment 								= "800" ;
	const PortalJobAssignmentFilter 						= "801" ;
	const PortalJobAssignmentAddView 						= "802" ;
	const PortalJobAssignmentUpdateView 					= "803" ;
	const PortalJobAssignmentDelete 						= "804" ;
	const PortalJobAssignmentAttachmentUploadView			= "805" ;
	const PortalJobAssignmentAttachmentUpload 				= "806" ;
	const PortalJobAssignmentDownloadFile 					= "807" ;
	const PortalJobAssignmentSaveDoc 						= "808" ;
	const PortalJobAssignmentDeleteDoc						= "809" ;

	const PortalCustomerLocation 							= "1000";
	const PortalCustomerLocationFilter 						= "1001";
	const PortalCustomerLocationAddView 					= "1002";
	const PortalCustomerLocationUpdateView 					= "1003";
	const PortalCustomerLocationDelete 						= "1004";

	//add siti 16/04/2020 - add report module
	const PortalReport            							= "900" ;
	const PortalReportJobStatusSummaryView	      			= "904" ;
	const PortalReportJobStatusSummaryFilter		  		= "905" ;
	const PortalReportJobStatusSummaryPrintPreview     		= "906" ;
	const PortalReportJobStatusSummaryExportExcel    		= "937" ;
	const PortalReportJobBillingStatusSummaryView		   	= "907" ;
	const PortalReportJobBillingStatusSummaryFilter		    = "908" ;
	const PortalReportJobBillingStatusSummaryPrintPreview   = "909" ;
	const PortalReportBillingListingView		           	= "910" ;
	const PortalReportBillingListingFilter		           	= "911" ;
	const PortalReportBillingListingPrintPreview           	= "912" ;
	const PortalReportPlanScheduleSummaryView		   		= "913" ;
	const PortalReportPlanScheduleSummaryFilter		       	= "914" ;
	const PortalReportPlanScheduleSummaryPrintPreview      	= "915" ;
	const PortalReportJobPlanVsActualView			        = "916" ;
	const PortalReportJobPlanVsActualFilter			        = "917" ;
	const PortalReportJobPlanVsActualPrintPreview           = "918" ;
	const PortalReportPlanVsActualSummaryView				= "919" ;
	const PortalReportPlanVsActualSummaryFilter				= "920" ;
	const PortalReportPlanVsActualSummaryPrintPreview 		= "921" ;
	const PortalReportPlanVsActualContractSummaryView		= "922" ;
	const PortalReportPlanVsActualContractSummaryFilter		= "923" ;
	const PortalReportPlanVsActualContractSummaryPrintPreview = "924" ;
	const PortalReportAgentStatusSummaryView	      		= "925" ;
	const PortalReportAgentStatusSummaryFilter		  		= "926" ;
	const PortalReportAgentStatusSummaryPrintPreview     	= "927" ;
	const PortalReportActualVsBillingView     				= "928" ;
	const PortalReportActualVsBillingFilter					= "929" ;
	const PortalReportActualVsBillingDetail					= "930" ;
	const PortalReportActualVsBillingPrintPreview			= "931" ;
	const PortalReportSalesQuotationSummaryView     		= "932" ;
	const PortalReportSalesQuotationSummaryFilter			= "933" ;
	const PortalReportSalesQuotationSummaryDetail			= "934" ;
	const PortalReportSalesQuotationSummaryPrintPreview		= "935" ;
	const PortalReportSalesQuotationSummaryExportExcel		= "936" ;
	//end siti 16/04/2020 - add report module

	const PortalQuotation 								= "1500" ;
	const PortalQuotationFilter 						= "1501" ;
	const PortalQuotationAddView 						= "1502" ;
	const PortalQuotationUpdateView 					= "1503" ;
	const PortalQuotationDelete 						= "1504" ;
	const PortalQuotationAttachmentUploadView			= "1505" ;
	const PortalQuotationAttachmentUpload 				= "1506" ;
	const PortalQuotationDownloadFile 					= "1507" ;
	const PortalQuotationSaveDoc 						= "1508" ;
	const PortalQuotationDeleteDoc						= "1509" ;
	
	const MobileHome		                                = "2500" ;
	const MobileMyJobView                                   = "2501" ;
	const MobileMyJobList                              		= "2502" ;
	const MobileAssignedJobList                           	= "2503" ;
	const MobileLogout                                      = "2504" ;
	const MobileJobDetailsView                          	= "2505" ;
	const MobileJobChecklistView                            = "2506" ;
	const MobileJobServiceReportView	                    = "2507" ;
	const MobileJobAttachView		                     	= "2508" ;
	const MobileAcceptJob			                      	= "2509" ;
	const MobileJobServiceStart		                     	= "2510" ;
	const MobileJobServiceEnd		                        = "2511" ;
	const MobileJobServiceSubmit                            = "2512" ;
	const MobileJobChecklistUpdate                          = "2513" ;
	const MobileJobChecklistUpdateRemark	                = "2514" ;
	const MobileJobAttachUpload                             = "2515" ;
	const MobileJobServicePicture                           = "2516" ;
	const MobileJobServicePictureRemove                     = "2517" ;
	const MobileJobServiceSaveAdditional                    = "2518" ;
	
	const PortalGoodsReceiving 								= "1700" ;
	const PortalGoodsReceivingFilter 						= "1701" ;
	const PortalGoodsReceivingAddView 						= "1702" ;
	const PortalGoodsReceivingUpdateView 					= "1703" ;
	const PortalGoodsReceivingDelete 						= "1704" ;
	const PortalGoodsReceivingAttachmentUploadView			= "1705" ;
	const PortalGoodsReceivingAttachmentUpload 				= "1706" ;
	const PortalGoodsReceivingDownloadFile 					= "1707" ;
	const PortalGoodsReceivingSaveDoc 						= "1708" ;
	const PortalGoodsReceivingDeleteDoc						= "1709" ;

	const PortalGoodsDelivery 								= "1800" ;
	const PortalGoodsDeliveryFilter 						= "1801" ;
	const PortalGoodsDeliveryAddView 						= "1802" ;
	const PortalGoodsDeliveryUpdateView 					= "1803" ;
	const PortalGoodsDeliveryDelete 						= "1804" ;
	const PortalGoodsDeliveryAttachmentUploadView			= "1805" ;
	const PortalGoodsDeliveryAttachmentUpload 				= "1806" ;
	const PortalGoodsDeliveryDownloadFile 					= "1807" ;
	const PortalGoodsDeliverySaveDoc 						= "1808" ;
	const PortalGoodsDeliveryDeleteDoc						= "1809" ;

	const PortalJobQuotation						= "1900" ; 
	const PortalJobQuotationFilter					= "1901" ;	
	const PortalJobQuotationAddView					= "1902" ;
	const PortalJobQuotationUpdateView				= "1903" ;
	const PortalJobQuotationReportPrintPreview  	= "1904" ;
	const PortalJobQuotationExport  				= "1905" ;
	
	const PortalReportApproval						= "6666" ; 

	const PortalMilestone				= "2300";
	const PortalMilestoneFilter			= "2301";
	const PortalMilestoneAddView		= "2302";
	const PortalMilestoneUpdateView		= "2303";

	const PortalSalesQuotation 								= "3000" ;
	const PortalSalesQuotationFilter 						= "3001" ;
	const PortalSalesQuotationAddView 						= "3002" ;
	const PortalSalesQuotationAdd 							= "3003" ;
	const PortalSalesQuotationPrintPreview 					= "3004" ;
	const PortalSalesQuotationUpdateView					= "3005" ;
	const PortalSalesQuotationUpdate						= "3006" ;
	const PortalSalesQuotationDelete						= "3007" ;
	const PortalSalesQuotationAddUploadDocView				= "3008" ;
	const PortalSalesQuotationAddUploadDoc					= "3009" ;
	const PortalSalesQuotationSaveDoc						= "3010" ;
	const PortalSalesQuotationDownloadDoc					= "3011" ;
	const PortalSalesQuotationDeleteDoc						= "3012" ;
	const PortalSalesQuotationAddUploadReviseDocView		= "3013" ;
	const PortalSalesQuotationCopy							= "3014" ;
	const PortalSalesQuotationReviseList					= "3015" ;
	const PortalSalesQuotationReviseUpdate					= "3016" ;
	const PortalSalesQuotationClosed						= "3017" ;
	const PortalSalesQuotationUpdateExpected				= "3022" ;
	
	const PortalSalesQuotationApprovalListView				= "3018" ;
	const PortalSalesQuotationApprovalList					= "3019" ;
	const PortalSalesQuotationApprovalView					= "3020" ;
	const PortalSalesQuotationApprovalConfirm				= "3021" ;

	const PortalGenerateInvoice								= "4001" ;
	const PortalUpdateInvoice								= "4002" ;
	const PortalInvoicePrintPreview							= "4003" ;
	const PortalRetrieveInvoice								= "4004" ;

	const PortalExportInvoiceFilter							= "5001" ;
	const PortalExportInvoiceExcel							= "5002" ;

	const PortalSalesTargetView								= "6000" ;
	const PortalSalesTargetAdd								= "6001" ;
	const PortalSalesTargetUpdate							= "6002" ;
	const PortalSalesTargetGet								= "6003" ;
} 

class AppName {
	const PS = true ;
}

class JobVenue {
	const OnSite = 1 ;
	const OffSite = 2 ;
}

class InvoiceType {
	const Percentage = "P" ;
	const Amount = "A" ;
}

class SalesQuotationSection {
	const DeliveryTerms = 1 ;
	const PaymentTerms = 2 ;
	const ConsultingTermsCondition = 3 ;
	const TravellingCondition = 4 ;
	const TrainingRoomCondition = 5 ;
	const GeneralTermsCondition = 6 ;
}

class SalesQuotationStatus {
	const Open = 0 ;
	const Issued = 1 ;
	const Revised = 2 ;
	const Accepted = 3 ;
	const Closed = 4 ;
	const Submitted = 5 ;
	const Approved = 6 ;
	const Rejected = 7 ;
}

class SalesQuotationReviseType {
	const Internal = 0 ;
	const Customer = 1 ;
}

class SalesQuotationType {
	const Service = 1 ;
	const Project = 2 ;
	const Contract = 3 ;
	const Item = 4 ;
	const License = 5 ; //Re-Sub
	const NewSub = 6 ; //New-Sub
}

class JobQuotationResources {
	const AccountManager = 1 ;
	const ProjectManager = 2 ;
	const TechnicalConsultant = 3 ;
	const ApplicationConsultant = 4 ;
	const Developer = 5 ;
	const CustProjectSponsor = 6 ;
	const CustProjectAdvisor = 7 ;
	const CustProjectManager = 8 ;
	const CustProjectMember = 9 ;
}

class JobCentreResources {
	const AccountManager = 1 ;
	const ProjectManager = 2 ;
	const TechnicalConsultant = 3 ;
	const ApplicationConsultant = 4 ;
	const Developer = 5 ;
	const CustProjectSponsor = 6 ;
	const CustProjectAdvisor = 7 ;
	const CustProjectManager = 8 ;
	const CustProjectMember = 9 ;
}

class GoodsReceivingStatus {
	const Received = 0 ;
	const QuotationSent = 1 ;
	const ConfiscatedQuotation = 2 ;
	const ConfiscatedDelivery = 3 ;
	const InRepair = 4 ;
	const WaitingRepair = 5 ;
	const WaitingDelivery = 6 ;
	const Finished = 7 ;
}

class QuotationStatus {
	const Open = 0 ;
	const CustomerConfirmed = 1 ;
}

class AppType {
	const Activity = 3 ;
	const SalesQuotation = 4 ;
}
class AgentStatus {
	const Open = 0 ;
	const Accept = 1 ;
}
class JobAssignStatus {
	const Incomplete = 0 ;
	const Complete = 1 ;
}
class ParticipantType {
	const Assign = 0 ;
	const Done = 1 ;
	const NotDone = 2 ;
}
class ScheduleType {
	const Daily = 0 ;
	const Weekly = 1 ;
	const Monthly = 2 ;
	const Quarterly = 3 ;

}

class JobType {
	const Project = 1;
	const Service = 2;
	const Contract = 3;
	const OnSiteVisit = 4;
}
class ScheduleResult {
	const Pending = 0 ;
	const Done = 1 ;
	const NotDone = 2 ;
}
class CustomerType {
	const License = 1;
	const Finance = 2;
	const IT = 3;
	const Manager = 4;
}
class UserType {
	const Agent = 1;
	const Finance = 2;	
	const JobManager = 3;
}
/*
class AppName {
 const Request = "E-Request" ;
 const Invoice = "E-Invoice" ; 
}
class ShiftType {
	const Daily = 0;
	const Weekly = 1;
}

class RateType {
	const Hourly = 0;
	const Daily = 1;
}*/

class Status {
	const Ok = "0" ;
	const Info = "6" ;
	const Invalid = "7";
	const Confirm = "8" ;
	const Error = "9" ;
	const PartialError = "5" ;
}
class DbType {
	const MySql = "mysql" ;
	const MsSql = "mssql" ;
	const PostgreSql = "postgre";
	const MySqli = "mysqli" ;
}
class AddressType {
	const Local = "0" ;
	const Oversea = "1";
}
/*class TaxType {
	const NoTax = "0" ;
	const Salary = "1" ;
	const Bonus = "2" ;
	const Director = "3";
	const Commission = "4" ;
	const TpAllowance = "5";
	const EntAllowance = "6" ;
	const OtherAllowance = "7" ;
	const Retirement = "8" ;
	const Compensation = "9" ;
}
*/
/*class RequestStatus {
	const Open = 0 ;
	const Pending = 1 ;
	const Checking = 2 ;
	const Verification = 3 ;
	const Approved = 4 ;
	const Rejected = 5 ;
	const Cancelled = 6 ;
	const Closed = 7 ;
	const Matching = 8 ;
	const Unknow = 9 ;
	const Voided = 10 ;
}*/
/*class RequestType {
	const Normal = 1;
	const Contract = 2;
}*/
/*class ContractType {
	const Monthly = 1;
	const Weekly = 2;
	const MonthlyNormal = 3;
	const WeeklyNormal = 4;
	const QuarterlyNormal = 5;
	const YearlyNormal = 6;
}*/
class ActStatus {
	const Draft = 0 ;
	const Confirm = 1 ;
	const Pending = 2 ;
}
class ActSigned {
	const NotSigned = 0 ;
	const Signed = 1 ;
}
/*class ContentType {
	const News = 0 ;
	const Article = 1 ;
    const Links = 2 ;
    const ContactUs = 3 ;
    const AboutUs = 4 ;
    const Events = 5 ;
    const Forms = 6 ;
    const Announcement = 7 ;
    const Files = 8 ;
}*/

class LangAppType {
    const SystemItem = 1;
    const WarningErrorMessage = 2;
    const MasterContent = 3;
}
class LangTermType {
    const Common = 1;
    const PortalHome = 2;
    const PortalExpenseClaims = 3;
}
class LangTermID {
    const Add               = 1001;
    const Cancel            = 1002;
    const Save              = 1003;
    const Submit            = 1004;
    const OK                = 1005;
    const Close             = 1006;
    const Date              = 1007;
    const Description       = 1008;
    const Edit              = 1009;
    const Document          = 1010;
    const Item              = 1011;
    const Delete            = 1012;
    const PrintCaption      = 1013;
    const All               = 1014;
    const Pending           = 1015;
    const Completed         = 1016;
    const Submitted         = 1017;
    const NotSubmitted      = 1018;
    const Filter            = 1019;
    const ID                = 1020;
    const Preview           = 1021;
    const Remove            = 1022;
    const Amount            = 1023;
    const Transaction       = 1024;
    const Base              = 1025;
    const Nett              = 1026;
    const Tax               = 1027;
    const Total             = 1028;
    const Status            = 1029;
    const Max               = 1030;
    const Update            = 1031;
    const Send              = 1032;
    const Message           = 1033;
}

class ServiceStatus {
	const Draft               = 0;
	const Approved            = 1;
	const Waiting             = 2;
	
}
?>