	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<!-- BEGIN CONTENT -->
		<div class="page-content-wrapper">
			<!-- BEGIN CONTENT BODY -->
			<!-- BEGIN PAGE HEAD-->
			<div class="page-head">
				<div class="container-fluid">
					<!-- BEGIN PAGE TITLE -->
					<div class="page-title">
						<h1>Proveedor </h1>
					</div>
					<!-- END PAGE TITLE -->
				</div>
			</div>
			<!-- END PAGE HEAD-->
			<!-- BEGIN PAGE CONTENT BODY -->
			<div class="page-content">
				<div class="container-fluid">
					<div class="pull-right margin-bottom-10 ">
						<%= link_to  suppliers_path(:filter => @filter, :current_page => @current_page), {:class=>"fr-space btn blue-hoki "} do %> 
							<i class="fa fa-angle-left "></i>
							Regresar
						<% end %>
						<%= link_to  edit_supplier_path(@supplier), {:class=>"btn btn-primary "} do %>
							<i class="fa fa-edit"></i> Modificar
						<% end %>
					</div>
					<!-- BEGIN PAGE BREADCRUMBS -->
					<ul class="page-breadcrumb breadcrumb">
						<%= render_breadcrumbs :tag => :li, :separator => ' <i class="fa fa-circle"></i> ' %>
					</ul>
					<!-- END PAGE BREADCRUMBS -->
					<!-- BEGIN PAGE CONTENT INNER -->
					<div class="page-content-inner margin-top-10">
						
						<div class="row">
							<div class="col-md-4 col-sm-12">
								<div class="portlet light bordered ">
									<div class="portlet-title">
										<div class="caption"> <i class="fa fa-cogs"></i>Información general </div>
									</div>
									<div class="portlet-body">
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-suitcase"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.nick_name %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-phone"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.phone %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-envelope"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.email %> </div>
										</div>
										<% if  @supplier.notes != '' %>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-bookmark"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.notes %> </div>
										</div>
										<% end %>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-flag"></i> </div>
											<div class="col-md-8 value"> <% if @supplier.status == 'active'  %> <span class="label label-sm label-success"> <i class="fa fa-check"></i> Activo </span><% else %> <span class="label label-sm label-danger"> <i class="fa fa-close"></i> Inactivo </span><% end %> </div>
										</div>
									</div>
								</div>
							</div>
							<div class="col-md-4 col-sm-12">
								<div class="portlet light bordered ">
									<div class="portlet-title">
										<div class="caption"> <i class="fa fa-dollar"></i>Información facturación </div>
									</div>
									<div class="portlet-body">
										<% if @supplier.billing_information.present? %>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-building"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.billing_information.name %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-key"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.billing_information.rfc %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-home"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.billing_information.address_complete %>
											</div>
										</div>
										<%end%>
									</div>
								</div>
							</div>
							<div class="col-md-4 col-sm-12">
								<div class="portlet light bordered ">
									<div class="portlet-title">
										<div class="caption"> <i class="fa fa-user"></i>Información contacto </div>
									</div>
									<div class="portlet-body">
										<% if @supplier.contact.present? %>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-user"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.contact.name %> <%= @supplier.contact.last_name %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-phone"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.contact.phone %> </div>
										</div>
										<div class="row static-info">
											<div class="col-md-1 name"> <i class="fa fa-envelope"></i> </div>
											<div class="col-md-8 value"> <%= @supplier.contact.email %> </div>
										</div>
										<%end%>
									</div>
								</div>
							</div>
						</div>

					</div>
					<!-- END PAGE CONTENT INNER -->
				</div>
			</div>
			<!-- END PAGE CONTENT BODY -->
			<!-- END CONTENT BODY -->
		</div>
		<!-- END CONTENT -->
	</div>
	<!-- END CONTAINER -->