changing view for group_order_invoices
testing ui of goi restructuring
This commit is contained in:
parent
de6643722a
commit
90c5450525
52 changed files with 783 additions and 57 deletions
14
db/migrate/20231103110755_create_sepa_account_holders.rb
Normal file
14
db/migrate/20231103110755_create_sepa_account_holders.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class CreateSepaAccountHolders < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :sepa_account_holders do |t|
|
||||
t.references :user, null: false
|
||||
t.references :group, null: false
|
||||
|
||||
t.string :iban
|
||||
t.string :bic
|
||||
t.string :mandate_id
|
||||
t.date :mandate_date_of_signature
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
5
db/migrate/20231109125021_add_bic_to_users.rb
Normal file
5
db/migrate/20231109125021_add_bic_to_users.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddBicToUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :bic, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
class AddPayedToGroupOrderInvoices < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :group_order_invoices, :payed, :boolean, default: false
|
||||
add_column :group_order_invoices, :sepa_downloaded, :boolean, default: false
|
||||
add_column :group_order_invoices, :sepa_sequence_type, :string, default: 'RCUR'
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue