DB restructure, print page

This commit is contained in:
Jason Jordan
2026-03-13 08:47:13 -04:00
parent 6a068243f4
commit 8c885b3e76
73 changed files with 1362 additions and 325 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ development:
# tds_version: 7.3
vhcs:
<<: *default
host: 10.41.82.72 #Prod
# host: 10.41.82.73 #Dev
# host: 10.41.82.72 #Prod
host: 10.41.82.73 #Dev
port: 1433
database: VHCS_HIPAA
username: BSTI
+18 -4
View File
@@ -2,15 +2,17 @@
Rails.application.routes.draw do
namespace :id_card do
resources :setup
resources :rx_sections
resources :provider_sections
resources :provider_sections do
get 'get_section_data', on: :member
end
resources :employer_logos do
get 'image', on: :member
end
resources :network_logos do
get 'image', on: :member, constraints: { id: /.*/ }
get 'image', on: :member
end
resources :printer, only: [:index]
resources :print_data do
collection do
get 'generate_sample'
@@ -19,15 +21,27 @@ Rails.application.routes.draw do
get 'generate_full_page'
end
end
get 'plans/:id/get_plan_benefits', to: 'plans#get_plan_benefits'
end
# resources :employer_setup
resources :employers do
collection do
post 'import'
end
namespace :id_card do
resources :setup, only: [:destroy] do
collection do
get 'general'
patch 'update_general'
get 'plans'
patch 'update_plans'
get 'field_exceptions'
patch 'update_field_exceptions'
end
end
end
end
get 'id_card_benefits_templates/get_template_benefits/:id', to: 'id_card_benefits_templates#get_template_benefits'
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.