global ui
global rbtsex
global chkpago
global avisosalir
global avisoEliminarProd
global avisoDni
global avisoEliminar
global avisoModificar
global avisoModificarArt
global dlgcalendar
global dlgcalendar2
global filedlgabrir
global dlgImprimir
global avisoImportar
global sex
global rep
global subfac
global fac
global iva
global cmbventa
global avisoEliminarProveedor
global copia
global resultConsulta

pay = []
pay2 = []
venta = []
filedb = "empresa.db"
global DATABASE