You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reabrir uma conta a receber, que está como quitada, mas não tem o recibo de baixa
update contas_receber set vlr_quitacao = 0, situacao = 'ABERTO'
where id not in (select id_conta from recibo_receber_itens where id_conta = contas_receber.id) and situacao = 'QUITADO'