コード例 #1
0
ファイル: laboratorio.class.php プロジェクト: klich3/gPOS
 function Modificacion()
 {
     $data = $this->export();
     $sql = CreaUpdateSimple($data, "ges_laboratorios", "IdLaboratorio", $this->get("IdLaboratorio"));
     $res = query($sql);
     if (!$res) {
         $this->Error(__FILE__ . __LINE__, "W: no actualizo laboratorio");
         return false;
     }
     return true;
 }
コード例 #2
0
ファイル: albaran.class.php プロジェクト: klich3/gPOS
 function Modificacion()
 {
     $data = $this->export();
     $sql = CreaUpdateSimple($data, "ges_albaranes_traspaso", "IdAlbaranTraspaso", $this->get("IdAlbaranTraspaso"));
     $res = query($sql, 'Modificamos un albaran');
     if (!$res) {
         $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor");
         return false;
     }
     return true;
 }
コード例 #3
0
ファイル: movimiento.class.php プロジェクト: klich3/gPOS
 function Modificacion()
 {
     $data = $this->export();
     $sql = CreaUpdateSimple($data, "ges_dinero_movimientos", "IdOperacionCaja ", $this->get("IdOperacionCaja "));
     $res = query($sql);
     if (!$res) {
         $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor");
         return false;
     }
     return true;
 }
コード例 #4
0
ファイル: cliente.class.php プロジェクト: klich3/gPOS
 function Modificacion()
 {
     $data = $this->export();
     $sql = CreaUpdateSimple($data, "ges_clientes", "IdCliente", $this->get("IdCliente"));
     $res = query($sql, 'Modificamos un cliente');
     if (!$res) {
         $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor");
         return false;
     }
     return true;
 }