โ™ป๏ธExports

The following exports will be useful in case you want to execute certain functions outside our resource

Client Exports

chevron-rightGetBillshashtag

This export can be used to obtain all pending bills that a user has

exports['origen_masterjob']:GetBills()
chevron-rightShowBillshashtag

This export can be used in case you want to open the invoice menu externally

exports['origen_masterjob']:ShowBills()

Server Exports

chevron-rightGetBusinesshashtag

This export can be used to obtain the information of a specific business through its id

exports['origen_masterjob']:GetBusiness(businessId)
chevron-rightGetBusinesseshashtag

This export can be used to obtain the list of all businesses and their respective information

exports['origen_masterjob']:GetBusinesses()
chevron-rightGetEmployeesOnDutyhashtag

This export can be used to obtain the list of employees on duty at a business using its id

chevron-rightGetBusinessMoneyhashtag

This export can be used to obtain the amount of money in a business's fund using its id

chevron-rightAddBusinessMoneyhashtag

This export can be used to add money to the business's fund using its id and the desired amount to add

chevron-rightRemoveBusinessMoneyhashtag

This export can be used to remove money from the business's fund using its id and the desired amount to remove

Last updated