##local.define(Prompt) ##leg.OPAC.ViewNotes.Prompt ##local.define(SuppressViewNotesButton)1 ##local.define(ScrollButtons)1 ##local.define(Title) ##leg.OPAC.ViewNotes.Title ##local.define(PageTitle) ##leg.Expand(OPAC.ViewNotes.Title) ##helpcontext.addHelp(ViewNotes) ##if error.Level ##if error.IsEqual(Level,APPLICATION) ##if error.IsEqual(Number,1042) ##if request.IsEqual(Method,"StockStatus2") ##local.define(NoStockError)1 ##local.define(HandledError)1 ##endif ##endif ##endif ##endif ##local.define(Content) ##local.define(FunctionButtons) ##local.define(FunctionButton)1 ##local.define(ButtonClass)function-button ##local.define(ButtonName)ClearNotepad ##local.define(ButtonCommand)location.href = '##this&Method=ClearNotepad'; ##local.define(ButtonText)##leg.OPAC.ViewNotes.ClearNotes ##local.define(ButtonIcon)8 ##helpcontext.addHelp(Buttons.Stock) ##local.ButtonCellTemplate ##if sessioncfg.OPAC.SelfService.PrintNotepad ##local.define(ButtonClass)function-button ##local.define(ButtonName)PrintFull ##local.define(ButtonCommand)PrintNotes("Full"); ##local.define(ButtonText)##leg.OPAC.ViewNotes.PrintNotes.Full ##local.define(ButtonIcon)Ê ##local.ButtonCellTemplate ##local.define(ButtonClass)function-button ##local.define(ButtonName)PrintBrief ##local.define(ButtonCommand)PrintNotes("Brief"); ##local.define(ButtonText)##leg.OPAC.ViewNotes.PrintNotes.Brief ##local.define(ButtonIcon)Ê ##local.ButtonCellTemplate ##endif ##local.define(List) ##list()
##if local.NoStockError ##local.define(Value) ##leg.OPAC.StockStatus.NoStock ##local.AlertRowTemplate ##endif
##include(Layout) ##if local.isEqual(HideStockButton,1) ##endif ##if local.HideReservationButton ##endif
##include(Body)