##local.Define(RoundBoxContent)
##if sessioncfg.DB.Config.Circ.SingleLocationSystem
##else
|
##leg.ZONESOPAC.SerialHoldings.BestIssue.Branch :
|
##copy.QualDataIngoreIfBlank(branch.description)
|
##endif
|
##leg.ZONESOPAC.SerialHoldings.BestIssue.Status :
|
##copy.QualDataIngoreIfBlank(stat.description)
|
|
##leg.ZONESOPAC.SerialHoldings.BestIssue.Category :
|
##copy.QualData(categ.description)
|
##local.define(CopyVisible)
0
##if value.IsMap(issue.copies)
##value.ForEachIn(copy,"issue.copies")
##if copy.IsEqual(stat.can_opac,"true")
##local.define(CopyVisible)1
##endif
##endif
##if local.IsEqual(CopyVisible,1)
##local.define(headingBranch)
##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##else ##if value.IsMap(issue.branch) ##value.QualDataIgnoreIfMissing(issue.branch.description) ##endif ##endif
##local.define(headingSubloca)
##if value.IsMap(issue.sublocation) ##value.QualDataIgnoreIfMissing(issue.sublocation.description) ##endif
##local.define(headingCateg)
##if value.IsMap(issue.category) ##value.QualDataIgnoreIfMissing(issue.category.description) ##endif
##local.define(headingColl)
##if value.IsMap(issue.collection) ##value.QualDataIgnoreIfMissing(issue.collection.description) ##endif
##local.define(headingFond)
##if value.IsMap(issue.fond) ##value.QualDataIgnoreIfMissing(issue.fond.description) ##endif
##local.define(headingCaption)
##if value.issue.issue_caption ##value.issue.issue_caption ##endif
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(headingFormat)
##sessioncfg.DB.Config.Circ.Issues.LatestHeadingFormat
##else
##local.define(headingFormat)
("<b>") branch " - " subloca ("</b>") "<br>" ("<strong>") caption ("</strong>")
##endif
##local.defineByRender(formatterCall)
\=0023\=0023formatter.FormatCaptionText("##formatter.JScriptQuote()##local.##local.headingFormat"
##if local.headingBranch ,branch, "##local.headingBranch" ##endif
##if local.headingSubloca ,subloca, "##local.headingSubloca" ##endif
##if local.headingCateg ,category, "##local.headingCateg" ##endif
##if local.headingColl ,collection, "##local.headingColl" ##endif
##if local.headingFond ,fond, "##local.headingFond" ##endif
##if local.headingCaption ,caption, "##local.headingCaption" ##endif)
##local.render(formatterCall)
##if value.IsMap(issue.notes)
##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.Notes
##value.ForEachIn(note,"issue.notes")
##if note.IsEqual("display_opac","true") ##note.note
##endif
##endif
##if value.IsMap(issue.issue_url)
##value.ForEachIn(url,"issue.issue_url")
##if url.IsEqual("display_opac","true") ##url.url_desc
##endif
##endif
##if value.IsMap(issue.copies)
##value.ForEachIn(copy,"issue.copies")
##local.define(isSkinOverride)0
##if local.SkinSerialCopyDetail
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(isSkinOverride)1
##endif
##endif
##if local.IsEqual(isSkinOverride,1)
##local.SkinSerialCopyDetail
##else
##if copy.IsEqual(stat.can_opac,"true")
/* wjp: need to fix it here as well */
##local.define(issueBranch) ##if copy.IsMap(branch) ##copy.QualDataIgnoreIfMissing(branch.description) ##endif
##local.define(issueCategory)##if copy.IsMap(categ) ##copy.QualDataIgnoreIfMissing(categ.description) ##endif
##local.define(issueCallNo)##if copy.call_num ##if copy.IsEqual(call_num,"") ##else ##copy.call_num ##endif ##endif
##local.define(issueStatus)
##local.define(firstSepDone)0
##if copy.due_date
##if local.IsEqual(firstSepDone,1)
- ##leg.ZONESOPAC.StockStatus.OnLoanDueDate ##formatter.YYYYDDMM(##copy.due_date,##local.DateFormat)
##else
##leg.ZONESOPAC.StockStatus.OnLoanDueDate ##formatter.YYYYDDMM(##copy.due_date,##local.DateFormat) ##local.define(firstSepDone)1
##endif
##endif
##if copy.IsDefined(flag_reserved)
##if copy.IsEqual(flag_reserved,1)
##if local.IsEqual(firstSepDone,1)
- ( ##leg.ZONESOPAC.Browseenum.Renew.IsReserved )
##else
( ##leg.ZONESOPAC.Browseenum.Renew.IsReserved ) ##local.define(firstSepDone)1
##endif
##else
##if copy.IsMap(stat.description)
##if local.IsEqual(firstSepDone,1)
- ##copy.QualData(stat.description)
##else
##copy.QualData(stat.description) ##local.define(firstSepDone)1
##endif
##endif
##endif
##else
##if copy.due_date
##else
##if copy.IsMap(stat.description)
##if local.IsEqual(firstSepDone,1)
- ##copy.QualData(stat.description)
##else
##copy.QualData(stat.description) ##local.define(firstSepDone)1
##endif
##endif
##endif
##endif
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(issueFormat)##sessioncfg.DB.Config.Circ.Issues.LatestIssuesFormat
##else
##local.define(issueFormat)category " - " status " - " ("<b>") callno ("</b>")
##endif
##local.defineByRender(formatterCall)
\=0023\=0023formatter.FormatCaptionText("##formatter.JScriptQuote()##local.issueFormat"
##if local.issueBranch ,branch, "##local.issueBranch" ##endif
##if local.headingSubloca ,subloca, "##local.headingSubloca" ##endif
##if local.headingColl ,collection, "##local.headingColl" ##endif
##if local.issueCategory ,category, "##local.issueCategory" ##endif
##if local.headingFond ,fond, "##local.headingFond" ##endif
##if local.issueStatus ,status, "##local.issueStatus" ##endif
##if local.issueCallNo ,callno, "##local.issueCallNo" ##endif
##if local.headingCaption ,caption, "##local.headingCaption" ##endif )
- ##local.render(formatterCall)
##if copy.IsMap(notes)
##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.Notes
##copy.ForEachIn(note,"notes")
##if note.IsEqual("display_opac","true") ##note.note
##endif
##endif
##if copy.IsEqual(can_reserv,"true")
##if sessioncfg.DB.Config.BookServer.AllowSerialReservation
##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.MakeRervationLink
##endif
##endif ##endif
##if copy.IsEqual(can_csp,"true")
##if sessioncfg.DB.Config.BookServer.AllowSerialCSP
##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.MakeCSPLink
##endif
##endif ##endif
##endif
##endif
##else
##endif
##endif