Implement SubprojectAddresses in Subprojects

This commit is contained in:
Stefan Tollkühn
2025-07-23 16:33:45 +02:00
parent 53e2dba32d
commit 6d60abee4d
8 changed files with 26 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
module SubprojectAddressesHelper
def subproject_address_form_fields
[:streetname, :zipcode, :city, :country]
[:streetname, :zipcode, :city, :country, :subproject_id]
end
end

View File

@@ -4,6 +4,6 @@ module SubprojectsHelper
end
def subproject_view_fields
[:subproject_name, :project, :client, :owner, :builder]
[:subproject_name, :project, :client, :owner, :builder, :subproject_address]
end
end