<div class="modal fade" id="edit_company" data-keyboard="false" data-backdrop="static">
 
	<div class="modal-dialog" id="company_edit_model">

  		<div class="modal-content">
 
			<div class="modal-header">

	  			<button type="button" class="close" data-dismiss="modal" aria-label="Close">

				<span aria-hidden="true">&times;</span></button>

	  			<h4 class="modal-title">Edit Company</h4>

			</div>
 
			<div class="modal-body">

				<section class="content">

					{!! Form::open(array('id'=>'company_edit','action'=>'{{route("companies-update")}}','route'=>'companies-update','method'=>'POST','name'=>'company_edit')) !!}
	  
		  			@csrf
					  
						<div class="row">

	  						<div class="col-md-6">
								  
								<div class="form-group">

									<label class="control-label" for="inputSuccess"> Company Name <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

									<input type="text" class="form-control editcname" name="company_name" id="inputSuccess" readonly>

									<span class="help-block hide" id="cnameblock">Help block with success</span>

	  							</div>

	  						</div>

							<div class="col-md-6">
								  
								<div class="form-group">

									<label class="control-label" for="inputSuccess"> Company Code <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

									<input type="text" class="form-control editccode" name="company_code" readonly>

									<span class="help-block hide" id="cnameblock">Help block with success</span>

	  							</div>

	  						</div>

						</div>

						<div class="row">

	  						<div class="col-md-6">

		  						<div class="form-group">

									<label class="control-label" for="inputSuccess"> GSTIN <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

									<input type="text" class="form-control editcgstin" name="company_gst" id="inputSuccess" readonly>

									<span class="help-block hide" id="cgstinblock">Help block with success</span>

	  							</div>

	  						</div>
						
	  						<div class="col-md-6">
								  
								<div class="form-group">

									<label class="control-label" for="inputSuccess"> Email <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

									<div class="input-group">
										
										<input type="text" class="form-control editcemail" name="company_emailedit" id="company_emailedit">

										<span class="input-group-addon"><i class="fa fa-plus-circle" id="editaddalternate_email" data-toggle="tooltip" data-placement="right" title="" data-original-title="ADD ALTERNATE EMAIL ID"></i></span>

									</div>

									<span class="help-block hide" id="cemailblock">Help block with success</span>

	  							</div>

	  						</div>
 
	  					</div>
 
						<div class="row" id="editalternate_emailblock">

							<div class="editaddedemail">
								
								<div class="col-md-6 pull-right">
										
									<div class="form-group">
										
										<label class="control-label" for="inputSuccess"> Alternate Email Id</label>
										
										<div class="input-group">

											<input type="text" class="form-control cemail" name="company_email" id="editalternate_cemail">
										
											<span class="input-group-addon"><i class="fa fa-minus-circle" id="editremobealternate_email"></i></span>

										</div>
										
										<span class="help-block hide" id="cemailblock">Help block with success</span>
									
									</div>
								
								</div>
							
							</div>

						</div>

	  					<div class="box box-primary">

						  <input type="hidden" id="billing_id"/>

							<div class="row">

		  						<div class="col-md-12">

			 						<label class="control-label" for="inputSuccess"> Bill To Address</label>
							
								</div>

							</div>

							<div class="row">

		  						<div class="col-md-4">
								  
									<div class="form-group">

										<label class="control-label" for="Street"> Address Line:1 <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

										<input type="text" name="street" class="form-control editbilladdline1" id="editbilladdline1" >

										<span class="help-block hide" id="Editbill_streetblock1">Help block with success</span>

		  							</div>
 
		  						</div>

								<div class="col-md-4">
								  
									<div class="form-group">

										<label class="control-label" for="Street"> Address Line:2 <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

										<input type="text" name="street" class="form-control editbilladdline2" id="editbilladdline2" >

										<span class="help-block hide" id="Editbill_streetblock2">Help block with success</span>

		  							</div>

		  						</div>

								<div class="col-md-4">
								  
									<div class="form-group">

										<label class="control-label" for="Street"> Address Line:3 </label>

										<input type="text" name="street" class="form-control editbilladdline3" id="editbilladdline3" >

										<span class="help-block hide" id="Editbill_streetblock3">Help block with success</span>

		  							</div>

		  						</div>		

							</div>

							<div class="row">

								<div class="col-md-6">

									<div class="form-group">

	  									<label>City <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>
											<div class="input-group">
	  									<select class="form-control  select2-cityeditbill" id="EditCity" name="Editcity" style="width: 100%;">

											<option value='0' >- Search city -</option>

	  									</select>
										    <span class="input-group-addon"><i class="fa fa-plus-circle" id="new_city_edit" data-toggle="tooltip" data-placement="right" title="" data-original-title="Add New City"></i></span>
	  									</div>
										<span class="help-block hide" id="Editbill_cityblock">Help block with success</span>

									</div>

								</div>

								<div class="col-md-6">

									{!! Form::hidden('data', null, array('id' => 'Statesedit')) !!}

									<div class="form-group">

										<label class="control-label" for="State"> State <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

										<input type="text" class="form-control editbillstate" id="Stateedit" name="state" readonly data-state-id="">

										<span class="help-block hide " id="Editbill_stateblock">Help block with success</span>

	  								</div>

								</div>

							</div>

		  					<input type="hidden" class="form-control editId" id="EditId" name="editId">

							<div class="row">
		  
								<div class="col-md-6">

			  						<div class="form-group">

										<label class="control-label" for="Country"> Country <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

										<input type="text" class="form-control editbillcountry" id="Countryedit" name="country" readonly>

										<span class="help-block hide">Help block with success</span>

			  						</div>
								
								</div>

								<div class="col-md-6">

									<div class="form-group">

  										<label class="control-label" for="Pincode"> Pincode <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

  										<input type="text" class="form-control only-numeric editbillpincode" maxlength="6" name="pincode" id="Pincode"  data-id="">

  										<span class="help-block hide num-error" id="Editbill_pincodeblock">Help block with success</span>

									</div>

								</div>

							</div>

							<div class="row">

								<div class="col-md-6">
									
									<div class="form-group">

										<label class="control-label" for="District"> Mobile No <sup><i class="fa fa-asterisk" style="font-size: 8px;" data-toggle="tooltip" data-placement="right" title="" data-original-title="THIS FIELD IS REQUIRED"></i></sup></label>

										<input type="text" class="form-control editbillmobile" maxlength="10" name="mobile" id="Mobile">

										<span class="help-block hide" id="editmobileblock"></span>

		  							</div>

		  						</div>

	  						</div>

						</div>
						
						<div class="box box-primary">

							<div class="box-body">

								<input type="hidden" id="shipping_id"/>

								<div class="row">

		  							<div class="col-md-12">

			 							<label class="control-label" for="inputSuccess"> Ship To Address</label>

				  						<div class="checkbox">

											<label class="pull-right control-label">

												<button type="button" id="addbuttoninedit" class="btn btn-primary pull-right">add Address</button>

											</label>

				  						</div>

			  						</div>
						
								</div>

								<div id="shippingaddresssectionedit">

								</div>

							</div>

						</div>
	
				</section>
				
			</div>

			<div class="modal-footer">

	  			<button type="submit" class="btn btn-success pull-right" id="edit-submit">Submit</button>
				  

			</div>
	
		</div>
  		</form>
  
	</div>

</div>

