����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 18.116.237.222 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/var/www/html/app6/core/app/view/ |
Upload File : |
<?php if(count($_POST)>0){ $product = new FacturaData(); $product->barcode = 1; $product->name = $_POST["name"]; $product->sell_id = $_POST["sell_id"]; $product->sale_id = $_POST["sale_id"]; $product->price_out = $_POST["price_out"]; $product->iva = 16; $product->unit = 1; $product->description = $_POST["description"]; $product->presentation = $_POST["presentation"]; $product->image = $_POST["image"]; $category_id="NULL"; $product->category_id=$category_id; $product->inventary_min=0 ; $product->user_id = $_SESSION["user_id"]; $product->is_service = $_POST["is_service"]; $prod= $product->add(); print_r($prod); if(print_r($prod) == "Array ( [0] => 1 [1] => 3 )"){ print "<script>alert('Registro Agregado');</script>"; print "<script> location.href ='http://localhost/pos36/pos11/?view=sellsFac';</script>"; }else{ print "<script>alert('Registro NO Guardado Reporte a Soporte');</script>"; } // } else { echo "error al guardar la factura"; ?> <a href="javascript:history.back()"> Volver Atrás</a> <?php } ?>