<form method="post" autocomplete="off" class="form-horizontal">
    <legend>Raw Material Cost Detail</legend>
    <div class="control-group">
        <label for="txtStartDate" class="control-label">Date</label>

        <div class="controls">
            <datepicker id="txtStartDate" model="info.StartDate" ng-model="info.StartDate"></datepicker>
            <datepicker id="txtFinishDate" model="info.FinishDate" ng-model="info.FinishDate"></datepicker>
            <button class="btn btn-info" ng-click="show()">Show <i class="icon-eye-open icon-white"></i></button>
        </div>
    </div>
    <div class="control-group">
        <label for="gvGrid" class="control-label"></label>

        <div class="controls">
            <table id="gvGrid" class="table table-condensed table-bordered table-striped">
                <thead>
                <tr>
                    <th>Product</th>
                    <th>Group</th>
                    <th class="right">Quantity</th>
                    <th class="right">Net</th>
                    <th class="right">Gross</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in info.Body" ng-class="{true:'error', false:''}[item.Heading]">
                    <td><a href="{{item.Url}}">{{item.Name}}</a></td>
                    <td>{{item.Group}}</td>
                    <td class="right">{{item.Quantity}}</td>
                    <td class="right">{{item.Net}}</td>
                    <td class="right">{{item.Gross}}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</form>
