Bradley M. Kuhn
6a6ec1fca2
Properly sort so most in need get shirts first.
...
The idea behind this sort is to give monthlies top priority based on
their id number (i.e., when they hit $60, just get that shirt out to
them), and for annuals, make sure we prioritize based on how long it has
been since their last donation.
2016-05-26 20:38:48 -07:00
Bradley M. Kuhn
f3a6debdf7
Sort by last gave date.
2016-05-26 13:29:21 -07:00
Bradley M. Kuhn
ced1501eab
On second thought, nine months.
2016-05-26 13:29:00 -07:00
Bradley M. Kuhn
93d048a3fd
Find only entries that gave a year later.
2016-05-26 13:18:28 -07:00
Bradley M. Kuhn
d72431cdce
Include type in output; range check on one request
...
The request date depends on the import date, not the date of the
donation, so we have to range-check here to see if it's nearby the date
of the last donation.
2016-05-26 13:14:05 -07:00
Bradley M. Kuhn
010543c685
Adapt script to figure out problems with t-shirts
2016-05-26 12:53:20 -07:00
Bradley M. Kuhn
23487b3907
First draft of a script to find already renewed.
2016-05-26 12:34:52 -07:00
Bradley M. Kuhn
b344e4febf
Clarify output.
2016-03-11 12:29:58 -08:00
Bradley M. Kuhn
ae7b876647
Implement {set,get}PreferredPostalAddress
2016-03-11 12:29:20 -08:00
Bradley M. Kuhn
fd6b55e7be
Print public ack status on find-supporter script.
2016-03-11 12:11:58 -08:00
Bradley M. Kuhn
32bf9f399c
Simple add-request script to add request from CLI.
2016-03-11 12:11:44 -08:00
Bradley M. Kuhn
3a6edee83f
Mark preferred addresses & better formatting.
...
Note that I haven't implemented getPreferredPostalAddress() yet so it's
commented out here for now.
2016-03-11 11:23:30 -08:00
Bradley M. Kuhn
b1abebb32b
Better formatting of address output.
2016-03-11 11:10:39 -08:00
Bradley M. Kuhn
6615abe535
Print request data if it exists.
2016-03-11 11:05:05 -08:00
Bradley M. Kuhn
9a82f72aa9
Spacing changes.
2016-03-11 11:04:46 -08:00
Bradley M. Kuhn
b8add1ded5
Fix typo.
2016-03-11 11:04:22 -08:00
Bradley M. Kuhn
7398b2f3f7
Add search for id & output of postal/email address
2016-03-11 09:55:11 -08:00
Bradley M. Kuhn
279c3e33f9
Add lapsed count to output for status report.
2016-03-07 10:36:28 -08:00
Bradley M. Kuhn
6137907548
Rework to create status report for staff.
...
This script now also sends an email to the staff (via the $FROM_ADDRESS)
about the status of Supporter renewals.
2016-03-07 10:29:18 -08:00
Bradley M. Kuhn
a0c5936e1c
Send renewal notices one week before expiration.
2016-03-07 08:25:46 -08:00
Bradley M. Kuhn
76f4e3f4ef
Only tell them it'll come later if post.
2016-02-29 17:58:37 -08:00
Bradley M. Kuhn
475f8a8a1d
Allow no email address when adding supporter.
2016-02-29 17:58:23 -08:00
Bradley M. Kuhn
f8d145c3a7
Create find-supporter script.
2016-01-24 16:18:29 -08:00
Bradley M. Kuhn
ae0b7000ae
Add verbose argument.
2016-01-22 17:12:22 -08:00
Bradley M. Kuhn
376075e549
Skip lapsed supporters.
2016-01-22 17:12:05 -08:00
Bradley M. Kuhn
922e8f279e
Add additional parameters.
2016-01-22 17:10:58 -08:00
Bradley M. Kuhn
6986796a7d
Correct variable name.
2016-01-22 17:10:45 -08:00
Bradley M. Kuhn
8f5c3b8d1f
This error checking condition is now meaningless.
2016-01-22 17:10:30 -08:00
Bradley M. Kuhn
167d8c9520
checklist is the proper has value throughout.
2016-01-22 17:10:17 -08:00
Bradley M. Kuhn
1039f6f6d2
Allow for undef.
2016-01-22 17:09:41 -08:00
Bradley M. Kuhn
cf8cc36045
Giving limit for donor to receive t-shirt.
...
Analysis of IRS rules indicate that sometimes, a thank-you gift can't be
sent unless the percentage the gift is of the donation meets a certain
threshold.
This change allows the caller of this script to implement that sort of
threshold.
2016-01-08 13:10:20 -08:00
Bradley M. Kuhn
97e772b89c
Parallel hashes made no sense here.
...
Since the main index is size, no reason not to have a single hash that
is so-keyed, and have subhash with two keys for checklist and labels.
2016-01-07 12:42:51 -08:00
Bradley M. Kuhn
dd8d8cba37
Reverse shortened postal address printed.
...
Packers find that reversing the postal address makes people easier to
find when matching up labels.
2016-01-07 12:38:53 -08:00
Bradley M. Kuhn
a4fdb4ea99
Correct sorting to print by size.
...
Packers indicate that packing by size rather than any other method is
better.
2016-01-07 12:33:52 -08:00
Bradley M. Kuhn
ed6b1decb0
This should really be input to the script.
...
But changing it here for the moment.
2016-01-06 22:22:44 -08:00
Bradley M. Kuhn
dbea255aee
Properly handle counting.
...
Fix an off-by-one error on the size counts and otherwise handle counting
well.
2016-01-06 21:46:58 -08:00
Bradley M. Kuhn
e35ee8b953
Script to calculate our renewal rate.
2016-01-03 14:14:04 -08:00
Bradley M. Kuhn
da75edccf2
Handle other donor info.
2016-01-03 13:17:00 -08:00
Bradley M. Kuhn
6d7bae7e02
Correct printout of email addresses for renewal.
2016-01-03 12:26:49 -08:00
Bradley M. Kuhn
d151b992c4
First past script to print t-shirt labels.
2016-01-02 11:21:17 -08:00
Bradley M. Kuhn
f985b1c1ef
Modifications to the email notification.
2016-01-02 10:47:29 -08:00
Bradley M. Kuhn
a57ed11bd5
Additional verbosity that says what we did.
2016-01-02 10:47:22 -08:00
Bradley M. Kuhn
b85575c625
Don't warn, just print to STDERR with verbosity.
2016-01-02 10:47:09 -08:00
Bradley M. Kuhn
964755c3e3
This takes a hash as argument.
2016-01-02 10:36:35 -08:00
Bradley M. Kuhn
215ac05484
Fixed spelling on hash key.
2016-01-02 10:35:05 -08:00
Bradley M. Kuhn
2d52ce2cd1
Need to use Supporters!
2016-01-02 10:33:57 -08:00
Bradley M. Kuhn
09f25e9fc9
send-t-shirt.plx: First hack at it.
2016-01-02 10:33:35 -08:00
Bradley M. Kuhn
dcbc823f0b
need $emailTo variable.
2015-12-31 02:24:32 -08:00
Bradley M. Kuhn
5e226a3483
Rename variable.
2015-12-31 02:24:26 -08:00
Bradley M. Kuhn
db43a3ed71
First draft of renewal-notices script.
2015-12-31 02:16:30 -08:00