Invoice module for AllianceAuth with simplicity and extendability in mind.
Project description
Invoice Manager
Invoice module for AllianceAuth with simplicity and extendability in mind.
Included Bits and Bobs:
- Simple Invoice Model
- Assigned to Character
- Due Dates
- Invoice Ref used for tracking payments
- Notifications
- Simple task for checking for payments
The ToDo List:
- Make Payment Corp selectable at invoice level
- Add the Open info in game from SRP-Mod
Installation
- this app is built as a sub module of corptools, please install this first.
- Install the app
pip install -U allianceauth-invoices - Add
'invoices',to yourINSTALLED_APPSin your projectslocal.py - run migrations, collect static and restart auth
python manage.py migrate invoicespython manage.py collectstaticsupervisorctrl restart all
- go go the following address to set up default cron tasks
AUTH ADDRESS/invoice/admin_create_tasks/ - setup your perms as documented below
- add characters and corp tokens as required
- Setup update tasks if you wish for the data to be auto updated. See Usage Below.
Updates
- Install the app
pip install -U allianceauth-invoices - run migrations, collect static and restart auth
python manage.py migrate invoicespython manage.py collectstaticsupervisorctrl restart all
Set Corp ID
Add the below lines to your local.py settings file, Changing the contexts to yours.
## Settings for Invoice Manager
PAYMENT_CORP = 123456789
You can optionally se the name of the app in the ui by setting this setting
## name for Invoice Manager
INVOICES_APP_NAME = "Invoices Pay Now!"
Permissions
There are some basic access perms
Admin perms are filtered by main character, if a person has neutral alts loaded their invoices will also be visible to someone who can see their main.
| Perm | Admin Site | Perm | Description |
|---|---|---|---|
| access_invoices | nill | Can Access the Invoice App. | Generic Access perm to show the Invoice menu option |
| view_all | nill | Can View All Invoices. | Superuser level access |
| view_alliance | nill | Can View Own Alliances Invoices. | Alliance only level access |
| view_corp | nill | Can View Own Corps Invoices. | Corp restricted level access |
Notification Settings
You can disable the notifications generated by this app for either discord or auth by setting the following to false the defaults are True
## No Auth Notifications
INVOICES_SEND_AUTH_NOTIFICATIONS = False
## No Discord Notifications
INVOICES_SEND_DISCORD_BOT_NOTIFICATIONS = False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allianceauth_invoices-0.1.9.tar.gz.
File metadata
- Download URL: allianceauth_invoices-0.1.9.tar.gz
- Upload date:
- Size: 716.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb597c37b2398710879596273516a2a47aee7ffdd919bd1891e7796d4da14ea2
|
|
| MD5 |
be4016657437287b9cc237d4145856d8
|
|
| BLAKE2b-256 |
9008b392426c9a3e141741ee4bb9a1a584168a5d1a36a08e96fe4d1709c18816
|
File details
Details for the file allianceauth_invoices-0.1.9-py3-none-any.whl.
File metadata
- Download URL: allianceauth_invoices-0.1.9-py3-none-any.whl
- Upload date:
- Size: 737.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
080c08e41d0759c68524ea5c9dcddcfd45143c4cbe3a6cc40ebc337700eaa280
|
|
| MD5 |
bb0978043374647007e6d3f70ea2db16
|
|
| BLAKE2b-256 |
ea7540ad0e9266ceca4c94dcf7790b8d1323bd3c89131ab391d8f2747daec47e
|