Skip to content

Commit

Permalink
+ (Finance) Fixed Pledge List to always display the scheduled transac…
Browse files Browse the repository at this point in the history
…tion even if no 'Date Range' entered. (Fixes #3423)
  • Loading branch information
shivambareria committed Jun 18, 2023
1 parent d0bfb8b commit a04c67d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RockWeb/Blocks/Finance/PledgeList.ascx.cs
Expand Up @@ -194,12 +194,12 @@ private void GPledges_RowDataBound( object sender, System.Web.UI.WebControls.Gri
var pledge = ( FinancialPledge ) e.Row.DataItem;
if ( pledge.StartDate == DateTime.MinValue )
{
var cell = e.Row.Cells[4].Text = string.Empty;
var cell = e.Row.Cells[5].Text = string.Empty;
}

if ( pledge.EndDate.ToShortDateString() == DateTime.MaxValue.ToShortDateString() )
{
var cell = e.Row.Cells[5].Text = string.Empty;
var cell = e.Row.Cells[6].Text = string.Empty;
}
}
}
Expand Down

0 comments on commit a04c67d

Please sign in to comment.