Giter VIP home page Giter VIP logo

allianceauth-invoice-manager's Introduction

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

allianceauth-invoice-manager's People

Contributors

pvyparts avatar milleruk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.