SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 84 forks source link

Feature to assign already registered vehicles to existing business #1821

Closed bartusek27 closed 11 months ago

bartusek27 commented 11 months ago

Describe the feature

Currently, there is only a possibility to create a new vehicle in the business dashboard. If the car already exists, in the client it is not possible to assign a vehicle to a business.

Ideally:

Additional Context

No response

casperiv0 commented 11 months ago

have a way to assign a business to a vehicle (I highly recommend having it in the same way as transferring the vehicle to different citizen - through special modal - rather than using Edit Vehicle modal

It will use the same modal, however, will allow you to select to transfer to a business or a citizen.

Can it only be transferred to owned businesses or all businesses? @bartusek27

bartusek27 commented 11 months ago

Good question - I would leave it to all since you have it the same for citizens - our own script also needs confirmation from the receiving party (so for example if some citizen would commit a crime with that vehicle, they could transfer that car to a different citizen or business to falsely implicate them).