##valueMap.foreachIn(trap,AccountTraps)
##local.defineByRender(ErrorText)##sessioncfg.MapLegendThroughTable(##trap.trapID,"DB.Config.ZONESERVICES.ErrorMessageMap")
##if local.IsEqual(ErrorText,"")
##local.define(ErrorText)##trap.trapID
##endif
##if local.IsEqual(ErrorText,"Hide")
##else
##local.ErrorText
##endif
##local.FieldTemplate
##endif
##local.define(MainContent)
##if valueMap.Done
##if valueMap.IsEqual(Result.ResultKnown,1)
/* this is the P7 case where we know the result of the reserver operation */
##if valueMap.IsEqual(Result.Result,1)
##leg.ZONESOPAC.MakeReservation.PortfolioCompleteDetailResultSuccess
##else
##leg.ZONESOPAC.MakeReservation.PortfolioCompleteDetailResultFail
##valueMap.QualData(Result.ResultMessage)
##endif
##else
##if valueMap.Success
##leg.ZONESOPAC.MakeReservation.PortfolioCompleteDetail
##endif
##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
##if SE.MaterialType
##local.defineByRender(MATIcon)##sessioncfg.MapValueThroughImageTable(##SE.MaterialType,"DB.Config.BookServer.GraphicalMAT")
##local.defineByRender(MATText)##sessioncfg.MapLegendThroughTable(##SE.MaterialType,"DB.Config.BookServer.MaterialMap")
##endif
##if SE.Title
##leg.ZONESOPAC.Defaults.SummaryEntry.Title:
##if local.IsEqual(MATIcon,"")
##else
##endif
##SE.Title
##endif
/*##local.PLISGeneralBibSummaryTable*/
/* serial copy related information here if it's available */
/*##valueMap.Dump()*/
##local.RoundBoxContent
##if valueMap.Done
##else
##if valueMap.Authenticated
##if valueMap.IsEqual(AccountTrapLevel,Error)
##local.AccountTrapInfo
##else
##local.AfterAuthenticationContent
##endif
##else
##local.define(FormFields)
##if local.ShowQueue
##endif
##local.define(FormBorrowerDefault)##valueMap.BRWR