diff --git a/app/assets/stylesheets/registrar.sass b/app/assets/stylesheets/registrar.sass index 0ab63cacb..005bde52a 100644 --- a/app/assets/stylesheets/registrar.sass +++ b/app/assets/stylesheets/registrar.sass @@ -42,3 +42,6 @@ hr background: image_url('bg.jpg') color: white !important background-size: 100% + +.semifooter + padding: 42px 0 80px 0 diff --git a/app/views/registrar/invoices/show.haml b/app/views/registrar/invoices/show.haml index 99752e446..bebe999f1 100644 --- a/app/views/registrar/invoices/show.haml +++ b/app/views/registrar/invoices/show.haml @@ -7,10 +7,11 @@ = link_to(t('back_to_billing'), registrar_invoices_path, class: 'btn btn-default') %hr .row - .col-md-6= render 'registrar/invoices/partials/banklinks' .col-md-6= render 'registrar/invoices/partials/details' .row .col-md-6= render 'registrar/invoices/partials/seller' .col-md-6= render 'registrar/invoices/partials/buyer' .row .col-md-12= render 'registrar/invoices/partials/items' +.row.semifooter + .col-md-12.text-right= render 'registrar/invoices/partials/banklinks' diff --git a/db/migrate/20150414151357_data_update.rb b/db/migrate/20150414151357_data_update.rb new file mode 100644 index 000000000..49cf38901 --- /dev/null +++ b/db/migrate/20150414151357_data_update.rb @@ -0,0 +1,17 @@ +class DataUpdate < ActiveRecord::Migration + def change + Registrar.where( + name: 'EIS', + reg_no: '90010019', + phone: '+372 727 1000', + country_code: 'EE', + vat_no: 'EE101286464', + email: 'info@internet.ee', + state: 'Harjumaa', + city: 'Tallinn', + street: 'Paldiski mnt 80', + zip: '10617', + url: 'www.internet.ee' + ).first_or_create! + end +end diff --git a/db/schema.rb b/db/schema.rb index eb4e3b731..d6b9facb1 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150414092249) do +ActiveRecord::Schema.define(version: 20150414151357) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql"