This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
membership_software [2014/01/12 19:20] plural added invoice reminder instructions. |
membership_software [2016/12/08 07:55] (current) dan_dude |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== This software is no longer used ====== | ||
+ | |||
====== Membership Software Howtos ====== | ====== Membership Software Howtos ====== | ||
Line 7: | Line 9: | ||
By running this script, you will create new copies of all invoices for this month marked with auto-renew. | By running this script, you will create new copies of all invoices for this month marked with auto-renew. | ||
- | You need to have the source | + | You need to have the following tools installed: |
+ | * Python 2.7: http:// | ||
+ | * httplib2: http://code.google.com/ | ||
+ | * Google App Engine | ||
+ | * Git: http:// | ||
+ | |||
+ | Grab the software with git clone https:// | ||
From the mkemakerspace-tools directory, run the following command: | From the mkemakerspace-tools directory, run the following command: | ||
Line 36: | Line 44: | ||
RenewInvoicesForMonth: | RenewInvoicesForMonth: | ||
Fetching makers | Fetching makers | ||
- | Richard | + | Richard |
- | Steven | + | Steven |
... | ... | ||
</ | </ | ||
Line 52: | Line 60: | ||
from the remote_api_shell, | from the remote_api_shell, | ||
+ | |||
+ | The reminders script appends to reminders.log in the working directory. | ||
< | < | ||
Line 71: | Line 81: | ||
< | < | ||
s~mkemakerspace> | s~mkemakerspace> | ||
+ | </ | ||
+ | |||
+ | ===== Cancelling Open Invoices ===== | ||
+ | |||
+ | If you want to cancel a bunch of unpaid (open) invoices, run this script. | ||
+ | |||
+ | from the remote_api_shell, | ||
+ | |||
+ | The cancellation script appends to invoice_cancellations.log in the working directory. | ||
+ | |||
+ | < | ||
+ | s~mkemakerspace> | ||
+ | s~mkemakerspace> | ||
+ | s~mkemakerspace> | ||
+ | WARNING: | ||
+ | Starting reminders at 2014-01-12 19: | ||
+ | s~mkemakerspace> | ||
+ | Cancelling open invoices with due date of: 2014-02-07. DRY_RUN: True | ||
+ | Fetching invoices | ||
+ | Complete | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | s~mkemakerspace></ | ||
+ | |||
+ | By default that will just show you what it would do. To really send out the reminders, run the function like this: | ||
+ | |||
+ | < | ||
+ | s~mkemakerspace> | ||
</ | </ | ||