##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.ViewLoans ##if searchcontext.Borrower.ItemsOnLoan.0.Value ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##searchcontext.Parent?##this.StyleSet&Method=ShowLoans&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Loans ##local.CommandButtonFMT ##endif ##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(Advice) ##leg.OPAC.Baccount.Prompt
##leg.WEBOPAC.AccountBrowse.Advice ##if local.IsEqual(OfferCreditBrowsing,1)
##if sessioncfg.WEBOPAC.SelfService.WebPayments.Enabled ##leg.Expand(WEBOPAC.AccountBrowse.WebPaymentsBrowseAdvice,ButtonText,##leg.WEBOPAC.CreditBrowse.BrowseWebPaymentsButton) ##else ##leg.Expand(WEBOPAC.AccountBrowse.CreditBrowseAdvice,ButtonText,##leg.WEBOPAC.CreditBrowse.BrowseCreditsButton) ##endif ##endif
##local.define(Content) ##local.define(Title) ##leg.OPAC.AccountBrowse.Title ##include(BrowseListLayout) ##include(Body)