@model Admin.Models.Transaction.DetailsViewModel @if (!Model.IsRefund) { if ((Model.Transaction.Transfers == null || !Model.Transaction.Transfers.Any())) {
No journals found

There are no journals found against this transaction.

} else {
@if (Model.Transaction.Transfers != null && Model.Transaction.FormattedTransfers.Any()) { foreach (var transfer in Model.Transaction.FormattedTransfers) { } }
Details From To Narrative Amount (£)
@Html.ActionLink(transfer.PspReference, "Details", new { id = transfer.PspReference })
@transfer.EntryDate
@(transfer.User != null ? transfer.User.DisplayName : transfer.UserCode.ToString())
@(transfer.Debit.FundCode != null ? string.Format("{0} ({1})", transfer.Debit.Fund.FundName, transfer.Debit.FundCode) : "")
@transfer.Debit.AccountReference
@(transfer.Credit.FundCode != null ? string.Format("{0} ({1})", transfer.Credit.Fund.FundName, transfer.Credit.FundCode) : "")
@transfer.Credit.AccountReference
@transfer.Narrative @Html.ToCurrency(transfer.Amount)
} }