G-Billing is a script for FiveM QBCore providing a simple and intuitive menu (accessed via one command) for employees to send bills on behalf of boss accounts/society funds and for employees and regular citizens to manage, view, and pay bills.
Note: G-Billing is a completely separate script/system from QBCore's included /bill command and qb-phone app.
- Drop the g-billing folder into your [standalone] folder (or whichever other ensured folder you want to use)
- Execute the query from g-billing.sql in your server's database
- /billing to open up the billing menu
- View your own owed and paid bills
- View your pending and paid bills sent to other citizens
- Send new bills
- Can be sent by server ID or to closest player (if enabled)
- Pay owed bills
- Cancel pending bills
- Enable/disable pop-up and/or text notifications regarding bill status changes
The code for getting the closest player was repurposed from qb-ambulancejob.