/
home
/
sjslayjy
/
public_html
/
olddevlok
/
storage
/
framework
/
views
/
Upload File
HOME
<form action="<?php echo e(URL('/user/edit-warehouse')); ?>" role="form" id="editWarehouseForm"> <div class="row"> <input type="hidden" value="<?php echo e($warehouse->id); ?>" name="id"> <div class="col-md-12"> <div class="form-group"> <label for="name">Name</label> <input type="text" class="form-control" value="<?php echo e($warehouse->name); ?>" name="name" id="name" placeholder="Name"> <span class="label label-danger" id="edit_name_error" style="display: none;"></span> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="hindi_name">Hindi Name</label> <input type="text" class="form-control convertHindi" name="hindi_name" id="hindi_name" value="<?php echo e($warehouse->hindi_name); ?>" placeholder="Hindi Warehouse Name"> <span class="label label-danger" id="add_name_error" style="display: none;"></span> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="user_id">Keeper</label> <select class="form-control" name="user_id" id="user_id" placeholder="Keeper"> <option value="">Select keeper</option> <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($user->id); ?>" <?php echo e($user->id == $warehouse->id ? "selected":""); ?>><?php echo e($user->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <span class="label label-danger" id="edit_user_id_error" style="display: none;"></span> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="location">Location</label> <input type="text" class="form-control" value="<?php echo e($warehouse->location); ?>" name="location" id="location" placeholder="Warehouse Location"> <span class="label label-danger" id="edit_location_error" style="display: none;"></span> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="lng">lngitude</label> <input type="text" class="form-control" value="<?php echo e($warehouse->lat); ?>" name="lat" id="lat" placeholder="latitude"> <span class="label label-danger" id="edit_lat_error" style="display: none;"></span> </div> </div> <div class="col-md-12"> <div class="form-group"> <label for="lng">Longitude</label> <input type="text" class="form-control" value="<?php echo e($warehouse->lng); ?>" name="lng" id="lng" placeholder="longitude"> <span class="label label-danger" id="edit_lng_error" style="display: none;"></span> </div> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" id="editSessionBtn" class="btn btn-primary" onclick="updateWarehouse()">Submit</button> </div> </form> <?php /**PATH /home/sjslayjy/public_html/devlok/resources/views/dashboard/master/edit-warehouse.blade.php ENDPATH**/ ?>