##local.define(Header) ##include(Header) ##local.define(Content) ##local.define(Title) View Bulk Renewal Results ##local.define(Advice) View Bulk Renewal Results Advice ##local.define(ContentPaneTitle) ##local.define(CommandButtonGraphic)##leg.WAI.Picture##leg.WAI.ALT.WhiteDot ##local.define(CommandButtonHREF)##this&Method=BGTasks ##local.define(CommandButtonText)Refresh ##local.define(CommandButtonGraphic)##leg.WAI.Picture##leg.WAI.ALT.WhiteDot ##local.define(CommandButtonHREF)##this&Method=DeleteOutput ##local.define(CommandButtonText)Delete ##local.define(ScrollingListContent) ##if Output.IsEqual(IsEmpty,1) ##leg.WAI.SSRenew.BulkRenew.Output.NoOutputYet
##leg.WAI.SSRenew.BulkRenew.Output.RefreshToUpdate ##else ##Output.ForEachIn(BRTask,"") ##if BRTask.__IsMap() ##endif
##leg.WAI.SSRenew.BulkRenew.Output.OutputHeading

##leg.WAI.SSRenew.BulkRenew.Output.TaskSubmittedAt ##BRTask.TimeSubmitted ##if BRTask.IsEqual(Completed,1) ##leg.WAI.SSRenew.BulkRenew.Output.ClearReport ##else   ##endif
##if BRTask.IsEqual(Completed,1)
##leg.WAI.SSRenew.BulkRenew.Output.Details: ##if BRTask.IsEqual(NumberOfRenewals,0)
##leg.WAI.SSRenew.BulkRenew.Output.NoItems ##endif
##BRTask.ForEachIn(Item,"Results") ##if Item.__IsMap() ##endif
##if Item.IsEqual(Charges, 1) ##endif ##if Item.DueDate ##endif
##if Item.IsEqual(Renewed, No) ##endif ##Item.AuthorTitle ##if Item.IsEqual(Renewed, No) ##endif
##if Item.IsEqual(Renewed, No) ##endif ##Item.Status ##if Item.IsEqual(Renewed, No) ##endif
##leg.WAI.SSRenew.BulkRenew.Output.Charges:
##if Item.IsEqual(LoanFee, 0) ##else ##leg.WAI.SSRenew.BulkRenew.Output.LoanFee ##Item.LoanFee
##endif ##if Item.IsEqual(Fine, 0) ##else ##leg.WAI.SSRenew.BulkRenew.Output.Fine ##Item.Fine
##endif
##if Item.IsEqual(Renewed, No) ##endif ##leg.WAI.Browseenum.LoanHeading.Duedate : ##Item.DueDate ##if Item.IsEqual(Renewed, No) ##endif
##else ##leg.WAI.SSRenew.BulkRenew.Output.RefreshToUpdate
 
##leg.WAI.SSRenew.BulkRenew.Output.TaskIsCompleteBeforePercent ##BRTask.ProgressPercent ##leg.WAI.SSRenew.BulkRenew.Output.TaskIsCompleteAfterPercent
                                       
##if BRTask.IsEqual(Failures,0) ##else ##leg.WAI.SSRenew.BulkRenew.Output.SomeFailures
##leg.WAI.SSRenew.BulkRenew.Output.DetailsToFollow
##endif ##endif
##if BRTask.IsEqual(Completed,1) ##leg.WAI.SSRenew.BulkRenew.Output.EndOfReportSubmittedAt ##BRTask.TimeSubmitted ##else   ##endif

##endif
##local.ScrollingList
##local.ScrollingListDownButton
##include(Body)