@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new BoundFieldColumn { FieldName="ReceiptNo", HeaderText="收据号", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="PayTime", HeaderText="收费日期", Align=AlignStyle.Center, Formatter=Formatter.OnlyYearMonthDay },
new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationRegistrationConfirmNo", HeaderText="确认单号", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="项目", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="FeeTypeName", HeaderText="收费标准", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="StudentCount", HeaderText="人数", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="AmountString", HeaderText="金额", Align=AlignStyle.Center },
new BoundFieldColumn { FieldName="ReceiverName", HeaderText="开票人", Align=AlignStyle.Center }
},
IsAutoLoad = true,
DataSourceUrl = Url.Content("~/StudentFee/FinanceReport"),
OnLoadSuccessFun = "gridLoaded",
ID = "dgFinanceReportList",
IsPagination = true
})