Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/administrador/Home/ModalNewClientShip.php
Назад
<?php //calle, numero, colonia, ciudad,estado,municipio/delegacion,pais $inputId='<input name="IdCliente" id="IdCliente" type="hidden" value="" />'; $inputCalle='<input name="calle" id="calle" style="width:100%" value="" maxlength="250"/>'; $inputNumero='<input name="numero" id="numero" style="width:100%" value="" maxlength="80"/>'; $inputColonia='<input name="colonia" id="colonia" style="width:100%" value="" maxlength="150"/>'; $inputEstado='<input name="estado" id="estado" style="width:100%" value="" maxlength="100"/>'; $inputMunicipio='<input name="municipio" id="municipio" style="width:100%" value="" maxlength="100" />'; $inputPais='<input name="pais" id="pais" value="" maxlength="50" style="width:100%" />'; $inputCP='<input name="pc" id="cp" value="" maxlength="6" style="width:100%"/>'; ?> <div class="modal fade" id="modal-lg-ship" style="display: none; z-index:9999;" aria-hidden="true"> <div class="modal-dialog modal-xl"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Agregar Datos de Envio</h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <script> var id = ""; $(document).ready(function(e) { $('#modal-lg-ship').on('show.bs.modal', function(e) { id = $(e.relatedTarget).data().id; document.getElementById('IdCliente').value=id; }); }); </script> <?php $table= '<form class="card-body d-flex flex-column" name="formNew" id="formNew" action="" enctype="multipart/form-data"> <table id="example1" class="table table-bordered table-striped" cellpadding="5" cellspacing="0" border="0" > <tr> <td>Calle:</td> <td>'.$inputCalle.'</td> </tr> <tr> <td>Numero:</td> <td>'.$inputNumero.'</td> </tr> <tr> <td>CP:</td> <td>'.$inputCP.'</td> </tr> <tr> <td>Colonia:</td> <td>'.$inputColonia.'</td> </tr> <tr> <td>Municipio:</td> <td>'.$inputMunicipio.'</td> </tr> <tr> <td>Estado:</td> <td>'.$inputEstado.'</td> </tr> <tr> <td >Pais:</td> <td ">'.$inputPais.'</td> </tr> <tr> <td colspan="2"><input class="mt-auto btn btn-block btn-primary btn-sm" id="but_add_ship" value="Agregar" readonly/></td> </tr> </table> '.$inputId.' </form>'; echo $table; ?> <div class="col-12"> <p id="loading_spinner" style="display:none; text-align:center"><img src="../../../../cotizador/dist/img/loader.gif"></p> </div> </div> <div class="modal-footer justify-content-between"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка