<ol class="breadcrumb">
	<li><a href="#/">Dashboard</a></li>
	<li>Search</li>
	<li class="active">{{_keySearch}}</li>
</ol>

<div class="container-fluid">
	<div class="row">
		<div class="col-md-12">
			<tabset tab-theme="orange" tab-position="top" ng-show="_resultSearch">
				<tab ng-repeat="(key, result) in _resultSearch" heading="{{key}} ({{result.length}})">
					<div ng-repeat="data in result">
						<h4><a href="#/{{data.url}}">{{data.title}}</a></h4>
						<div ng-show="description" ng-repeat="(subtitle, description) in data.description">
							<b>{{subtitle}}:</b> 
							<span ng-if="subtitle == 'Customer'">
								<a href="#/{{data.url_customer}}" ng-if="subtitle == 'Customer'">{{description}}</a>
							</span>
							<span ng-if="subtitle != 'Customer'">{{description}}</span>
						</div>
					</div>
					<p class="text-center" ng-show="result.length == 0">No records found</p>
				</tab>
			</tabset>
			<p class="text-center" ng-show="!_resultSearch">No records found</p>
		</div>
	</div>
</div>
