@model PowderCoating.Core.Entities.BankReconciliation @using PowderCoating.Web.Controllers @{ ViewData["Title"] = $"Reconciliation Report - {Model.Account?.Name}"; var clearedDeposits = ViewBag.ClearedDeposits as IEnumerable ?? Enumerable.Empty(); var clearedPayments = ViewBag.ClearedPayments as List ?? new(); }
Back

Reconciliation Report

@Model.Account?.Name

Statement Date: @Model.StatementDate.ToString("MMMM d, yyyy")

@if (Model.CompletedAt.HasValue) {

Completed by @Model.CompletedBy on @Model.CompletedAt.Value.ToLocalTime().ToString("MMM d, yyyy")

}
Beginning Balance: @Model.BeginningBalance.ToString("C")
+ Cleared Deposits: @clearedDeposits.Sum(p => p.Amount).ToString("C")
– Cleared Payments: @clearedPayments.Sum(p => p.Amount).ToString("C")
Statement Ending Balance: @Model.EndingBalance.ToString("C")
Cleared Deposits (@clearedDeposits.Count())
@foreach (var p in clearedDeposits.OrderBy(p => p.PaymentDate)) { }
DateReferenceAmount
@p.PaymentDate.ToString("MMM d") @p.Reference @p.Amount.ToString("C")
Total@clearedDeposits.Sum(p=>p.Amount).ToString("C")
Cleared Payments (@clearedPayments.Count)
@foreach (var p in clearedPayments) { }
DateReferenceAmount
@p.Date.ToString("MMM d") @p.Reference @p.Amount.ToString("C")
Total@clearedPayments.Sum(p=>p.Amount).ToString("C")
@if (!string.IsNullOrWhiteSpace(Model.Notes)) {
Notes
@Model.Notes
}