AJAX_ify StockArticle manipulation; Introduce publish/subscribe pattern for DOM updates

This commit is contained in:
Julius Rapp 2013-12-07 11:20:03 +01:00
parent e99752e483
commit dd08e277c7
22 changed files with 313 additions and 107 deletions

View file

@ -1348,7 +1348,7 @@ en:
units_to_order: If you change the total amount of delivered units, you also have to change individual group amounts by clicking on the article name. They will not be automatically recalculated and so ordergroups may be accounted for articles that were not delivered!
update_current_price: Also update the price of the current order
stock_article:
copy_stock_article:
copy:
name: Please modify
edit_stock_article:
price: <ul><li>Price changes are forbidden.</li><li>If necessary, %{stock_article_copy_link}.</li></ul>
@ -1421,8 +1421,10 @@ en:
stockit:
check:
not_empty: ! '%{name} could not be deleted, the inventory is not zero.'
create:
notice: New stock article »%{name}« was created.
destroy:
notice: Article %{name} was deleted.
notice: Article »%{name}« was deleted.
edit:
title: Edit stock articles
form:
@ -1461,10 +1463,10 @@ en:
reason: Reason
stock_changes: Stock quantity changes
stock_taking: Inventory
stock_create:
notice: Stock article was created.
stock_update:
notice: Stock article was saved.
stock_article:
confirm_delete: Are you sure you want to delete the stock article »%{name}«?
update:
notice: Stock article »%{name}« was saved.
suppliers:
create:
notice: Supplier was created