Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/administrador/Home/ModalNewClientFact.php
Назад
<?php //calle, numero, colonia, ciudad,estado,municipio/delegacion,pais $inputId='<input name="IdClienteF" id="IdClienteF" type="hidden" value="" />'; $inputCalle='<input name="calleF" id="calleF" style="width:100%" value="" maxlength="250"/>'; $inputNumero='<input name="numeroF" id="numeroF" style="width:100%" value="" maxlength="80"/>'; $inputColonia='<input name="coloniaF" id="coloniaF" style="width:100%" value="" maxlength="150"/>'; $inputEstado='<input name="estadoF" id="estadoF" style="width:100%" value="" maxlength="100"/>'; $inputMunicipio='<input name="municipioF" id="municipioF" style="width:100%" value="" maxlength="100" />'; $inputPais='<input name="paisF" id="paisF" value="" maxlength="50" style="width:100%" />'; $inputRFC='<input name="rfc" id="rfc" value="" maxlength="14" style="width:100%" />'; $inputRazon='<input name="razon" id="razon" value="" maxlength="450" style="width:100%" />'; $inputCP='<input name="pcF" id="cpF" value="" maxlength="6" style="width:100%"/>'; ?> <div class="modal fade" id="modal-lg-fact" 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 Facturacion</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-fact').on('show.bs.modal', function(e) { id = $(e.relatedTarget).data().id; document.getElementById('IdClienteF').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 >RFC:</td> <td >'.$inputRFC.'</td> </tr> <tr> <td >Pais:</td> <td >'.$inputPais.'</td> </tr> <tr> <td >Razon Social:</td> <td >'.$inputRazon.'</td> </tr> <tr> <td colspan="2"><input class="mt-auto btn btn-block btn-primary btn-sm" id="but_add_fact" 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
|
Настройка