##if request.IsEqual(SubStyle,"ChangeContact") ##include(ChangeContact) ##else ##local.define(Header) ##include(Header) ##if sessioncfg.WEBOPAC.SelfService.ViewSubscription ##if Value.SubsEnabledInRsp ##local.Define(ShowCurrentSubs)1 ##if Value.IsEqual(NextSubs.Status,4) ##local.Define(ShowNextSubs)1 ##endif ##endif ##endif ##local.define(OfferOnlinePayment)0 ##local.define(WebPaymentsEnabled)0 ##if sessioncfg.WEBOPAC.SelfService.WebPayments.Enabled ##local.define(WebPaymentsEnabled)1 ##endif ##if Value.IsEqual(BrwrNum,"B20 967 241 8") ##local.define(WebPaymentsEnabled)1 ##endif ##if local.IsEqual(WebPaymentsEnabled,1) ##if Value.InDebit ##if Value.IsLessAsInteger(PosAccBalAsDecimalUnits,##sessioncfg.WEBOPAC.SelfService.WebPayments.MinimumDebt) ##else ##if request.CookieIsEqual(SID,##request.Cookie(SID)) ##local.define(OfferOnlinePayment)1 ##if sessioncfg.IsEqual(WEBOPAC.SelfService.WebPayments.DisabledPeriodStartTime,"") ##else ##if sessioncfg.IsEqual(WEBOPAC.SelfService.WebPayments.DisabledPeriodEndTime,"") ##else ##if formatter.TimeNowHHMMIsBetween(##sessioncfg.WEBOPAC.SelfService.WebPayments.DisabledPeriodStartTime,##sessioncfg.WEBOPAC.SelfService.WebPayments.DisabledPeriodEndTime) ##local.define(OfferOnlinePayment)0 ##endif ##endif ##endif ##endif ##endif ##endif ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,"") ##local.define(ShowSummary)1 ##local.define(ShowBackButton)0 ##local.define(ShowButtons)1 ##else ##local.define(ShowSummaryButton)1 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPayment) ##local.define(ShowSummary)0 ##local.define(ShowBackButton)1 ##local.define(ShowButtons)0 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentGood) ##local.define(ShowSummary)1 ##local.define(ShowBackButton)0 ##local.define(ShowButtons)1 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentBad) ##local.define(ShowSummary)1 ##local.define(ShowBackButton)0 ##local.define(ShowButtons)1 ##local.define(ShowSummaryButton)0 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentReceipt) ##local.define(ShowSummary)0 ##local.define(ShowBackButton)1 ##local.define(ShowButtons)0 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##local.define(ShowSummary)1 ##local.define(ShowBackButton)1 ##local.define(ShowButtons)1 ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowSubs) ##local.define(ShowSummary)1 ##local.define(ShowBackButton)1 ##local.define(ShowButtons)1 ##endif ##if local.IsEqual(ShowBackButton,0) ##else ##local.define(BackButton) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=Refetch&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)<< ##leg.WEBOPAC.Defaults.Button.GoBack ##local.CommandButtonFMT ##endif ##local.define(Advice) ##if this.StyleSetAttributeIsEqual(SubStyle,"") ##leg.OPAC.Baccount.Prompt ##if local.IsEqual(OfferOnlinePayment,1)
##if Value.IsEqual(EmailAddress,"") ##if sessioncfg.WEBOPAC.SelfService.ViewContactDetails ##if sessioncfg.WEBOPAC.SelfService.ChangeContactDetails ##local.define(QuickLink) ##leg.WEBOPAC.WebPayments.Prompts.EmailAddressRequiredQuickLinkText ##leg.WEBOPAC.WebPayments.Prompts.EmailAddressRequired ##leg.Expand(WEBOPAC.WebPayments.Prompts.EmailAddressRequiredQuickLink,Link,##local.QuickLink) ##endif ##endif ##else ##leg.Expand(WEBOPAC.WebPayments.Prompts.General,ButtonText,##leg.WEBOPAC.WebPayments.Buttons.SettleOnline) ##endif ##endif ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPayment) ##leg.Expand(WEBOPAC.WebPayments.Prompts.PrePayment,ButtonText,##leg.WEBOPAC.WebPayments.Buttons.Proceed) ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentGood)

##leg.WEBOPAC.WebPayments.Prompts.ThankYou

##leg.WEBOPAC.WebPayments.Prompts.BalanceAdjusted ##if receipt.HaveExcess

##leg.Expand(WEBOPAC.WebPayments.Prompts.HaveExcess,ExcessAmount,##receipt.ExcessPayment)

##endif
##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=WebPaymentReceipt&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.WEBOPAC.WebPayments.Buttons.ViewReceipt ##local.CommandButtonFMT  

##leg.OPAC.Baccount.Prompt ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentBad)

##leg.WEBOPAC.WebPayments.Prompts.PaymentFailed

##leg.WEBOPAC.WebPayments.Prompts.BalanceNotAdjusted
##leg.Expand(WEBOPAC.WebPayments.Prompts.ToRetry,ButtonText,##leg.WEBOPAC.WebPayments.Buttons.SettleOnline)
##leg.OPAC.Baccount.Prompt ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentReceipt) ##leg.WEBOPAC.WebPayments.Prompts.Receipt ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##leg.OPAC.Baccount.Prompt ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowSubs) ##leg.OPAC.Baccount.Prompt ##endif
##local.define(ShowBGTasks)1 ##local.define(ContactDetails) ##if this.StyleSetAttributeIsEqual(Locale,L_GR) ##local.define(Name)##leg.OPAC.ContactDetails.Fao ##local.define(Value)##Value.Fao ##local.PartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Street ##local.define(Value)##Value.AddressLine1 ##local.BrowseItemPartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Postcodeandtown ##local.define(Value)##Value.Postcode ##Value.AddressLine2 ##local.PartTemplate ##if Value.IsEqual(AddressLine3,"") ##else ##local.define(Name)  ##local.define(Value)##Value.AddressLine3 ##local.PartTemplate ##endif ##else ##if this.StyleSetAttributeIsEqual(Locale,L_NL) ##local.define(Name)##leg.OPAC.ContactDetails.Street ##local.define(Value)##Value.AddressLine1 ##Value.HouseNumber ##Value.HouseLetter ##Value.BoatNumber ##local.BrowseItemPartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Postcodeandtown ##local.define(Value)##Value.Postcode ##Value.AddressLine2 ##local.PartTemplate ##if Value.IsEqual(Country,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Country ##local.define(Value)##Value.Country ##local.PartTemplate ##endif ##local.define(Name)##leg.OPAC.ContactDetails.Fao ##local.define(Value)##Value.Fao ##local.PartTemplate ##else ##local.define(Name)##leg.OPAC.ContactDetails.Address ##local.define(Value)##Value.AddressLine1 ##local.BrowseItemPartTemplate ##local.define(Name)  ##local.define(Value)##Value.AddressLine2 ##local.PartTemplate ##local.define(Name)  ##local.define(Value)##Value.AddressLine3 ##local.PartTemplate ##if Value.IsEqual(Postcode,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Postcode ##local.define(Value)##Value.Postcode ##local.PartTemplate ##endif ##if Value.IsEqual(Country,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Country ##local.define(Value)##Value.Country ##local.PartTemplate ##endif ##endif ##endif ##if Value.IsEqual(TelephoneNumber,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonehome ##local.define(Value)##Field.TelephoneNumber ##local.PartTemplate ##endif ##if Value.IsEqual(TelephoneNumberWork,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonework ##local.define(Value)##Field.TelephoneNumberWork ##local.PartTemplate ##endif ##if Value.IsEqual(MobilePhone,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonemobile ##local.define(Value)##Field.MobilePhone ##local.PartTemplate ##endif ##if Value.IsEqual(FaxNumber,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Fax ##local.define(Value)##Field.FaxNumber ##local.PartTemplate ##endif ##if Value.IsEqual(EmailAddress,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Emailaddress ##local.define(Value)##Value.EmailAddress ##local.PartTemplate ##endif ##if Value.IsEqual(2Surname,"") ##else ##local.define(ShowSecondaryDetails)1 ##endif ##if Value.IsEqual(2AddressLine1,"") ##else ##local.define(ShowSecondaryDetails)1 ##endif ##if local.ShowSecondaryDetails ##local.define(Name)  ##local.define(Value)  ##local.BrowseItemPartTemplate ##endif ##if Value.IsEqual(2Surname,"") ##else ##local.define(Name) ##leg.OPAC.Baccount.BrowseItem.Name ##local.define(Value) ##Value.2Title ##Value.2Forename ##Value.2Prefix ##Value.2Surname ##local.BrowseItemPartTemplate ##endif ##if Value.IsEqual(2AddressLine1,"") ##else ##if this.StyleSetAttributeIsEqual(Locale,L_GR) ##local.define(Name)##leg.OPAC.ContactDetails.Fao ##local.define(Value)##Value.2Fao ##local.PartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Street ##local.define(Value)##Value.2AddressLine1 ##local.BrowseItemPartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Postcodeandtown ##local.define(Value)##Value.2Postcode ##Value.2AddressLine2 ##local.PartTemplate ##if Value.IsEqual(2AddressLine3,"") ##else ##local.define(Name)  ##local.define(Value)##Value.2AddressLine3 ##local.PartTemplate ##endif ##else ##if this.StyleSetAttributeIsEqual(Locale,L_NL) ##local.define(Name)##leg.OPAC.ContactDetails.Street ##local.define(Value)##Value.2AddressLine1 ##Value.2HouseNumber ##Value.2HouseLetter ##Value.2BoatNumber ##local.BrowseItemPartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Postcodeandtown ##local.define(Value)##Value.2Postcode ##Value.2AddressLine2 ##local.PartTemplate ##local.define(Name)##leg.OPAC.ContactDetails.Fao ##local.define(Value)##Value.2Fao ##local.PartTemplate ##else ##local.define(Name)##leg.OPAC.ContactDetails.Address ##local.define(Value)##Value.2AddressLine1 ##local.BrowseItemPartTemplate ##local.define(Name)  ##local.define(Value)##Value.2AddressLine2 ##local.PartTemplate ##local.define(Name)  ##local.define(Value)##Value.2AddressLine3 ##local.PartTemplate ##if Value.IsEqual(2Postcode,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Postcode ##local.define(Value)##Value.2Postcode ##local.PartTemplate ##endif ##endif ##endif ##if Value.IsEqual(2TelephoneNumber,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonehome ##local.define(Value)##Field.2TelephoneNumber ##local.PartTemplate ##endif ##if Value.IsEqual(2TelephoneNumberWork,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonework ##local.define(Value)##Field.2TelephoneNumberWork ##local.PartTemplate ##endif ##if Value.IsEqual(2MobilePhone,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Telephonemobile ##local.define(Value)##Field.2MobilePhone ##local.PartTemplate ##endif ##if Value.IsEqual(2FaxNumber,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Fax ##local.define(Value)##Field.2FaxNumber ##local.PartTemplate ##endif ##if Value.IsEqual(2EmailAddress,"") ##else ##local.define(Name)##leg.OPAC.ContactDetails.Emailaddress ##local.define(Value)##Value.2EmailAddress ##local.PartTemplate ##endif ##endif ##local.define(SubsDetails) ##if Value.SubsEnabledInRsp ##if local.ShowCurrentSubs ##if local.ShowNextSubs ##local.define(Name)##leg.OPAC.Subscription.CurrentScheme ##local.define(Value)##Field.CurrentSubs.Scheme ##local.PartTemplate ##else ##local.define(Name)##leg.OPAC.Subscription.Scheme ##local.define(Value)##Field.CurrentSubs.Scheme ##local.PartTemplate ##endif ##local.define(Name)##leg.OPAC.Subscription.Period ##local.define(Value)##Field.CurrentSubs.Start ##leg.OPAC.Subscription.To ##Field.CurrentSubs.Expiry ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Cost ##local.define(Value)##Field.CurrentSubs.Amount ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Method ##local.define(Value)##Field.CurrentSubs.Method ##local.PartTemplate ##local.define(Name) ##if Value.IsEqual(CurrentSubs.Status,2) ##if Value.IsEqual(Keys.Pay,0) ##leg.OPAC.Subscription.Status ##else ##leg.OPAC.Subscription.Status ##endif ##else ##leg.OPAC.Subscription.Status ##endif ##local.define(Value) ##if Value.IsEqual(CurrentSubs.Status,2) ##if Value.IsEqual(Keys.Pay,0) ##Field.CurrentSubs.Status ##leg.OPAC.Subscription.On ##Field.CurrentSubs.Change ##else ##Field.CurrentSubs.Status ##leg.OPAC.Subscription.On ##Field.CurrentSubs.Change ##endif ##else ##Field.CurrentSubs.Status ##leg.OPAC.Subscription.On ##Field.CurrentSubs.Change ##endif ##local.PartTemplate ##endif ##if local.ShowNextSubs ##local.define(Name)##leg.OPAC.Subscription.NextScheme ##local.define(Value)##Field.NextSubs.Scheme ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Period ##local.define(Value)##Field.NextSubs.Start ##leg.OPAC.Subscription.To ##Field.NextSubs.Expiry ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Cost ##local.define(Value)##Field.NextSubs.Amount ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Method ##local.define(Value)##Field.NextSubs.Method ##local.PartTemplate ##local.define(Name)##leg.OPAC.Subscription.Status ##local.define(Value) ##if Value.IsEqual(NextSubs.Status,2) ##Field.NextSubs.Status ##leg.OPAC.Subscription.On ##Field.NextSubs.Change ##else ##Field.NextSubs.Status ##leg.OPAC.Subscription.On ##Field.NextSubs.Change ##endif ##local.PartTemplate ##endif ##endif ##local.define(Content) ##local.define(Title) ##if this.StyleSetAttributeIsEqual(SubStyle,"") ##leg.OPAC.Baccount.Title - ##leg.OPAC.Baccount.Subtitle.Summary ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPayment) ##leg.WEBOPAC.WebPayments.Titles.PrePayment ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentGood) ##leg.OPAC.Baccount.Title ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentBad) ##leg.OPAC.Baccount.Title ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentReceipt) ##leg.WEBOPAC.WebPayments.Titles.Receipt ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##leg.OPAC.Baccount.Title - ##leg.OPAC.Baccount.Subtitle.ContactDetails ##endif ##if this.StyleSetAttributeIsEqual(SubStyle,ShowSubs) ##leg.OPAC.Baccount.Title - ##leg.OPAC.Baccount.Subtitle.Subscription ##endif ##local.define(List) ##if local.IsEqual(ShowButtons,0) ##else
##if local.IsEqual(ShowSummaryButton,1) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Summary ##local.CommandButtonFMT ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewSubscription ##if Value.SubsEnabledInRsp ##if this.StyleSetAttributeIsEqual(SubStyle,ShowSubs) ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=ShowSubs&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Subscription ##local.CommandButtonFMT ##endif ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewContactDetails ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=ShowAddress&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.ViewAddress ##local.CommandButtonFMT ##endif ##endif ##if local.IsEqual(WebPaymentsEnabled,1) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowCredits&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText) ##leg.WEBOPAC.CreditBrowse.BrowseWebPaymentsButton ##local.CommandButtonFMT ##else ##if Value.CreditAllowed ##if sessioncfg.WEBOPAC.SelfService.ViewCredit ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowCredits&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Credits ##local.CommandButtonFMT ##endif ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewAccount ##local.define(CommandButtonGraphic) ##if sessioncfg.WEBOPAC.BrowseOptions.ShowATDetailsInAccountBrowse ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowExpandedAccount&BrowseAsHloc=##local.thisLoc ##else ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowAccount&BrowseAsHloc=##local.thisLoc ##endif ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Accounts ##local.CommandButtonFMT ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewLoans ##if Value.ItemsOnLoan.0.Value ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowLoans&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Loans ##local.CommandButtonFMT ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ViewReservations ##if Value.NumberOfRes ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ShowReservations&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.Reservations ##local.CommandButtonFMT ##endif ##endif
 
##if local.IsEqual(ShowSummaryButton,1) ##else ##if local.IsEqual(WebPaymentsEnabled,1) ##if local.IsEqual(OfferOnlinePayment,1) ##if Value.IsEqual(EmailAddress,"") ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=WebPayment&Method=PrepareToWebPay&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.WEBOPAC.WebPayments.Buttons.SettleOnline ##local.CommandButtonFMT ##endif ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ChangePIN ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=&Method=ChangePin&Parent=##this.urlencoded&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.ChangePin ##local.CommandButtonFMT ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ChangeContactDetails ##if this.StyleSetAttributeIsEqual(SubStyle,ShowAddress) ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)##this&SubStyle=ChangeContact&BrowseAsHloc=##local.thisLoc ##local.define(CommandButtonText)##leg.OPAC.Baccount.Button.ChangeAddress ##local.CommandButtonFMT ##endif ##endif
 
##endif
##if this.StyleSetAttributeIsEqual(SubStyle,WebPayment)

##leg.WEBOPAC.WebPayments.PrePaymentForm.Title

##leg.WEBOPAC.WebPayments.PrePaymentForm.Details
##leg.WEBOPAC.WebPayments.PrePaymentForm.Name ##Value.Title ##Value.Forename ##Value.Prefix ##Value.Surname
##leg.WEBOPAC.WebPayments.PrePaymentForm.CardNumber ##Value.BrwrNum
##leg.WEBOPAC.WebPayments.PrePaymentForm.Charges
##leg.WEBOPAC.WebPayments.PrePaymentForm.OutstandingBalance ##Value.PosAccBalAmount

##leg.WEBOPAC.WebPayments.PrePaymentForm.Total ##Value.PosAccBalAmount
##leg.WEBOPAC.WebPayments.PrePaymentForm.VATMessage ##leg.WEBOPAC.WebPayments.PrePaymentForm.ChargeClarification


##leg.WEBOPAC.WebPayments.PrePaymentForm.ButtonPrompt
##leg.WEBOPAC.WebPayments.PrePaymentForm.PaymentRequirements
##endif ##if this.StyleSetAttributeIsEqual(SubStyle,WebPaymentReceipt)

##leg.WEBOPAC.WebPayments.Receipt.Title

##leg.WEBOPAC.WebPayments.Receipt.Date ##formatter.DateNowInEnglishFormat
##leg.WEBOPAC.WebPayments.PrePaymentForm.Name ##Value.Title ##Value.Forename ##Value.Prefix ##Value.Surname
##leg.WEBOPAC.WebPayments.PrePaymentForm.CardNumber ##Value.BrwrNum

##local.define(LineTemplate) ##if local.IsEqual(_Accumulated,1) ##leg.WEBOPAC.WebPayments.Receipt.AccumulatedCharges ##else ##local._Type ( ##local._Branch, ##local._Date ) ##endif ##local._Paid ##receipt.With(Transactions,"TransactionMap") ##Transactions.ForEachIn(Transaction,"") ##local.defineByRender(_Paid) ##Transaction.Paid ##if Transaction.Accumulated ##local.define(_Accumulated)1 ##else ##local.define(_Accumulated)0 ##Transaction.With(Details,"Details") ##local.defineByRender(_Branch) ##Details.BranchName ##local.defineByRender(_Type) ##sessioncfg.With(Entry,Enum.AccountTransactionType) ##Entry.With(Data,##Details.TransactionID) ##Data.text ##local.defineByRender(_Charge) ##Details.Debit ##local.defineByRender(_Date) ##Details.CreationDate ##endif ##local.LineTemplate ##if receipt.HaveExcess ##endif
##leg.WEBOPAC.WebPayments.Receipt.AccountCharges

##leg.WEBOPAC.WebPayments.Receipt.Total ##receipt.AmountPaid
(##leg.WEBOPAC.WebPayments.Receipt.VATMessage)

##leg.WEBOPAC.WebPayments.Receipt.PaymentReceived ##receipt.Amount

##leg.WEBOPAC.WebPayments.Receipt.ExcessPayment
(##leg.WEBOPAC.WebPayments.Receipt.ExcessMessage)
##receipt.ExcessPayment

##leg.WEBOPAC.WebPayments.Receipt.PaymentThanks
##leg.WEBOPAC.WebPayments.Receipt.ReferencePrompt
##receipt.PaymentReference

##endif ##if local.IsEqual(ShowSummary,1) ##local.define(BrowseItem) ##local.define(PartTemplate) ##local.defineByRender(temp)##local.Value ##if local.IsEqual(temp,"") ##else ##local.BrowseItemPartTemplate ##endif ##local.define(Name) ##leg.OPAC.Baccount.BrowseItem.Name ##local.define(Value) ##Value.Title ##Value.Forename ##Value.Prefix ##Value.Surname ##local.BrowseItemPartTemplate ##local.define(Name) ##leg.OPAC.Baccount.BrowseItem.CardNumber ##local.define(Value) ##Value.BrwrNum ##local.BrowseItemPartTemplate ##if request.IsEqual(SubStyle,"ShowAddress") ##local.ContactDetails ##else ##if request.IsEqual(SubStyle,"ShowSubs") ##local.SubsDetails ##else ##if sessioncfg.WEBOPAC.SelfService.ShowSubscriptionStatus ##if Value.SubsEnabledInRsp ##local.define(Name) ##if Value.IsEqual(CurrentSubs.Status,2) ##leg.OPAC.Baccount.BrowseItem.Subscription ##else ##leg.OPAC.Baccount.BrowseItem.Subscription ##endif ##local.define(Value) ##if sessioncfg.WEBOPAC.SelfService.ViewSubscription ##Field.CurrentSubs.Status ##if Value.CurrentSubs.Change ##leg.OPAC.Baccount.BrowseItem.SubscriptionOn ##Field.CurrentSubs.Change ##endif ##else ##Field.CurrentSubs.Status ##if Value.CurrentSubs.Change ##leg.OPAC.Baccount.BrowseItem.SubscriptionOn ##Field.CurrentSubs.Change ##endif ##endif ##local.BrowseItemPartTemplate ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ShowAccountBalance ##local.define(Name) ##if Value.InDebit ##if request.IsEqual(Return,"1") ##if sessioncfg.WEBOPAC.SelfService.ShowCreditBalance ##leg.OPAC.Baccount.BrowseItem.Debt ##else ##leg.OPAC.Baccount.BrowseItem.AccountBalance ##endif ##else ##if sessioncfg.WEBOPAC.SelfService.ShowCreditBalance ##leg.OPAC.Baccount.BrowseItem.Debt ##else ##leg.OPAC.Baccount.BrowseItem.AccountBalance ##endif ##endif ##else ##if sessioncfg.WEBOPAC.SelfService.ShowCreditBalance ##leg.OPAC.Baccount.BrowseItem.Debt ##else ##leg.OPAC.Baccount.BrowseItem.AccountBalance ##endif ##endif ##local.define(Value) ##if sessioncfg.WEBOPAC.SelfService.ViewAccount ##if request.IsEqual(Return,"1") £ 0.00 ##else ##if sessioncfg.WEBOPAC.BrowseOptions.ShowATDetailsInAccountBrowse ##Field.AccountBalance ##else ##Field.AccountBalance ##endif ##endif ##else ##Field.AccountBalance ##endif ##local.BrowseItemPartTemplate ##endif ##if Value.CreditAllowed ##if sessioncfg.WEBOPAC.SelfService.ShowCreditBalance ##if Value.CreditMandatory ##local.define(Name)##leg.OPAC.Baccount.BrowseItem.MandatoryCreditBalance ##local.define(Value) ##if sessioncfg.WEBOPAC.SelfService.ViewCredit ##Field.MandatoryCreditBalance ##else ##Value.MandatoryCreditBalance ##endif ##local.BrowseItemPartTemplate ##endif ##local.define(Name)##leg.OPAC.Baccount.BrowseItem.CreditBalance ##local.define(Value) ##if sessioncfg.WEBOPAC.SelfService.ViewCredit ##Field.CreditBalance ##else ##Value.CreditBalance ##endif ##local.BrowseItemPartTemplate ##endif ##endif ##if sessioncfg.WEBOPAC.SelfService.ShowLoansTotal ##local.define(Name) ##leg.OPAC.Baccount.BrowseItem.OnLoan ##local.define(Value) ##if Value.ItemsOnLoan.0.Value ##if sessioncfg.WEBOPAC.SelfService.ViewLoans ##Value.ItemsOnLoan.0.Value ##else ##Value.ItemsOnLoan.0.Value ##endif ##else ##leg.OPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##if sessioncfg.WEBOPAC.SelfService.ShowReservationsTotal ##local.define(Name) ##leg.OPAC.Baccount.BrowseItem.Reservations ##local.define(Value) ##if Value.NumberOfRes ##if sessioncfg.WEBOPAC.SelfService.ViewReservations ##Value.NumberOfRes ##else ##Value.NumberOfRes ##endif ##else ##leg.OPAC.Baccount.BrowseItem.None ##endif ##local.BrowseItemPartTemplate ##endif ##endif ##endif ##local.BrowseItemContainerTemplate ##endif
##local.define(BottomButtons) ##include(Layout)
##include(Body) ##endif