@model PantheonRA.BackOffice.Models.EmployeesGridFilterModel
@{
    ViewBag.Title = Loc.PaySlips;
}

<div class="wrapper wrapper-content">
    <div class="tabs-container">
        @Html.Partial("_EmployeesTabNavigation")
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox">
                    <div class="ibox-content">
                        <div class="employees-list">
                            <table id="mainGrid" data-grid-id="employees-salary" data-url="@Url.Action("SalaryList", "Employees")" class="list-table">
                                <thead>
                                    <tr>
                                        <th data-url="@Url.Action("GetEmployeePayroll", "Employees")">@Loc.Code</th>
                                        <th>@Loc.Period</th>
                                        <th>@Loc.PaymentDate</th>
                                        <th>@Loc.AccountingDate</th>
                                        <th>@Loc.Name</th>
                                        <th>@Loc.Status</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

@section pageScripts{
    @* TODO: remove after refactor *@
    @Scripts.Render("~/bundles/validation")
    <script src="~/Scripts/global-script.js"></script>

    @Scripts.Render("~/bundles/cadres")
    <script>
        $(document).ready(function () {
            initializeSalary();
        });
    </script>
}