improved asset and position views
commit7441b83cd43a893090c7627b7da9e7c6343d1a89
authorpqauvsum <pqauvsum@posteo.cz>
Mon, 3 Nov 2014 19:46:49 +0000 (3 14:46 -0500)
committerpqauvsum <pqauvsum@posteo.cz>
Mon, 3 Nov 2014 19:46:49 +0000 (3 14:46 -0500)
tree27de1bb06050b627f5966fd6aaa6137f31d4cc17
parent10d219642c1964778d0a336f3bed44eb71eac539
improved asset and position views

- quote age indicator on asset list
- download order document from position executed orders listing
- upload docs to position
- made documents/ code reusable via partials
16 files changed:
gui/app/assets/stylesheets/application.css
gui/app/assets/stylesheets/assets.css
gui/app/assets/stylesheets/positions.css
gui/app/controllers/assets_controller.rb
gui/app/controllers/documents_controller.rb
gui/app/controllers/positions_controller.rb
gui/app/helpers/application_helper.rb
gui/app/models/order.rb
gui/app/views/assets/index.html.erb
gui/app/views/documents/_filelist.html.erb [new file with mode: 0644]
gui/app/views/documents/_upload_form.html.erb [new file with mode: 0644]
gui/app/views/documents/index.html.erb
gui/app/views/positions/show.html.erb
gui/app/views/quoterecords/index.html.erb
gui/lib/smr/asset_position.rb
gui/lib/smr/uploaded_file.rb