Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change salary as a Boss/Owner of a job #235

Open
Birdy113 opened this issue Nov 12, 2023 · 5 comments
Open

Change salary as a Boss/Owner of a job #235

Birdy113 opened this issue Nov 12, 2023 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@Birdy113
Copy link

The problem

You cannot change salary as boss/owner. From old days when old ESX we could do that but not with newer frameworks. I miss this feauture

Ideal solution

Give freedom to business owners (Boss) to change salary to their employees to create better business RP

Alternative solutions

Make it in DB salary system or make it possible to do salary in DB. (Changeable)

Additional context

No response

@Birdy113 Birdy113 added the enhancement New feature or request label Nov 12, 2023
@D4isDAVID D4isDAVID added this to Issues Nov 12, 2023
@github-project-automation github-project-automation bot moved this to Todo in Issues Nov 12, 2023
@domkeeeee
Copy link

Would be great

@Manason
Copy link
Member

Manason commented Dec 13, 2023

Yeah this is something I'd love to do in the future when I have some time. The way we'd do it is adding a separate jobs table which lists all the job names and their salaries. Then the existing jobs config would just be the default salary if there is no value in the database.

If someone can get to it before me though that would be great.

@TonybynMp4
Copy link
Contributor

Yeah this is something I'd love to do in the future when I have some time. The way we'd do it is adding a separate jobs table which lists all the job names and their salaries. Then the existing jobs config would just be the default salary if there is no value in the database.

If someone can get to it before me though that would be great.

might be something we could do with 2.0 and the great db refactor / new group system

@Manason
Copy link
Member

Manason commented Dec 22, 2023

Yeah this is something I'd love to do in the future when I have some time. The way we'd do it is adding a separate jobs table which lists all the job names and their salaries. Then the existing jobs config would just be the default salary if there is no value in the database.
If someone can get to it before me though that would be great.

might be something we could do with 2.0 and the great db refactor / new group system

No need to wait for 2.0. This would be a separate new table. Also has nothing to do with a group system.

@Manason
Copy link
Member

Manason commented Mar 1, 2024

Attempted to do this, but it was too difficult to maintain backwards compatibility. To do this properly, we'd need to likely remove the jobs.lua entirely and create a set of commands and a UI for modifying the jobs. And we'd need to break QBCore.Shared.Jobs. Will mark this as a v2.0 change

@Manason Manason modified the milestones: 1.0.0, 2.0.0 Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

4 participants