##local.Define(ShowAreaButton)0 ##local.Define(ShowSystemButton)0 ##helpcontext.addHelp(StockSysList) ##helpcontext.addHelp(Toolbar) ##local.Define(StockSummaryFormat) ##local.define(RoundBoxContent) ##local.defineByRender(MATIcon)##sessioncfg.MapValueThroughImageTable(##startpoint.Query.BibData.Data.MaterialType,"DB.Config.BookServer.GraphicalMAT") ##local.defineByRender(MATText)##sessioncfg.MapLegendThroughTable(##startpoint.Query.BibData.Data.MaterialType,"DB.Config.BookServer.MaterialMap")
##if startpoint.Query.BibData.Data.Author ##endif /* ##if startpoint.Query.BibData.Data.Year ##endif ##if startpoint.Query.BibData.Data.Publisher ##endif ##if startpoint.Query.BibData.Data.Volumes ##endif ##if startpoint.Query.BibData.Data.ISBN ##endif ##if startpoint.Query.BibData.Data.Series ##endif /*##if startpoint.Query.BibData.Data.MaterialType##endif*/ */
##if startpoint.Query.BibData.Data.Title ##leg.ZONESOPAC.Defaults.SummaryEntry.Title ##endif : ##if local.IsEqual(MATIcon,"") ##else   ##endif ##if startpoint.Query.BibData.Data.Title ##startpoint.Query.BibData.Data.Title ##endif
##leg.ZONESOPAC.Defaults.SummaryEntry.Author :##startpoint.Query.BibData.Data.Author
##leg.ZONESOPAC.Defaults.SummaryEntry.Year :##startpoint.Query.BibData.Data.Year
##leg.ZONESOPAC.Defaults.SummaryEntry.Publisher :##startpoint.Query.BibData.Data.Publisher
##leg.ZONESOPAC.Defaults.SummaryEntry.Volumes :##startpoint.Query.BibData.Data.Volumes
ISBN :##startpoint.Query.BibData.Data.ISBN
##leg.ZONESOPAC.Defaults.SummaryEntry.Series :##startpoint.Query.BibData.Data.Series
##leg.ZONESOPAC.Defaults.SummaryEntry.MaterialType:##startpoint.Query.BibData.Data.MaterialType
##local.RoundBox
##if listconditions.IsEqual(IsEmpty,"1") /* this is an empty branch list, so there is no stock in the system or it's a serial */ ##local.define(Title) ##leg.ZONESOPAC.StockStatus.Title ##local.define(PageTitle) ##local.Title ##local.define(Advice)
##local.ModifySearchLink ##if searchcontext.SearchBrowseListItem ##if searchitem.IsDefined(PosInSet) ##if searchcontext.SearchBrowseList ##leg.ZONESOPAC.ZoneSearch.SearchResultsLink##endif ##if searchitem.IsTop ##else ##leg.ZONESOPAC.CATRecord.Button.PreviousResult ##endif ( ##searchitem.PosInSet / ##searchitem.Hits ) ##if searchitem.IsBottom ##else ##leg.ZONESOPAC.CATRecord.Button.NextResult ##endif ##endif ##endif
##local.define(Content) ##local.StockSummaryFormat ##if startpoint.IsEqual(Query.StockType,"IS_SERIAL") ##leg.ZONESOPAC.StockStatus.IsSerial ##startpoint.Dump() ##endif ##if startpoint.IsEqual(Query.StockType,"NO_STOCK ") ##leg.ZONESOPAC.StockStatus.NoStock ##endif ##else ##local.define(Title) ##leg.Expand(ZONESOPAC.StockStatus.SystemBranchList.Title, HLOCName, "Wibble" ) ##local.define(PageTitle) ##local.Title ##local.define(Advice) ##leg.ZONESOPAC.LocationBrowse.Prompt
##local.ModifySearchLink ##if searchcontext.SearchBrowseListItem ##if searchitem.IsDefined(PosInSet) ##if searchcontext.SearchBrowseList ##leg.ZONESOPAC.ZoneSearch.SearchResultsLink##endif ##if searchitem.IsTop ##else ##leg.ZONESOPAC.CATRecord.Button.PreviousResult ##endif ( ##searchitem.PosInSet / ##searchitem.Hits ) ##if searchitem.IsBottom ##else ##leg.ZONESOPAC.CATRecord.Button.NextResult ##endif ##endif ##endif
##local.define(FunctionButtons) ##if listconditions.IsEqual(IsEmpty,"1") ##local.Define(ReservationsAllowed)0 ##endif ##local.define(FunctionButton)1 ##if local.IsEqual(ReservationsAllowed,1) ##helpcontext.addHelp(ReservationsEnabled) ##endif ##if sessioncfg.ZONES.NotePad ##local.define(CommandButtonHREF)##this&Method=NoteMe ##local.define(CommandButtonText)##leg.ZONESOPAC.CATRecord.Button.NoteEntry ##endif ##if local.IsEqual(ShowSystemButton,1) ##endif ##local.define(PreList) ##local.StockSummaryFormat ##local.define(Content) ##local.define(AlreadyNoted)0 ##if error.Level ##if error.IsEqual(Number,9998) ##local.define(HandledError)1 ##local.define(AlreadyNoted)1 ##endif ##endif ##if local.IsEqual(AlreadyNoted,1) ##local.define(ContentPaneTitle) ##include(BrowseListLayout) ##local.List ##endif ##include(Body)