Skip to main content

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

  1. this app is built as a sub module of corptools, please install this first.
  2. Install the app pip install -U allianceauth-invoices
  3. Add 'invoices', to your INSTALLED_APPS in your projects local.py
  4. run migrations, collect static and restart auth
    • python manage.py migrate invoices
    • python manage.py collectstatic
    • supervisorctrl restart all
  5. go go the following address to set up default cron tasks AUTH ADDRESS/invoice/admin_create_tasks/
  6. setup your perms as documented below
  7. add characters and corp tokens as required
  8. Setup update tasks if you wish for the data to be auto updated. See Usage Below.

Updates

  1. Install the app pip install -U allianceauth-invoices
  2. run migrations, collect static and restart auth
    • python manage.py migrate invoices
    • python manage.py collectstatic
    • supervisorctrl 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

Metadata

Release files for allianceauth-invoices 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allianceauth-invoices 0.1.9
File Size Uploaded
allianceauth_invoices-0.1.9.tar.gz 716.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for allianceauth-invoices 0.1.9
File Interpreter ABI Platform
allianceauth_invoices-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / allianceauth_invoices-0.1.9.tar.gz

Download URL allianceauth_invoices-0.1.9.tar.gz
Size 716.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fb597c37b2398710879596273516a2a47aee7ffdd919bd1891e7796d4da14ea2
BLAKE2b-256 checksum
How to use checksums
9008b392426c9a3e141741ee4bb9a1a584168a5d1a36a08e96fe4d1709c18816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / allianceauth_invoices-0.1.9-py3-none-any.whl

Download URL allianceauth_invoices-0.1.9-py3-none-any.whl
Size 737.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
080c08e41d0759c68524ea5c9dcddcfd45143c4cbe3a6cc40ebc337700eaa280
BLAKE2b-256 checksum
How to use checksums
ea7540ad0e9266ceca4c94dcf7790b8d1323bd3c89131ab391d8f2747daec47e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.0.5

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page