mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Fixed #11, update esx_property too!
This commit is contained in:
+2
-2
@@ -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')
|
||||
}
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user