forked from Simnation/Main
55 lines
1.9 KiB
Markdown
55 lines
1.9 KiB
Markdown
![]() |
# ps-banking
|
||
|
Compatible with QBCore and ESX.
|
||
|
|
||
|
# Depedency
|
||
|
1. [qb-core](https://github.com/qbcore-framework/qb-core) or [ESX](https://github.com/esx-framework)
|
||
|
2. [ox_lib](https://github.com/overextended/ox_lib)
|
||
|
|
||
|
# Installation
|
||
|
* Download release files.
|
||
|
* Drag and drop resource into your server files.
|
||
|
* Start resource through server.cfg.
|
||
|
* Add the ps-banking sql file to your database.
|
||
|
* Restart your server.
|
||
|
|
||
|
## Exports
|
||
|
|
||
|
### Create Bill
|
||
|
```bash
|
||
|
# Creates a bill invoice in the bank
|
||
|
exports["ps-banking"]:createBill({
|
||
|
identifier = "HVZ84591", -- citizen id
|
||
|
description = "Utility Bill",
|
||
|
type = "Expense",
|
||
|
amount = 150.00,
|
||
|
})
|
||
|
```
|
||
|
|
||
|
# Features
|
||
|
### Overview Tab:
|
||
|
Includes all essential features such as managing your bills, withdrawing all money, depositing cash, transferring money weekly via Simmy, viewing the latest transactions, and handling unpaid invoices.
|
||
|

|
||
|
|
||
|
### Bills
|
||
|
Enables you to send and receive bills.
|
||
|

|
||
|
|
||
|
### History
|
||
|
Displays a history of all transactions with options to delete specific transactions.
|
||
|

|
||
|
|
||
|
### Stats and Reports
|
||
|
Provides a summary of all transactions made, including total amounts, current balance, and transaction trends by date and amount.
|
||
|

|
||
|
|
||
|
### Accounts
|
||
|
Allows you to create, add, or remove accounts, rename accounts, and perform deposits or withdrawals from specific accounts.
|
||
|

|
||
|
|
||
|
### ATM Access
|
||
|
Deposit and withdraw from ATMs.
|
||
|

|
||
|
|
||
|
# Credits
|
||
|
* [BachPB](https://github.com/BachPB)
|