Loos
10 years ago
6 changed files with 34 additions and 3 deletions
@ -1,6 +1,5 @@ |
|||||
.print-select |
.print-select |
||||
- @bikes.each do |bike| |
- @bikes.each do |bike| |
||||
.print-label |
.print-label |
||||
%h2=bike.price |
%h2=bike.price + ' ' + bike.name |
||||
%h2=bike.name |
|
||||
%br |
%br |
||||
|
@ -0,0 +1,7 @@ |
|||||
|
class AddNewPartsWorkDoneAndDateSoldToBikes < ActiveRecord::Migration |
||||
|
def change |
||||
|
add_column :bikes, :new_parts, :text |
||||
|
add_column :bikes, :work_done, :text |
||||
|
add_column :bikes, :date_sold, :date |
||||
|
end |
||||
|
end |
Loading…
Reference in new issue