Correcao status inicial e forms detail_in e detail_cr