##local.define(addDocumentManager)1 ##local.define(addTimeOut)1 ##local.define(GoBackScript) location.href = "##searchcontext.Parent?##this.StyleSet?Method=Refetch"; ##local.define(ShowBGTasks)1 ##local.define(BGTasksFromParent)1 ##local.define(Title) ##leg.OPAC.AccountBrowse.Title ##local.define(Prompt) ##leg.OPAC.Baccount.Prompt ##if leg.OPAC.AccountBrowse.Prompt ##leg.OPAC.AccountBrowse.Prompt ##endif ##local.define(PageTitle)##leg.Expand(OPAC.AccountBrowse.Title) ##helpcontext.addHelp(Browsing.Account) ##local.define(FunctionButtons) ##local.define(FunctionButton)1 ##local.define(ButtonClass)function-button ##local.define(ButtonName)SummaryButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView="; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Summary ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Summary) ##local.ButtonCellTemplate ##if searchcontext.Borrower.CreditAllowed ##if sessioncfg.OPAC.SelfService.ViewCredit ##local.define(ButtonClass)function-button ##local.define(ButtonName)CreditButton ##local.define(ButtonCommand)location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowCredits"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Credits ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Credit) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.SelfService.ViewLoans ##if searchcontext.Borrower.ItemsOnLoan.0.Value ##local.define(ButtonClass)function-button ##local.define(ButtonName)LoansButton ##local.define(ButtonCommand)location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowLoans"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Loans ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Loans) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.SelfService.ViewReservations ##if searchcontext.Borrower.NumberOfRes ##local.define(ButtonClass)function-button ##local.define(ButtonName)ReservationsButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=ShowReservations"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Reservations ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Reservations) ##local.ButtonCellTemplate ##endif ##endif ##local.define(FunctionButtons1) ##local.define(FunctionButton)1 ##if sessioncfg.OPAC.SelfService.ViewSubscription ##if searchcontext.Borrower.SubsEnabledInRsp ##local.define(ButtonClass)function-button ##local.define(ButtonName)SubscriptionButton ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowSubs"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.Subscription ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Subscription) ##local.ButtonCellTemplate ##endif ##endif ##if sessioncfg.OPAC.SelfService.ViewContactDetails ##local.define(ButtonClass)function-button ##local.define(ButtonName)ContactDetails ##local.define(ButtonCommand) location.href = "##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubView=ShowAddress"; ##local.define(ButtonText)##leg.OPAC.Baccount.Button.ViewAddress ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.ContactDetails) ##local.ButtonCellTemplate ##endif ##if sessioncfg.OPAC.SelfService.PrintAccount ##local.define(ButtonClass)function-button ##local.define(ButtonName)PrintAccount ##local.define(ButtonCommand)PrintList(); ##local.define(ButtonText)##leg.OPAC.Defaults.Button.Print ##local.define(ButtonIcon)Ê ##local.ButtonCellTemplate ##endif ##local.define(Content) ##include(BrowseListLayout) ##include(Body)