			<h4 class="form-section">Información de facturación <small class="text-muted"> opcional</small></h4>
			<div class="row">
				<div class="form-group">
					<%= b.label :name, "Razón social", {:class=>"col-md-3 control-label"} do %> Razón Social <span class="required">*</span>
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :name, {:class=>"form-control input-xlarge"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :rfc, "RFC", {:class=>"col-md-3 control-label"} do %> RFC <span class="required">*</span>
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :rfc, {:class=>"form-control input-small"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :address,  {:class=>"col-md-3 control-label"} do %> Dirección <!-- <span class="required">*</span> -->
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :address, {:class=>"form-control input-xlarge"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :num_ext,  {:class=>"col-md-3 control-label"} do %> No. Exterior <!-- <span class="required">*</span> -->
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :num_ext, {:class=>"form-control input-small"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :num_int, "No. Interior", {:class=>"col-md-3 control-label"} %> 
					<div class="col-md-9">
						<%= b.text_field :num_int, {:class=>"form-control input-small"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :zipcode, {:class=>"col-md-3 control-label"} do %> Código postal <span class="required">*</span>
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :zipcode, {:class=>"form-control input-small mask_number", :value => ((info.billing_information.nil? || info.billing_information.zipcode == 0) ? '' : info.billing_information.zipcode) } %>
					</div>
				</div>

				<div class="form-group">
					<%= b.label :state_id,  {:class=>"col-md-3 control-label"} do %>Estado <span class="required">*</span>
					<% end %> 
					<div class="col-md-9">
						<%= b.collection_select(:state_id, SpmxState.all, :id, :name , options ={:include_blank => "Seleccione"}, :class => "form-control input-medium state_id") %>
					</div>
				</div>

				<div class="form-group">
					<%= b.label :county_id, {:class=>"col-md-3 control-label"} do %> Municipio <span class="required">*</span>
					<% end %> 
					<div class="col-md-9">
						
						<%= b.collection_select(:county_id, SpmxCounty.where(((info.billing_information.nil? || info.billing_information.state_id.nil?) ? "" : "state_id = #{info.billing_information.state_id}") ) , "id", "name", options ={:include_blank => "Seleccione"} , html_options ={ "data-opt-id" => "county_id", "data-option-dependent" => true, 
							"data-option-observed" => "state_id",
							"data-option-url" => "/getcounties/:state_id:.json",
							"data-option-key-method" => :id,
							"data-option-value-method" => :name, :class => "form-control input-medium county_id nestedselect"} ) %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :city,  {:class=>"col-md-3 control-label"} do %>Ciudad o localidad <!-- <span class="required">*</span> -->
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :city, {:class=>"form-control input-xlarge"} %>
					</div>
				</div>
				<div class="form-group">
					<%= b.label :suburb,  {:class=>"col-md-3 control-label"} do %>Colonia <!-- <span class="required">*</span> -->
					<% end %> 
					<div class="col-md-9">
						<%= b.text_field :suburb, {:class=>"form-control input-xlarge"} %>
					</div>
				</div>
			</div>