<form method="post" autocomplete="off" class="form-horizontal">
    <legend>Profit & Loss</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="gvGridProfitLoss" class="control-label"></label>

        <div class="controls">
            <table id="gvGridProfitLoss" class="table table-condensed table-bordered table-striped">
                <thead>
                <tr>
                    <th>Group</th>
                    <th>Name</th>
                    <th>Amount</th>
                    <th>Total</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in info.ProfitLossBody">
                    <td>{{item.Group}}</td>
                    <td>{{item.Name}}</td>
                    <td class="right">{{item.SubAmount}}</td>
                    <td class="right">{{item.Amount}}</td>
                </tr>
                </tbody>
                <tfoot>
                <tr ng-repeat="item in info.ProfitLossFooter">
                    <td>{{item.Group}}</td>
                    <td>{{item.Name}}</td>
                    <td class="right">{{item.SubAmount}}</td>
                    <td class="right">{{item.Amount}}</td>
                </tr>
                </tfoot>
            </table>
        </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>Group</th>
                    <th>Name</th>
                    <th>Amount</th>
                    <th>Total</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="item in info.BalanceSheetBody">
                    <td>{{item.Group}}</td>
                    <td>{{item.Name}}</td>
                    <td class="right">{{item.SubAmount}}</td>
                    <td class="right">{{item.Amount}}</td>
                </tr>
                </tbody>
                <tfoot>
                <tr ng-repeat="item in info.BalanceSheetFooter">
                    <td>{{item.Group}}</td>
                    <td>{{item.Name}}</td>
                    <td class="right">{{item.SubAmount}}</td>
                    <td class="right">{{item.Amount}}</td>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>

</form>
