Start work for pending packages
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 9 Feb 2017 18:54:52 +0000 (13:54 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 13 Feb 2017 19:48:39 +0000 (14:48 -0500)
commitc3b0325e7c3d4140bec89f893e449a9852dc1f11
tree0a961f97027f8fbfb3b079527455664d3dbcb6b2
parent851288a8f7a03747ec57671626668650e295dfa6
Start work for pending packages

Updating the database table for management (packaging) to have three new fields.
Originally named them to_email,from_email,email_notification. Had to rename them
in my database and update the create and update script to add a prefix of
package_ to these names. As they were conflicting with the events ones.

I added the new field for status and updated the member edit and the member
manager edit package page to use the status. To have it marked pending when
the member edits the package.  Need to test this out though for member that is
not moderated.  I added the notification class from the events and coupon
that I used there and I'm setting it up for the email notifications.
Testing right now the email for admin.
Emails working currently.
16 files changed:
classes/data/dataManagement.php
classes/data/dataPackages.php
classes/helper/notification.php [new file with mode: 0644]
index.php
models/admin/member/packaging.php
models/admin/packaging/index.php
models/front/packaging/list.php
setup/databaseScripts/create_database_V1.1.5.sql [deleted file]
setup/databaseScripts/create_database_V1.1.6.sql [new file with mode: 0644]
setup/databaseScripts/dbVersions.php
setup/databaseScripts/update_database_V1.1.6.sql [new file with mode: 0644]
views/admin/management/packaging.html
views/admin/member/packaging.html
views/admin/packaging/index.html
views/admin/packaging/memberEmail.html [new file with mode: 0644]
views/admin/packaging/ownerEmail.html [new file with mode: 0644]