<div class="row" style="margin-bottom: 25px;">
	<div class="col-sm-12">
		<form name="form" class="form-inline" ng-submit="WORRWC._filter()">
			<div class="form-group">
				<div class="input-group">
					<span class="input-group-addon">
						<i class="ti ti-calendar"></i>
					</span>
					<input type="number" class="form-control" name="year" id="year" ng-model="WORRWC.year" ng-required="true" placeholder="Year">
				</div>
			</div>
			<div class="form-group">
				<button type="submit" ng-disabled="!form.$valid || WORRWC.loading" class="btn btn-primary">Filter</button>
			</div>
		</form>
	</div>
</div>
<flot dataset="WORRWC._sourceChartBar.dataset" options="WORRWC._sourceChartBar.options" height="250px" ng-if="!WORRWC.loading"></flot>
<div class="table-responsive" style="margin-top: 25px;" ng-if="!WORRWC.loading">
	<table class="table">
		<thead>
			<tr>
				<th>Status</th>
				<th>JAN</th>
				<th>FEB</th>
				<th>MAR</th>
				<th>APR</th>
				<th>MAY</th>
				<th>JUN</th>
				<th>JUL</th>
				<th>AGO</th>
				<th>SEP</th>
				<th>OCT</th>
				<th>NOV</th>
				<th>DEC</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="report in WORRWC._sourceChartBar.dataset track by $index">
				<td>{{report.label}}</td>
				<td ng-repeat="data in report.data">
					<a ng-click="WORRWC._seeWorkOrders(report.label, $index+1)">
						{{data[1]}}
					</a>
				</td>
			</tr>
		</tbody>
	</table>
</div>
<ng-include src="'views/modals/seeWorkOrdersRecurringModal.html'"></ng-include>