            <form action="<?php echo e(url('/change_shipping')); ?>" method="post">
                <?php echo csrf_field(); ?>
                <div class="control-group" id="staticParent">
                <label class="control-label">Name</label>
                <div class="controls">
                  <input type="text"  class='form-control'  value="<?php echo e($data->first_name); ?>" placeholder="Write name here..."
                   id="first_name" name="first_name">
                </div>
              </div>
              
              <div class="control-group" id="staticParent">
                <label class="control-label">E-mail</label>
                <div class="controls">
                  <input type="email"  class='form-control'  value="<?php echo e($data->email); ?>" placeholder= "Write Email here..."
                   id="email" name="email">
                    <input type="hidden" value="<?php echo e($data->id); ?>" id="id" name="id">
                    <input type="hidden" value="<?php echo e($id); ?>" id="invoice_id" name="invoice_id">
                </div>
              </div>
              
              
              <div class="control-group" id="staticParent">
                <label class="control-label">Address</label>
                <div class="controls">
                  <input type="text"  class='form-control'  value="<?php echo e($data->address); ?>"
                   id="address" name="address">
                </div>
              </div>
              
              <div class="control-group" id="staticParent">
                <label class="control-label">phone</label>
                <div class="controls">
                  <input type="text"  class='form-control'  value="<?php echo e($data->phone); ?>"
                   id="phone" name="phone" required>
                </div>
              </div>
              
              <div class="control-group" id="staticParent">
                <label class="control-label">District</label>
                <div class="controls">
                 <select class='form-control' name="district_id"  id="district_id" onclick="return thana_info();" onchange="return thana_info();" required>
                     
                     <?php if($district): ?>
                     <?php $__currentLoopData = $district; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dis_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                     <?php if($dis_data->id == $data->district_id): ?>
                     <option value="<?php echo e($dis_data->id); ?>"><?php echo e($dis_data->district_name); ?></option>
                     <?php endif; ?>
                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     <?php endif; ?>
                     
                     <?php if($district): ?>
                     <?php $__currentLoopData = $district; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dis_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                     <?php if($dis_data->id != $data->district_id): ?>
                     <option value="<?php echo e($dis_data->id); ?>"><?php echo e($dis_data->district_name); ?></option>
                     <?php endif; ?>
                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     <?php endif; ?>
                     
                 </select>
                </div>
              </div>
   
              <div class="control-group" id="staticParent">
                <label class="control-label">Thana</label>
                <div class="controls">
                   <select class='form-control' name="thana_id" id="thana_id" required>
                    <?php if($thana): ?>
                     <?php $__currentLoopData = $thana; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $thana_data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                     <?php if($thana_data->id == $data->thana_id): ?>
                     <option value="<?php echo e($thana_data->id); ?>"><?php echo e($thana_data->thana_name); ?></option>
                     <?php endif; ?>
                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                     <?php endif; ?>
                     
                 </select>
                </div>
              </div>
   
              <div class="form-actions">
                <input type="submit" value="Save" class="btn btn-success" onclick="return confirm('are you sure?')" >
              </div>
            </form>
            
            
              
              
<script>
    	function thana_info()
		{
			var district_id = $("#district_id").val();

			$.ajax({

				headers:{ 'X-CSRF-TOKEN': "<?php echo e(csrf_token()); ?>" },
				url:'<?php echo e(url("thana_info")); ?>',
				type:'POST',
				data:{district_id:district_id},
				success:function(data)
				{
					$("#thana_id").html(data)

				}
			});

		}
</script>
<?php /**PATH D:\xampp\htdocs\office\electronics\resources\views/Admin/Order_system/shipping_address_edit.blade.php ENDPATH**/ ?>