##local.define(PageHeaderInclude) ##local.defineByRender(AllowDateChange)##sessioncfg.ZONES.SelfService.CSPAllowChangeRequestDate ##if local.IsEqual(AllowDateChange,0) ##else ##endif ##local.define(InlineCopyDetail) ##local.define(NoDash)0 ##if sessioncfg.DB.Config.Circ.SingleLocationSystem ##local.define(NoDash)1 ##else ##if item.IsMap(branch.description) ##item.QualData(branch.description) ##else ##local.define(NoDash)1 ##endif ##endif ##if item.IsMap(subloc.description) - ##item.QualData(subloc.description) ##endif ##if item.IsMap(categ.description) - ##item.QualData(categ.description) ##endif ##if sessioncfg.DB.Config.Circ.ShowCopyCollection ##if item.IsMap(collection.description) - ##item.QualData(collection.description) ##endif ##endif ##if item.IsMap(fonds.description) - ##item.QualData(fonds.description) ##endif ##if item.call_num Cote: ##item.call_num ##endif ##if item.vol_no - ##item.vol_no ##endif ##if item.due_date - ##leg.ZONESOPAC.StockStatus.OnLoanDueDate ##formatter.YYYYDDMM(##item.due_date,##local.DateFormat) ##endif ##if item.IsDefined(flag_reserved) ##if item.IsEqual(flag_reserved,1) - ( ##leg.ZONESOPAC.Browseenum.Renew.IsReserved ) ##if item.IsDefined(reservationExpiryDate) /* ##leg.ZONESOPAC.Browseenum.Renew.Expires ( ##formatter.YYYYDDMM(##item.reservationExpiryDate,##local.DateFormat) ) */ ##endif ##else ##if item.IsMap(stat.description) - ##item.QualData(stat.description) ##endif ##endif ##else ##if item.due_date ##else ##if item.IsMap(stat.description) - ##item.QualData(stat.description) ##endif ##endif ##endif ##if item.IsMap(notes) ##item.foreachIn(note, "notes" ) ##if note.IsEqual(display_opac,true)
   ##note.note ##endif
##endif
##if valueMap.__ErrorResponse ##local.define(HandledError)1 ##endif ##helpcontext.addHelp(Toolbar) ##if error.Level ##if error.IsEqual(ID,"Invalid password") ##local.define(BadPasswordError)1 ##local.define(HandledError)1 ##endif ##if error.IsEqual(ID,"Patron not found") ##local.define(BadPatronError)1 ##local.define(HandledError)1 ##endif ##endif ##if valueMap.IsInvalidPin ##local.define(BadPasswordError)1 ##endif ##if valueMap.IsInvalidBrwr ##local.define(BadPatronError)1 ##endif ##local.define(Advice) ##if valueMap.Done /* this is the P7 case where we know the result of the reserver operation */ ##if valueMap.IsEqual(Result.Success,1) ##helpcontext.addHelp(PReservationCompleteResultSuccessful) ##leg.ZONESOPAC.MakeCSPRequest.PortfolioCompleteResultSuccess ##else ##helpcontext.addHelp(PReservationCompleteResultFailed) ##leg.ZONESOPAC.MakeCSPRequest.PortfolioCompleteResultFail ##valueMap.QualData(Result.ResultMessage) ##endif ##else ##if valueMap.Authenticated ##leg.ZONESOPAC.MakeCSPRequest.Prompt ##helpcontext.addHelp(PCSPFillForm) ##else ##leg.ZONESOPAC.MakeCSPRequest.Login ##helpcontext.addHelp(PCSPAuthenticate) ##endif ##endif ##local.define(Title) ##if valueMap.Done ##leg.ZONESOPAC.MakeCSPRequest.Title.Complete ##else ##leg.ZONESOPAC.MakeCSPRequest.Title.Make ##if request.Security(On) ( ##leg.ZONESOPAC.Security.Secure ) ##endif ##endif ##local.define(NoCopiesAvailableForCSP) ##leg.ZONESOPAC.MakeCSPRequest.NoCopiesAvailableForCSP ##local.define(MultipleCopiesForCSP) ##local.defineByRender(DateAvail)
##valueMap.ForeachIn(item,Holdings.Copies.results)
##if local.SkinInlineCopyDetail ##local.SkinInlineCopyDetail ##else ##local.InlineCopyDetail ##endif
##if local.IsEqual(DateAvail,"") ##local.defineByRender(Bank)##item.QualData(csp_distribution_bank.description) ##local.defineByRender(DateAvail)##formatter.YYYYDDMM(##item.csp_date_available,##local.DateFormat) ##local.defineByRender(TimeAvail)##item.csp_time_available ##local.defineByRender(RequireAuthorisation)##item.csp_need_authorization ##local.defineByRender(CopyNumber)##item.copy_number ##local.defineByRender(YYYYMMDDDateAvail)##item.csp_date_available ##local.defineByRender(CopyBranch)##item.branch.branch_code ##endif
##local.define(SerialCopyForCSP)
##valueMap.With(copy,"SerialCopyDetails") ##copy.QualData(location_desc.description)
##local.define(SupressSerialFunctionLinks)1 ##if local.SkinSerialCopyDetail2 ##local.SkinSerialCopyDetail2 ##else ##if copy.IsEqual(stat.can_opac,"true")
  • ##copy.QualDataIgnoreIfMissing(stat.description) ##if copy.call_num ##if copy.IsEqual(call_num, "") ##else ##leg.ZONESOPAC.StockStatus.CallNumber ##copy.call_num ##endif ##endif ##if copy.IsMap(notes)
       ##leg.ZONESOPAC.SerialHoldings.IssuesList.Item.Notes ##copy.ForEachIn(note,"notes") ##if note.IsEqual("display_opac","true") ##note.note
    ##endif
    ##endif ##endif
  • ##local.defineByRender(Bank)##valueMap.QualData(SerialCopyDetails.csp_distribution_bank.description) ##local.defineByRender(DateAvail)##formatter.YYYYDDMM(##valueMap.SerialCopyDetails.csp_date_available,##local.DateFormat) ##local.defineByRender(YYYYDDMMDateAvail)##valueMap.SerialCopyDetails.csp_date_available ##local.defineByRender(TimeAvail)##valueMap.SerialCopyDetails.csp_time_available ##local.defineByRender(RequireAuthorisation)##valueMap.SerialCopyDetails.csp_need_authorization ##local.defineByRender(CopyBranch)##valueMap.SerialCopyDetails.location ##local.defineByRender(CopyNumber)##valueMap.SerialCopyDetails.copy_number
    ##local.define(OnlyOneCopyForCSP) ##valueMap.ForeachIn(item,Holdings.Copies.results) ##if local.SkinInlineCopyDetail ##local.SkinInlineCopyDetail
    ##else ##local.InlineCopyDetail
    ##endif ##local.defineByRender(Bank)##item.QualData(csp_distribution_bank.description) ##local.defineByRender(DateAvail)##formatter.YYYYDDMM(##item.csp_date_available,##local.DateFormat) ##local.defineByRender(YYYYDDMMDateAvail)##item.csp_date_available ##local.defineByRender(TimeAvail)##item.csp_time_available ##local.defineByRender(RequireAuthorisation)##item.csp_need_authorization ##local.defineByRender(CopyBranch)##item.branch.branch_code ##local.defineByRender(CopyNumber)##item.copy_number
    ##local.define(CSPDetailsSummary)
    ##leg.ZONESOPAC.MakeCSPRequest.DateAvailable##local.DateAvail ##leg.ZONESOPAC.MakeCSPRequest.At ##local.TimeAvail
    ##leg.ZONESOPAC.MakeCSPRequest.BankInstructions ##local.Bank
    ##local.define(CSPRequestFields)
    ##leg.ZONESOPAC.MakeCSPRequest.DateRequested / / ##leg.ZONESOPAC.MakeCSPRequest.At : /* ##leg.ZONESOPAC.MakeCSPRequest.At : */
     
    ##local.define(ButtonCaption)##leg.data(ZONESOPAC.MakeCSPRequest.Submit) ##local.define(ButtonTip)##leg.data(ZONESOPAC.MakeCSPRequest.SubmitTIP) ##local.define(ButtonHref)javascript:submitRequest() ##local.define(ButtonID)buttonAdSearch ##local.ButtonFMT ##local.define(ButtonCaption)##leg.data(ZONESOPAC.MakeCSPRequest.Cancel) ##local.define(ButtonTip)##leg.data(ZONESOPAC.MakeCSPRequest.CancelTIP) ##local.define(ButtonHref)javascript:cancelRequest() ##local.define(ButtonID)buttonAdSearchClr ##local.ButtonFMT
    ##local.define(MainContent) ##if valueMap.Done ##if valueMap.Success ##leg.ZONESOPAC.MakeCSPRequest.PortfolioCompleteDetail ##else ##leg.ZONESOPAC.MakeCSPRequest.AbortedDetail ##endif ##endif
    ##local.Define(RoundBoxContent) ##valueMap.With(SE,"SE") ##if valueMap.IsEqual("SerialCopyNumber","") ##local.define(PLISGeneralBibSummaryExtraInfo) ##else ##local.define(PLISGeneralBibSummaryExtraInfo)      ##valueMap.SerialCopyDetails.issue_desc ##endif ##local.PLISGeneralBibSummaryTable /* serial copy related information here if it's available */ /* ##valueMap.Dump() */ ##local.RoundBox
    ##if valueMap.Done ##else ##if valueMap.Authenticated
    ##this.stylesetforform ##local.define(RoundBoxContent) ##if valueMap.IsEqual("SerialCopyNumber","") ##if valueMap.IsEqual(Holdings.Copies.set_count,0) ##local.NoCopiesAvailableForCSP ##else ##if valueMap.IsEqual(Holdings.Copies.set_count,1) ##local.OnlyOneCopyForCSP ##local.CSPDetailsSummary ##else ##local.MultipleCopiesForCSP ##local.CSPDetailsSummary ##endif ##endif ##else ##local.SerialCopyForCSP ##local.CSPDetailsSummary ##endif ##local.RoundBox ##if valueMap.IsEqual(Holdings.Copies.set_count,0) ##else ##local.define(RoundBoxContent) ##local.CSPRequestFields ##local.RoundBox ##endif
    ##else ##local.define(FormFields) ##local.define(FormBorrowerDefault)##valueMap.BRWR ##local.LoginFormRowTemplate ##if local.BadPatronError ##local.define(Value) ##leg.ZONESOPAC.MakeReservation.InvalidBorrower ##local.AlertRowTemplate ##endif ##if local.BadPasswordError ##local.define(Value) ##leg.ZONESOPAC.MakeReservation.InvalidPIN ##local.AlertRowTemplate ##endif
    ##endif
    ##local.Define(Content)
    ##local.MainContent
    ##include(Body)