@using Zap.BI.Portal.Pages.Printing

@model IScorecardPrintModel

<div class="CompositeKpiView">
    <table class="scorecard-table dxtlControl_SC">
        <thead>
            <tr>
                <th class="scorecard-header indent dxtlHeader_SC"></th>
@foreach (ScorecardItemColumnPrintModel header in Model.Headers)
{ 
                <th class="scorecard-header @Html.Raw(header.Name) dxtlHeader_SC dxtl">@(header.Value)</th>
}
            </tr>
        </thead>
        <tbody>
@for (int index = 0; index < Model.Items.Count; index++)
{ 
            <tr class="@(index % 2 == 0 ? "dxtlNode_SC" : "dxtlAltNode_SC")">
                @Html.Partial("~/Views/Scorecard/ScorecardItemPrint.cshtml", Model.Items[index])
            </tr>
}
        </tbody>
    </table>
</div>

