accede("cd_Cliente.php?btn_Query={$_POST['clave']}"); } else { denegar("cd_Cliente.php?btn_Query={$_POST['clave']}"); } } if (!empty($_GET['del_Cliente'])) { $Deleting = $objTransaccion->delete_Cliente($_GET['del_Cliente']); if ($Deleting) { accede('cg_Clientes.php'); } else { denegar("cd_Cliente.php?btn_Query={$_GET['del_Cliente']}"); } } #Push of buttom Ventas.********** if (isset($_POST[add_Venta])) { $Inserting = $objTransaccion->reg_Venta($_POST[cvCliente], $_POST[cvEmpleado], $_POST[matricula], $_POST[descripcion], $_POST[precio], $_POST[fecha_E]); if ($Inserting) { accede('cg_Ventas.php'); } else { denegar('reg_Venta.php'); } } if (isset($_POST[act_Venta])) { $Updating = $objTransaccion->update_Venta($_POST[cvCliente], $_POST[cvEmpleado], $_POST[matricula], $_POST[descripcion], $_POST[precio], $_POST[fecha_E], $_POST[folio]); if ($Updating) { accede("cd_Venta.php?btn_Query={$_POST['folio']}"); } else { denegar("cd_Venta.php?btn_Query={$_POST['folio']}"); } } if (!empty($_GET[del_Venta])) {