πAdmin Guide
This guide is intended for server administrators and organization bosses who manage the Billing System.
Dashboard Overview
The Admin App provides advanced management tools for your organization. To access it, you must have the required boss rank (or be a server admin).
Key Metrics
The dashboard displays real-time statistics for your job:
Total Revenue: Total money collected through invoices.
Pending Invoices: Total amount of money currently owed to your job.
Paid vs Unpaid: A visual breakdown of payment success.
Top Employees: Who is issuing the most invoices.
π¦ Cashbox Management
Each organization has its own Cashbox (if enabled in config.lua). This is where the money from paid invoices is deposited.
Accessing the Cashbox
Open the Admin App.
Navigate to the Cashbox tab.
Deposit & Withdraw
Deposit: Add money from your personal account to the organization's cashbox.
Withdraw: Take money from the cashbox to your personal account (requires permissions).
History: View all transactions related to the cashbox.
In config.lua, you can choose whether the cashbox is unique to each job or shared between certain jobs.
π Billing Menus
One of the most powerful features is the customizable Billing Menu. This allows you to create predefined templates for common invoices.
Managing Categories
In the Admin App, go to Menu Settings.
Click Add Category (e.g., "Traffic Violations", "Criminal Offenses").
You can enable or disable categories instantly.
Adding Item Templates
Select a category.
Click Add Item.
Set a Template Name (e.g., "Speeding 10+ over").
Set a Predefined Price.
Set a Default Quantity.
Now, when members of your job create an invoice, they can simply select this item from the list.
π Analytics & Reports
The analytics section provides deep insights into your organization's financial health.
Exporting Data
You can filter invoices by:
Date Range
Employee
Status (Paid / Unpaid / Cancelled)
Minimum/Maximum Amount
Use this data to monitor performance or conduct audits.
Invoice Management
Admins can use the History tab to:
Review any invoice issued by a member of their organization.
Cancel Invoice: If an invoice was issued in error, an admin can cancel it, removing the debt from the player.
Mark as Paid: Manually mark an invoice as paid (e.g., if the player paid via an external method).
βοΈ Global Admin Settings
The following settings are managed by server administrators via the database (billing_menus table) or through the in-game admin menu:
Manual Entry: Allow/Disallow players to type in custom prices.
Vehicle Selection: Enable/Disable the ability to pick a nearby vehicle for an invoice.
Recipient Limits: Set how many people can be billed at once.
Permission Note: Access to the Admin App is restricted to those with appropriate ranks in the framework (e.g., "boss" in ESX or "god" in QBox). Ensure your framework ranks are correctly configured.
Last updated

