<div ng-controller="RequestInfo.ExemptionController">
    <div class="panel panel-success panel-grid">
        <div class="panel-heading">
            <div class="panel-title">
                <span translate>requests.comp.exemption.title</span>
                <div class="pull-right">
                    <button class="btn btn-default btn-xs" ng-click="checkCodesDescription()">
                        <span translate>requests.comp.exemption.description</span></button>
                    <button type="button" class="btn btn-default btn-xs" ng-click="refresh()">
                        <i class="fa fa-lg fa-refresh"></i>
                    </button>
                    <button type="button" class="btn btn-default btn-xs" ng-click="addNew()"
                            ng-disabled="isDisabled">
                        <i class="fa fa-lg fa-plus"></i>
                    </button>
                </div>
            </div>
        </div>
        <div class="panel-body">
            <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination
                    adjust-table-height="gridOptions.data.length" class="grid"></div>
        </div>
    </div>
    <div class="panel panel-success panel-grid">
        <div class="panel-heading">
            <div class="panel-title">
                <span translate>requests.comp.exemptionStatute.title</span>
                <div class="pull-right">
                    <button type="button" class="btn btn-default btn-xs" ng-click="refreshStatute()">
                        <i class="fa fa-lg fa-refresh"></i>
                    </button>
                    <button type="button" class="btn btn-default btn-xs" ng-click="addNewStatute()"
                            ng-disabled="isDisabled">
                        <i class="fa fa-lg fa-plus"></i>
                    </button>
                </div>
            </div>
        </div>
        <div class="panel-body">
            <div ui-grid="statuteGridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination
                 adjust-table-height="statuteGridOptions.data.length" class="grid"></div>
        </div>
    </div>
</div>
