changing view for group_order_invoices

testing ui of goi restructuring
This commit is contained in:
viehlieb 2023-11-03 16:37:43 +01:00
parent de6643722a
commit 90c5450525
52 changed files with 783 additions and 57 deletions

View 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

View file

@ -0,0 +1,5 @@
class AddBicToUsers < ActiveRecord::Migration[7.0]
def change
add_column :users, :bic, :string
end
end

View file

@ -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