135 lines
8.2 KiB
Plaintext
135 lines
8.2 KiB
Plaintext
8b3d4bc Fases 7 e 8 — PDFs Prawn + QR + Painel Motorista + Notificações
|
|
Gemfile | 6 +-
|
|
README.md | 92 +++++++++++++----
|
|
app/controllers/consolidacoes_controller.rb | 46 ++++++++-
|
|
app/controllers/motorista/dashboard_controller.rb | 39 +++++++
|
|
app/controllers/motorista/sessoes_controller.rb | 44 ++++++++
|
|
app/mailers/application_mailer.rb | 5 +
|
|
app/mailers/consolidacao_mailer.rb | 14 +++
|
|
app/models/user.rb | 5 +
|
|
app/services/notificacao_service.rb | 68 ++++++++++++
|
|
app/services/pdf/base_pdf.rb | 68 ++++++++++++
|
|
app/services/pdf/holerite_pdf.rb | 97 ++++++++++++++++++
|
|
app/services/pdf/relatorio_motorista_pdf.rb | 77 ++++++++++++++
|
|
.../consolidacao_mailer/pagamento_fechado.html.erb | 41 ++++++++
|
|
app/views/consolidacoes/preview_holerite.html.erb | 63 ++++++++++++
|
|
app/views/consolidacoes/show.html.erb | 114 +++++++++++++++++++++
|
|
app/views/layouts/mailer.html.erb | 10 ++
|
|
app/views/motorista/dashboard/index.html.erb | 73 +++++++++++++
|
|
app/views/motorista/sessoes/new.html.erb | 75 ++++++++++++++
|
|
config/initializers/smtp.rb | 17 +++
|
|
config/routes.rb | 7 +-
|
|
.../20260101000009_add_login_token_to_users.rb | 6 ++
|
|
21 files changed, 943 insertions(+), 24 deletions(-)
|
|
90ed705 Fases 4, 5 e 6 — Job 1h + Auditoria + Consolidação + Wizard de validação
|
|
README.md | 240 ++++++++++-----------
|
|
app/controllers/api/v1/dashboard_controller.rb | 30 +++
|
|
app/controllers/application_controller.rb | 26 ++-
|
|
app/controllers/concerns/auditavel.rb | 22 ++
|
|
.../consolidacao_entregas_controller.rb | 168 +++++++++++++++
|
|
app/controllers/consolidacoes_controller.rb | 131 +++++++++++
|
|
app/helpers/application_helper.rb | 102 +++------
|
|
app/javascript/controllers/validacao_controller.js | 145 +++++++++++++
|
|
app/jobs/application_job.rb | 5 +
|
|
app/jobs/atualizar_historico_estimado_job.rb | 24 +++
|
|
app/models/auditoria_log.rb | 31 +--
|
|
app/models/configuracao.rb | 78 ++++---
|
|
app/models/consolidacao.rb | 83 +++++--
|
|
app/models/entrega.rb | 89 ++++++--
|
|
app/models/user.rb | 76 ++++---
|
|
app/policies/application_policy.rb | 41 +---
|
|
app/policies/consolidacao_policy.rb | 15 ++
|
|
app/policies/dashboard_policy.rb | 10 +
|
|
app/views/consolidacao_entregas/revisar.html.erb | 74 +++++++
|
|
app/views/consolidacao_entregas/validar.html.erb | 166 ++++++++++++++
|
|
app/views/consolidacoes/index.html.erb | 65 ++++++
|
|
app/views/consolidacoes/new.html.erb | 89 ++++++++
|
|
app/views/consolidacoes/wizard.html.erb | 91 ++++++++
|
|
app/views/layouts/application.html.erb | 216 ++++++-------------
|
|
config/routes.rb | 82 ++++---
|
|
config/schedule.rb | 12 ++
|
|
...0260101000008_add_route_ids_to_consolidacoes.rb | 6 +
|
|
db/seeds.rb | 101 +++------
|
|
lib/tasks/historico.rake | 13 ++
|
|
29 files changed, 1616 insertions(+), 615 deletions(-)
|
|
b77fc01 Atualização README - Fase 2 e 3
|
|
Projeto-Reem-Custo | 1 +
|
|
README.md | 189 ++++++++++++++++++++++++++++++++++-------------------
|
|
2 files changed, 124 insertions(+), 66 deletions(-)
|
|
bd60e4c Atualizou o MD
|
|
README.md | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
4724847 implantação da fase 2 e 3
|
|
README_FASE2_3.md | 163 +++++
|
|
app/controllers/application_controller.rb | 26 +-
|
|
app/controllers/configuracoes_controller.rb | 44 ++
|
|
app/controllers/dashboard_controller.rb | 77 +++
|
|
app/controllers/motorista_controller.rb | 42 ++
|
|
app/controllers/users/sessions_controller.rb | 56 ++
|
|
app/controllers/usuarios_controller.rb | 88 +++
|
|
app/helpers/application_helper.rb | 102 ++-
|
|
app/models/auditoria_log.rb | 31 +-
|
|
app/models/configuracao.rb | 78 +--
|
|
app/models/consolidacao.rb | 83 +--
|
|
app/models/entrega.rb | 89 +--
|
|
app/models/user.rb | 76 +--
|
|
app/policies/application_policy.rb | 41 +-
|
|
app/policies/configuracao_policy.rb | 20 +
|
|
app/policies/user_policy.rb | 46 ++
|
|
app/views/configuracoes/edit.html.erb | 58 ++
|
|
app/views/configuracoes/index.html.erb | 64 ++
|
|
app/views/dashboard/index.html.erb | 234 +++++++
|
|
app/views/devise/sessions/new.html.erb | 231 +++++++
|
|
app/views/layouts/_sidebar.html.erb | 64 ++
|
|
app/views/layouts/application.html.erb | 216 ++++---
|
|
app/views/motorista/index.html.erb | 96 +++
|
|
app/views/shared/_flash.html.erb | 18 +
|
|
app/views/usuarios/_form.html.erb | 153 +++++
|
|
app/views/usuarios/edit.html.erb | 2 +
|
|
app/views/usuarios/index.html.erb | 120 ++++
|
|
app/views/usuarios/new.html.erb | 2 +
|
|
config/routes.rb | 76 ++-
|
|
db/migrate/20260610_add_fase2_fields_to_users.rb | 25 +
|
|
db/seeds.rb | 101 ++-
|
|
prompt_sistema_logistica_final.html | 771 +++++++++++++++++++++++
|
|
setup_fase2_3.sh | 54 ++
|
|
33 files changed, 2916 insertions(+), 431 deletions(-)
|
|
d37237e Alteração de alguns arquivos para retirar do yaml o container Postgres pois ja tem um
|
|
.env.example | 24 +++---
|
|
README.md | 210 +++++++++++++++++++++++++++++++++++++++--------------
|
|
docker-compose.yml | 25 +------
|
|
setup_git.sh | 13 ++--
|
|
4 files changed, 175 insertions(+), 97 deletions(-)
|
|
eb81286 Initial commit - Fase 1: Setup Rails + Docker
|
|
.env.example | 43 ++++++++
|
|
.gitignore | 61 +++++++++++
|
|
Dockerfile | 29 ++++++
|
|
Gemfile | 55 ++++++++++
|
|
README.md | 113 +++++++++++++++++++++
|
|
app/controllers/application_controller.rb | 27 +++++
|
|
app/helpers/application_helper.rb | 46 +++++++++
|
|
app/models/auditoria_log.rb | 29 ++++++
|
|
app/models/configuracao.rb | 55 ++++++++++
|
|
app/models/consolidacao.rb | 75 ++++++++++++++
|
|
app/models/consolidacao_entrega.rb | 32 ++++++
|
|
app/models/consolidacao_motorista.rb | 29 ++++++
|
|
app/models/entrega.rb | 88 ++++++++++++++++
|
|
app/models/historico_estimado.rb | 32 ++++++
|
|
app/models/user.rb | 69 +++++++++++++
|
|
app/policies/application_policy.rb | 30 ++++++
|
|
app/views/layouts/_navbar.html.erb | 92 +++++++++++++++++
|
|
app/views/layouts/application.html.erb | 95 +++++++++++++++++
|
|
config/routes.rb | 50 +++++++++
|
|
db/migrate/20260101000001_create_users.rb | 27 +++++
|
|
db/migrate/20260101000002_create_configuracoes.rb | 14 +++
|
|
db/migrate/20260101000003_create_consolidacoes.rb | 23 +++++
|
|
...0260101000004_create_consolidacao_motoristas.rb | 17 ++++
|
|
.../20260101000005_create_consolidacao_entregas.rb | 23 +++++
|
|
.../20260101000006_create_historico_estimados.rb | 13 +++
|
|
db/migrate/20260101000007_create_auditoria_logs.rb | 22 ++++
|
|
db/seeds.rb | 47 +++++++++
|
|
docker-compose.yml | 49 +++++++++
|
|
setup_git.sh | 46 +++++++++
|
|
tailwind.config.js | 59 +++++++++++
|
|
30 files changed, 1390 insertions(+)
|