##local.define(Header) ##include(Header) ##local.define(BackButton) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet?Method=Refetch&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)<< ##leg.WEBOPAC.Defaults.Button.GoBack ##local.CommandButtonFMT ##local.define(CommandButtons) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubStyle=&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Summary ##local.CommandButtonFMT ##if sessioncfg.WEBOPAC.SelfService.ViewSubscription ##if searchcontext.Borrower.SubsEnabledInRsp ##if this.StyleSetAttributeIsEqual(SubStyle,ShowSubs) ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubStyle=ShowSubs&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Subscription ##local.CommandButtonFMT ##endif ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewContactDetails ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=Refetch&SubStyle=ShowAddress&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.ViewAddress ##local.CommandButtonFMT ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.WebPayments.Enabled ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowCredits&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText) ##leg.WEBOPAC.CreditBrowse.BrowseWebPaymentsButton ##local.CommandButtonFMT ##else ##if searchcontext.Borrower.CreditAllowed ##if sessioncfg.WEBOPAC.SelfService.ViewCredit ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowCredits&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Credits ##local.CommandButtonFMT ##endif ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewAccount ##local.define(CommandButtonGraphic) ##if sessioncfg.WEBOPAC.BrowseOptions.ShowATDetailsInAccountBrowse ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowExpandedAccount&BrowseAsHloc=##local.thisLoc ##else ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowAccount&BrowseAsHloc=##local.thisLoc ##endif ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Accounts ##local.CommandButtonFMT ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewReservations ##if searchcontext.Borrower.NumberOfRes ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowReservations&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Reservations ##local.CommandButtonFMT ##endif ##endif
 
##local.define(ShowBGTasks)1 ##local.define(BGTasksFromParent)1 ##local.define(Content) ##local.define(Title) ##leg.OPAC.LoanBrowse.Title ##local.define(Advice) ##leg.OPAC.Baccount.Prompt
##if searchcontext.BorrowerTrapLevel ##if sessioncfg.WEBOPAC.SelfService.RenewLoan ##leg.WEBOPAC.LoanBrowse.AdviceTrapped ##leg.WEBOPAC.General.Seekadvice ##else ##leg.WEBOPAC.LoanBrowse.Advice ##endif ##else ##leg.WEBOPAC.LoanBrowse.Advice ##if sessioncfg.WEBOPAC.SelfService.RenewLoan ##leg.WEBOPAC.LoanBrowse.AdviceRenewLoan ##endif ##endif
##local.define(LoanBrowse)1 ##include(BrowseListLayout)
##include(Body)