diff --git a/client/main.lua b/client/main.lua index 7b835239..70195f0c 100644 --- a/client/main.lua +++ b/client/main.lua @@ -63,7 +63,7 @@ function OpenRealestateAgentMenu() OpenCustomersMenu() elseif data.current.value == 'boss_actions' then TriggerEvent('esx_society:openBossMenu', 'realestateagent', function(data, menu) - menu.close() + menu.close() end) end @@ -183,7 +183,7 @@ function OpenCustomersMenu() data = customers[i], cols = { customers[i].name, - customers[i].propertyName, + customers[i].propertyLabel, (customers[i].propertyRented and _U('rent') or _U('sell')), _U('contract') } diff --git a/server/main.lua b/server/main.lua index 6d805555..2cc6eed5 100644 --- a/server/main.lua +++ b/server/main.lua @@ -56,7 +56,8 @@ ESX.RegisterServerCallback('esx_realestateagentjob:getCustomers', function(sourc propertyRented = properties[i].rented, propertyId = properties[i].id, propertyPrice = properties[i].price, - propertyName = properties[i].name + propertyName = properties[i].name, + propertyLabel = properties[i].label }) end end