<ion-modal-view>
    <ion-header-bar class="bar bar-header">
        <button class="button button-clear button-calm" ng-click="cancel('m');">取消</button>
        <h1 class="title">选择要报销的消费</h1>
    </ion-header-bar>
    <ion-content>
        <!--<div class="item item-divider divider-font">本月</div>-->
        <ul class="list">
            <li class="item item-checkbox item-icon-right" ng-repeat="record in recordlist">
                <i class="icon" style="color:{{record.type_modal.icon_color}}" ng-class="record.type_modal.icon"></i>
                {{record.description}}
                <span class="item-note assertive">￥{{record.amount}}</span>
                <p>{{record.spend_date | date:'yyyy-MM-dd'}}</p>
                <label class="checkbox">
                    <input type="checkbox" ng-model="record.selected" ng-click="selectRecord(record)">
                </label>
            </li>
        </ul>
    </ion-content>
    <div class="bar bar-footer bar-dark footer-div record-count-div">
        <span class="record-count-span">合计：￥<label for="">{{amountSum}}</label></span>
        <button ng-click="ok();" class="button pull-right button-calm" ng-disabled="amountSum==0">确定</button>
    </div>
</ion-modal-view>
