Added condition for items and started with localize
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-28 22:28:13 +02:00
parent edf3886b94
commit 9e18b233d9
10 changed files with 242 additions and 125 deletions

View File

@@ -125,6 +125,6 @@ class ItemsController < ApplicationController
def item_params
# 'user_name' und 'room_name' müssen in die Strong Parameters aufgenommen werden!
params.require(:item).permit(:name, :sku, :sticker_id, :serial_number, :price, :notes, :category_id, :user_id, :room_id, :user_name, :room_name)
params.require(:item).permit(:name, :sku, :sticker_id, :serial_number, :price, :notes, :category_id, :user_id, :room_id, :user_name, :room_name, :condition)
end
end