##if request.IsEqual(Method,Renew) ##local.define(Renew)1 ##if request.Accepted ##local.define(Accepted)1 ##if valueMap.Response ##if valueMap.IsEqual(Response.extended,"") ##local.define(ErrorList) ##if valueMap.Response.warnings ##valueMap.ForEachIn(child,"Response.warnings") ##local.defineByRender(ErrorText)##sessioncfg.MapLegendThroughTable(##child,"DB.Config.ZONESERVICES.ErrorMessageMap") ##if local.IsEqual(ErrorText,"") ##local.define(ErrorText)##child ##endif ##local.defineByRender(ErrorList) ##local.ErrorList ##local.ErrorText ##endif ##else ##local.define(RenewSucceeded)1 ##local.define(NewDueDate) ##formatter.YYYYDDMM(##valueMap.Response.due_date,##local.DateFormat) ##endif ##endif ##endif ##endif ##local.define(CurrentPage)##if local.Renew ##if local.Accepted ##if local.RenewSucceeded ##leg.WAI.SSRenew.Title.Complete ##else ##leg.WAI.SSRenew.Title.PrimaryTrap ##endif ##else ##leg.WAI.SSRenew.Title.IsTrapped ##endif ##else ##leg.WAI.LoanBrowse.Title ##endif ##local.define(BodyContent) ##local.define(ContentPanelTabs)##local.MyZoneContentPanelTabs ##local.ContentPanelTabsContainer

##if local.Renew ##if local.Accepted ##if local.RenewSucceeded ##leg.WAI.SSRenew.IsTrapped.Renewal.Complete ##else ##leg.WAI.SSRenew.Prompts.Failed ##endif
##leg.WAI.SSRenew.Prompts.ClickBackToContinue ##else ##leg.WAI.SSRenew.Prompts.ClickConfirmToContinue ##endif ##else ##leg.WAI.LoanBrowse.BrowseAdvice ##if sessioncfg.ZONES.SelfService.RenewLoan
##leg.WAI.LoanBrowse.AdviceRenewLoan ##endif ##endif

##if local.Renew ##if valueMap.SE ##valueMap.With(SE,"SE.Data") ##if local.Accepted ##else


##leg.WAI.SSRenew.List

##endif


##local.PLISGeneralBibSummaryTable

##endif ##if local.Accepted ##if local.RenewSucceeded


##leg.Expand(WAI.SSRenew.IsTrapped.Renewal.Returndate,DueDate,##local.NewDueDate)

##else ##if local.ErrorList


##local.ErrorList

##endif ##endif ##else ##local.define(FormFields) ##local.FinishFormRowTemplate ##endif ##else ##local.define(ContentPaneTitle) ##if sessioncfg.ZONES.Print.Enabled ##local.define(CommandButtonGraphic) ##local.define(CommandButtonScript)PrintList() ##local.define(CommandButtonText)##leg.WAI.Defaults.Button.Print ##local.CommandScriptButtonFMT ##endif ##if searchcontext.BorrowerTrapLevel ##else ##if sessioncfg.ZONES.SelfService.BulkRenewal ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&Method=BulkRenew&BulkRenew=1 ##local.define(CommandButtonText)##leg.WAI.Defaults.Button.AutoRenew ##local.CommandButtonFMT ##endif ##endif ##local.define(LoanBrowse)1 ##include(BrowseListLayout) ##local.List ##endif
##include(Layout)