diff --git a/localization/strings.pot b/localization/strings.pot index bdb68303..2df59b47 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1171,6 +1171,12 @@ msgstr "" msgid "Parent product" msgstr "" +msgid "Parent location" +msgstr "" + +msgid "Select a parent location to create a hierarchy (e.g., Building > Floor > Room)" +msgstr "" + msgid "Not possible because this product is already used as a parent product in another product" msgstr "" diff --git a/migrations/0255.sql b/migrations/0255.sql index 7f767bd5..f0a95a30 100644 --- a/migrations/0255.sql +++ b/migrations/0255.sql @@ -21,6 +21,7 @@ AS ( LIMIT 100 -- Safety limit to prevent infinite loops ) SELECT + location_id AS id, location_id, ancestor_location_id, level diff --git a/views/locations.blade.php b/views/locations.blade.php index e9a809a4..3ef23caf 100644 --- a/views/locations.blade.php +++ b/views/locations.blade.php @@ -118,10 +118,7 @@