diff --git a/README.md b/README.md index 9bb61c4..b947b6e 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@
  • Tecnologias
  • Funcionalidade
  • Endpoints da API
  • +
  • Telas do sistema
  • @@ -409,6 +410,21 @@ Exemplo de Resposta: +
    + +## Telas do sistema + +### Página de Dashboard do Condomínio +![Página de DashBoard do Condomínio](https://i.imgur.com/MfW1lUG.png) + +### Página de Agenda de Visitantes/Funcionários +![Página de Agenda de Visitantes/Funcionários](https://i.imgur.com/7driqKo.png) + +### Página de Listagem Completa de Visitantes/Funcionários + +![Página de Agenda de Visitantes/Funcionários](https://i.imgur.com/JdRjaKV.png) + +
    ## Instalação e Execução diff --git a/db/schema.rb b/db/schema.rb index ffc4fa0..baa4182 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -173,6 +173,7 @@ t.datetime "updated_at", null: false t.integer "condo_id", null: false t.integer "tenant_id", null: false + t.integer "status" t.index ["condo_id"], name: "index_superintendents_on_condo_id" t.index ["tenant_id"], name: "index_superintendents_on_tenant_id" end diff --git a/db/seeds.rb b/db/seeds.rb index 18be09d..4fc3d6e 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -362,7 +362,7 @@ resident_property_registration_pending1 = Resident.create!( email: 'claudia@email.com', password: 'teste123', - status: :property_registration_pending, + status: :mail_confirmed, full_name: 'Cláudia Rodrigues Gomes', registration_number: '458.456.480-92', properties: [tower1.floors[0].units[0]], @@ -372,7 +372,7 @@ resident_property_registration_pending2 = Resident.create!( email: 'joao@email.com', password: 'teste123', - status: :property_registration_pending, + status: :mail_confirmed, full_name: 'João da Silva', registration_number: '478.040.830-09', properties: [tower1.floors[1].units[0]], @@ -382,7 +382,7 @@ resident_property_registration_pending3 = Resident.create!( email: 'maria@email.com', password: 'teste123', - status: :property_registration_pending, + status: :mail_confirmed, full_name: 'Maria Oliveira', registration_number: '231.887.610-07', properties: [tower1.floors[2].units[0]], @@ -392,7 +392,7 @@ resident_property_registration_pending4 = Resident.create!( email: 'pedro@email.com', password: 'teste123', - status: :residence_registration_pending, + status: :mail_confirmed, full_name: 'Pedro Alves', registration_number: '185.894.110-52', properties: [tower1.floors[3].units[0]], @@ -402,7 +402,7 @@ resident_property_registration_pending5 = Resident.create!( email: 'ana@email.com', password: 'teste123', - status: :residence_registration_pending, + status: :mail_confirmed, full_name: 'Ana Souza', registration_number: '031.661.130-10', residence: tower1.floors[4].units[0]