disable cable and oqs qty can 0

This commit is contained in:
Yan
2017-07-04 18:56:52 +06:30
parent 6a1824e410
commit d51b1a0b9e
9 changed files with 25 additions and 23 deletions

View File

@@ -11,6 +11,7 @@ class Oqs::EditController < BaseOqsController
remarks = params[:remarks]
order_item = OrderItem.find(order_items_id);
order_item.item_order_by = current_user.name
order_item.qty = qty_weight
order_item.remark = remarks
order_item.save