Skip to content

Commit

Permalink
- (Core) Fixed formatting on Batch List block to close unclosed <b> tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjohnson committed Jul 10, 2023
1 parent 10bb43c commit db97962
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions RockWeb/Blocks/Finance/BatchList.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ namespace RockWeb.Blocks.Finance
[BooleanField( "Show Accounting Code", "Should the accounting code column be displayed.", false, "", 1 )]
[BooleanField( "Show Accounts Column", "Should the accounts column be displayed.", true, "", 2 )]
[CodeEditorField( "Summary Lava Template", "The lava template for display the content for summary", CodeEditorMode.Lava, CodeEditorTheme.Rock, order: 3, defaultValue: @"
<div class='panel panel-block'>
<div class='panel-heading'>
<h1 class='panel-title'>Total Results</h1>
<div class=""panel panel-block"">
<div class=""panel-heading"">
<h1 class=""panel-title"">Total Results</h1>
</div>
<div class='panel-body'>
<div class=""panel-body"">
{% assign totalAmount = 0 %}
{% for batchSummary in BatchSummary %}
<div class='row'>
<div class='col-xs-8'>{{ batchSummary.FinancialAccount.Name }}</div>
<div class='col-xs-4 text-right'>{{ batchSummary.TotalAmount | FormatAsCurrency }}</div>
<div class=""row"">
<div class=""col-xs-8"">{{ batchSummary.FinancialAccount.Name }}</div>
<div class=""col-xs-4 text-right"">{{ batchSummary.TotalAmount | FormatAsCurrency }}</div>
</div>
{% assign totalAmount = totalAmount | Plus: batchSummary.TotalAmount %}
{% assign totalAmount = totalAmount | Plus:batchSummary.TotalAmount %}
{% endfor %}
<div class='row'>
<div class='col-xs-8'><b>Total: </div>
<div class='col-xs-4 text-right'>
{{ totalAmount | FormatAsCurrency }}
<div class=""row"">
<div class=""col-xs-8""><b>Total:</b></div>
<div class=""col-xs-4 text-right"">
<b>{{ totalAmount | FormatAsCurrency }}</b>
</div>
</div>
</div>
Expand Down

0 comments on commit db97962

Please sign in to comment.