Last part of order refactoring. Now order_article create/update is possible.
This commit is contained in:
parent
4d796b8e73
commit
6202e05841
14 changed files with 161 additions and 97 deletions
3
app/views/shared/_auto_complete_articles.html.haml
Normal file
3
app/views/shared/_auto_complete_articles.html.haml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
%ul.autocomplete
|
||||
- for article in @articles
|
||||
%li{:id => article.id.to_s}= "#{article.name} (#{article.unit_quantity} * #{article.unit} | #{number_to_currency(article.price)})"
|
||||
Loading…
Add table
Add a link
Reference in a new issue