Improved stockit: Creating/updating of stock_articles.\nTranslated deliveries and invoices.
This commit is contained in:
parent
325d47b22f
commit
86b2b28dc9
19 changed files with 248 additions and 86 deletions
|
|
@ -119,7 +119,7 @@ class DeliveriesController < ApplicationController
|
|||
|
||||
def in_place_edit_for_stock_quantity
|
||||
stock_change = StockChange.find(params[:editorId])
|
||||
if stock_change.update_attribute(:quantity, params[:value])
|
||||
if stock_change.update_attributes(:quantity => params[:value])
|
||||
render :inline => params[:value]
|
||||
else
|
||||
render :inline => "Ein Fehler ist aufgetreten."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue