@model PantheonRA.BackOffice.Models.Reports.IssuedBillsListViewModel<PantheonRA.BackOffice.Models.Reports.IssuedBillsFilterModel>
@{
    Layout = null;
}

<div class="document-list">
    <table id="grid-data" data-grid-id="issued-bills-unconfirmed" class="list-table" data-url="@Url.Action("IssuedBillsUnconfirmedData", "Reports")">
        <thead>
            <tr>
                <th class="dt-head-center"><input type="checkbox" onclick="selectAllUnconfirmed(this);"></th>
                <th data-url="@Url.Action("PrintPreview", "CashRegister")?returnUrl=@(Url.Action("IssuedBills", "CashRegister"))&id="
                    data-url-1="@Url.Action("Edit", "Wholesale")?returnUrl=@(Url.Action("IssuedBillsBilling", "Wholesale"))&id=">
                    @Loc.Document
                </th>
                <th>@Loc.Type</th>
                <th class="dt-head-right">@Loc.Total</th>
                <th>@Loc.Office</th>
                <th>@Loc.FiscDeviceShort</th>
                <th>@Loc.FiscNumShort</th>
                <th>@Loc.DateOfIssue</th>
                <th>@Loc.ErrorDescription</th>
            </tr>
        </thead>
    </table>
</div>

<div class="row document-footer document-footer-sm">
    <div class="col-xs-9">
        <div class="form-group">
            <span class="pull-left m-r-md"><span>@Loc.NumberOfInvoices:</span> <b class="grid-data-total-items"></b></span>
            <span class="pull-left"><span>@Loc.Selected:</span> <b class="grid-data-selected-items-count"></b></span>
        </div>
    </div>
    <div class="col-xs-3 document-head-highlight-input">
        <div class="form-group text-right">
            <span>@Loc.TotalWithTax:</span> <label id="grid-data-vat-total-sum"></label>
        </div>
    </div>
</div>

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