##local.define(captionBranch)
##if Value.IsMap(branch) ##Value.QualDataIgnoreIfMissing(branch.description) ##endif
##local.define(captionSubloca)
##if Value.IsMap(sublocation) ##Value.QualDataIgnoreIfMissing(sublocation.description) ##endif
##local.define(captionCateg)
##if Value.IsMap(category) ##Value.QualDataIgnoreIfMissing(category.description) ##endif
##local.define(captionCollect)
##if Value.IsMap(collection) ##Value.QualData(collection.description) ##endif
##local.define(captionFond)
##if Value.IsMap(fond) ##Value.QualData(fond.description) ##endif
##local.define(captionCallno)
##if Value.IsDefined(call_num) ##if Value.IsEqual(call_num,"") ##else ##Value.call_num ##endif ##endif
##local.define(captionCaption)
##if Value.issue_caption ##Value.issue_caption ##endif
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(captionFormat)
##sessioncfg.DB.Config.Circ.Issues.VolumesFormat
##else
##local.define(captionFormat)
caption
##endif
##local.defineByRender(formatterCall)
\=0023\=0023formatter.FormatCaptionText("##formatter.JScriptQuote()##local.captionFormat"
##if local.captionBranch ,branch, "##local.captionBranch" ##endif
##if local.captionSubloca ,subloca, "##local.captionSubloca" ##endif
##if local.captionCateg ,category, "##local.captionCateg" ##endif
##if local.captionCollect ,collection, "##local.captionCollect" ##endif
##if local.captionFond ,fond, "##local.captionFond" ##endif
##if local.captionCallno ,callno, "##local.captionCallno" ##endif
##if local.captionCaption ,caption, "##local.captionCaption" ##endif)
- ##local.render(formatterCall)
##if Value.IsMap(notes)
##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.Notes
##Value.ForEachIn(note,"notes")
##if note.IsEqual("display_opac","true") ##note.note
##endif
##endif
##if Value.IsMap(issue_url)
##Value.ForEachIn(url,"issue_url")
##if url.IsEqual("display_opac","true") ##url.url_desc
##endif
##endif
##if Value.IsMap(copies)
##Value.ForEachIn(copy,"copies")
/* wjp: need to fix this */
##local.define(isSkinOverride)0
##if local.SkinSerialCopyDetail2
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(isSkinOverride)1
##endif
##endif
##if local.IsEqual(isSkinOverride,1)
##local.SkinSerialCopyDetail2
##else
##if copy.IsEqual(stat.can_opac,"true")
##local.define(issueStatus)
##if copy.due_date
##leg.ZONESOPAC.StockStatus.OnLoanDueDate ##formatter.YYYYDDMM(##copy.due_date,##local.DateFormat)
##endif
##if copy.IsDefined(flag_reserved)
##if copy.IsEqual(flag_reserved,1)
( ##leg.ZONESOPAC.Browseenum.Renew.IsReserved ) ##if copy.IsDefined(reservationExpiryDate)
##endif
##else
##if copy.IsMap(stat.description) ##copy.QualData(stat.description) ##endif
##endif
##else
##if copy.due_date
##else
##if copy.IsMap(stat.description) ##copy.QualData(stat.description) ##endif
##endif
##endif
##local.define(issueCallno)
##if copy.call_num ##if copy.IsEqual(call_num, "") ##else ##leg.ZONESOPAC.StockStatus.CallNumber ##copy.call_num ##endif ##endif
##if sessioncfg.DB.Config.Circ.Issues.EnableCustomFormat
##local.define(issueFormat)##sessioncfg.DB.Config.Circ.Issues.IssuesFormat
##else
##local.define(issueFormat)status " " ("<b>") callno ("</b>")
##endif
##local.defineByRender(formatterCall)
\=0023\=0023formatter.FormatCaptionText("##formatter.JScriptQuote()##local.issueFormat"
##if local.captionBranch ,branch, "##local.captionBranch" ##endif
##if local.captionSubloca ,subloca, "##local.captionSubloca" ##endif
##if local.captionCateg ,category, "##local.captionCateg" ##endif
##if local.captionCollect ,collection, "##local.captionCollect" ##endif
##if local.captionFond ,fond, "##local.captionFond" ##endif
##if local.issueCallno ,callno, "##local.issueCallno" ##endif
##if local.captionCaption ,caption, "##local.captionCaption" ##endif
##if local.issueStatus ,status, "##local.issueStatus" ##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
/*##Value.Dump()*/