if(typeof ttrj == "undefined") ttrj={};
if(typeof ttrj.Components == "undefined") ttrj.Components={};
if(typeof ttrj.Components.AdminManager == "undefined") ttrj.Components.AdminManager={};
ttrj.Components.AdminManager_class = function() {};
Object.extend(ttrj.Components.AdminManager_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	HQOutlay_Save: function(id) {
		return this.invoke("HQOutlay_Save", {"id":id}, this.HQOutlay_Save.getArguments().slice(1));
	},
	DepositHistory_Check: function(id) {
		return this.invoke("DepositHistory_Check", {"id":id}, this.DepositHistory_Check.getArguments().slice(1));
	},
	CheckStatus_Set: function(id, type) {
		return this.invoke("CheckStatus_Set", {"id":id, "type":type}, this.CheckStatus_Set.getArguments().slice(2));
	},
	Invoice_ChangeStatus: function(invoiceid) {
		return this.invoke("Invoice_ChangeStatus", {"invoiceid":invoiceid}, this.Invoice_ChangeStatus.getArguments().slice(1));
	},
	Change_Branch_RentStatus: function(id) {
		return this.invoke("Change_Branch_RentStatus", {"id":id}, this.Change_Branch_RentStatus.getArguments().slice(1));
	},
	Order_Relieve: function(orderid) {
		return this.invoke("Order_Relieve", {"orderid":orderid}, this.Order_Relieve.getArguments().slice(1));
	},
	ChangeOrderStatus: function(ids, status) {
		return this.invoke("ChangeOrderStatus", {"ids":ids, "status":status}, this.ChangeOrderStatus.getArguments().slice(2));
	},
	GetAllCity: function() {
		return this.invoke("GetAllCity", {}, this.GetAllCity.getArguments().slice(0));
	},
	ChangeApproved: function(id, isapproved, type) {
		return this.invoke("ChangeApproved", {"id":id, "isapproved":isapproved, "type":type}, this.ChangeApproved.getArguments().slice(3));
	},
	ChangeCheckStatus: function(id, status, type) {
		return this.invoke("ChangeCheckStatus", {"id":id, "status":status, "type":type}, this.ChangeCheckStatus.getArguments().slice(3));
	},
	CheckOrderValid: function(orderid, roomid, startdate, enddate) {
		return this.invoke("CheckOrderValid", {"orderid":orderid, "roomid":roomid, "startdate":startdate, "enddate":enddate}, this.CheckOrderValid.getArguments().slice(4));
	},
	OtherCharge_Branch_Update: function(branchid, content) {
		return this.invoke("OtherCharge_Branch_Update", {"branchid":branchid, "content":content}, this.OtherCharge_Branch_Update.getArguments().slice(2));
	},
	OtherCharge_Get_List: function(type) {
		return this.invoke("OtherCharge_Get_List", {"type":type}, this.OtherCharge_Get_List.getArguments().slice(1));
	},
	OtherCharge_Get_ByID: function(chargeid) {
		return this.invoke("OtherCharge_Get_ByID", {"chargeid":chargeid}, this.OtherCharge_Get_ByID.getArguments().slice(1));
	},
	UpDateLodgingPhoto: function(photoid, name, number) {
		return this.invoke("UpDateLodgingPhoto", {"photoid":photoid, "name":name, "number":number}, this.UpDateLodgingPhoto.getArguments().slice(3));
	},
	Room_Check_Valid: function(orderid, lodgingid, rentstatusid, roomid, startdate, enddate) {
		return this.invoke("Room_Check_Valid", {"orderid":orderid, "lodgingid":lodgingid, "rentstatusid":rentstatusid, "roomid":roomid, "startdate":startdate, "enddate":enddate}, this.Room_Check_Valid.getArguments().slice(6));
	},
	ExpenseAccount_Check: function(expenseaccountid) {
		return this.invoke("ExpenseAccount_Check", {"expenseaccountid":expenseaccountid}, this.ExpenseAccount_Check.getArguments().slice(1));
	},
	ExpenseAccount_WipeOff: function(expenseaccountid) {
		return this.invoke("ExpenseAccount_WipeOff", {"expenseaccountid":expenseaccountid}, this.ExpenseAccount_WipeOff.getArguments().slice(1));
	},
	url: '/ajaxpro/ttrj.Components.AdminManager,ttrj.Components.ashx'
}));
ttrj.Components.AdminManager = new ttrj.Components.AdminManager_class();

