Add lateral panel to configure dossier list in back office

This commit is contained in:
Xavier J 2016-08-01 18:10:32 +02:00
parent 2d9fd187d9
commit a37320bae9
29 changed files with 794 additions and 27 deletions

View file

@ -0,0 +1,15 @@
class AddPreferenceListDossierTable < ActiveRecord::Migration
def change
create_table :preference_list_dossiers do |t|
t.string :libelle
t.string :table
t.string :attr
t.string :attr_decorate
t.string :bootstrap_lg
t.string :order
t.string :filter
end
add_belongs_to :preference_list_dossiers, :gestionnaire
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160718124741) do
ActiveRecord::Schema.define(version: 20160722135927) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -234,6 +234,17 @@ ActiveRecord::Schema.define(version: 20160718124741) do
add_index "pieces_justificatives", ["type_de_piece_justificative_id"], name: "index_pieces_justificatives_on_type_de_piece_justificative_id", using: :btree
create_table "preference_list_dossiers", force: :cascade do |t|
t.string "libelle"
t.string "table"
t.string "attr"
t.string "attr_decorate"
t.string "bootstrap_lg"
t.string "order"
t.string "filter"
t.integer "gestionnaire_id"
end
create_table "procedure_paths", force: :cascade do |t|
t.string "path", limit: 30
t.integer "procedure_id"