<form class="form-horizontal" role=form>
    <h2>Trial Balance</h2>

    <div class="form-group">
        <label for="txtDate" class="col-md-2 control-label">Date</label>

        <div class="col-md-8">
            <div class="input-group">
                <input class="form-control" id="txtDate" type="text" datepicker-popup="dd-MMM-yyyy"
                       ng-model="info.Date"/>
                <span class="input-group-btn">
                    <button class="btn btn-default"><i class="glyphicon glyphicon-calendar"></i></button>
                </span>
            </div>
        </div>
        <div class="col-md-2">
            <button class="btn btn-info" ng-click="show()">Show <i class="glyphicon glyphicon-eye-open"></i></button>
        </div>
    </div>
    <table class="table table-condensed table-bordered table-striped">
        <thead>
        <tr>
            <th>Type</th>
            <th>Name</th>
            <th>Debit</th>
            <th>Credit</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="item in info.Body">
            <th>{{item.Type}}</th>
            <th><a href="{{item.Url}}">{{item.Name}}</a></th>
            <th>{{item.Debit}}</th>
            <th>{{item.Credit}}</th>
        </tr>
        </tbody>
    </table>
</form>
