@model PantheonRA.BackOffice.Models.Reports.IssuedBillsListViewModel<PantheonRA.BackOffice.Models.Reports.IssuedBillsByCategoriesFilterModel>

@{
    Layout = null;
}

<div class="document-list">
    <table id="grid-data" data-grid-id="issued-bills-by-categories" class="list-table" data-url="@Url.Action("IssuedBillsByCategoriesData", "Reports")">
        <thead>
            <tr>
                <th>@Loc.Category</th>
                <th>@Loc.Name</th>
                <th>@Loc.Type</th>
                <th>@Loc.Quantity</th>
                <th>@Loc.ValueWithoutTax</th>
                <th>@Loc.VAT</th>
                <th>@Loc.ValueWithTax</th>
            </tr>
        </thead>
    </table>
</div>
<div class="flat well text-right" style="padding-right:10px;">
    <strong>@Loc.Total.ToUpper() (<span class="grid-data-start-items"></span> @Loc.To.ToLower() <span class="grid-data-total-items"></span>): </strong><span id="grid-data-total-sum"></span>&nbsp;
    <strong>@Loc.VAT (<span class="grid-data-start-items"></span> @Loc.To.ToLower() <span class="grid-data-total-items"></span>): </strong><span id="grid-data-vat-sum"></span>&nbsp;
    <strong>@Loc.TotalWithTax (<span class="grid-data-start-items"></span> @Loc.To.ToLower() <span class="grid-data-total-items"></span>): </strong><span id="grid-data-vat-total-sum"></span>
</div>

<input id="ExportUrl" type="hidden" value="@Url.Action("IssuedBillsByCategoriesExport", "Reports")" />