@model Rs_system.Models.ViewModels.EstadoCuentaViewModel @{ ViewData["Title"] = "Estado de Cuenta"; }

Estado de Cuenta

@Model.NombreMiembro

Volver

ESTADO DE CUENTA DE COLABORACIONES

@Model.NombreMiembro

Fecha de consulta: @Model.FechaConsulta.ToString("dd/MM/yyyy HH:mm")


Total Aportado

$@Model.TotalAportado.ToString("N2")

@if (Model.HistorialPorTipos.Any()) { @foreach (var historial in Model.HistorialPorTipos) {
@historial.TipoNombre
Total: $@historial.TotalTipo.ToString("N2")
@foreach (var registro in historial.Registros.OrderByDescending(r => r.Anio).ThenByDescending(r => r.Mes)) { }
Mes / Año Fecha de Pago Monto
@registro.MesTexto @registro.FechaRegistro.ToString("dd/MM/yyyy") $@registro.Monto.ToString("N2")
Subtotal @historial.TipoNombre: $@historial.TotalTipo.ToString("N2")
}

TOTAL GENERAL

$@Model.TotalAportado.ToString("N2")

} else {
Este miembro aún no tiene colaboraciones registradas.
}

Este documento es un comprobante de colaboraciones realizadas

Generado el @DateTime.Now.ToString("dd/MM/yyyy HH:mm")

@section Scripts { }