WP-Plugins/glm-member-db-billing.git
6 years agoUpdate account search and export to combine the filters.
Steve Sutton [Tue, 12 Jun 2018 18:43:54 +0000 (14:43 -0400)]
Update account search and export to combine the filters.

If any filter is selected it is combined with OR. So you can get export
of pending and overdue.

6 years agoDon't queue free memberships
Steve Sutton [Wed, 6 Jun 2018 18:17:31 +0000 (14:17 -0400)]
Don't queue free memberships

Free memberships are those with invoice_type set to 0

6 years agoDon't update member contact for billing with 0 as invoice type
Steve Sutton [Wed, 6 Jun 2018 18:07:42 +0000 (14:07 -0400)]
Don't update member contact for billing with 0 as invoice type

invoice_type 0 is for free membership.

6 years agoUpdate for locked to member restriction
Steve Sutton [Wed, 30 May 2018 17:22:36 +0000 (13:22 -0400)]
Update for locked to member restriction

restrict access for correct member if lockedToMember exists.

6 years agoUpdate the view invoice page.
Steve Sutton [Fri, 18 May 2018 12:52:48 +0000 (08:52 -0400)]
Update the view invoice page.

Header for paid invoices will not say Receipt.

6 years agoUpdate the invoice template to remove possible hidden markup.
Steve Sutton [Wed, 16 May 2018 19:31:43 +0000 (15:31 -0400)]
Update the invoice template to remove possible hidden markup.

Some of the markup may show up as html comments or show up different.
Removing the html comments and setting them as smarty comments.

7 years agoPut invoice html back in.
Steve Sutton [Tue, 15 May 2018 20:17:41 +0000 (16:17 -0400)]
Put invoice html back in.

They do want it.

7 years agoDon't send invoice in notifications when create an invoice.
Steve Sutton [Tue, 15 May 2018 20:15:21 +0000 (16:15 -0400)]
Don't send invoice in notifications when create an invoice.

This should be an option maybe.

7 years agoUpdate payment form in member billing section.
Steve Sutton [Tue, 15 May 2018 19:19:50 +0000 (15:19 -0400)]
Update payment form in member billing section.

Deal with more than one invoice correctly.

7 years agoUpdate front end renewal form.
Steve Sutton [Tue, 15 May 2018 17:59:32 +0000 (13:59 -0400)]
Update front end renewal form.

If the user has unpaid invoices for their account remove them before
creating another one.

7 years agoUpdates for billing.
Steve Sutton [Tue, 15 May 2018 17:41:28 +0000 (13:41 -0400)]
Updates for billing.

Add ability on invoice page to delete invoices. with confirmation.
Return errors when using renewal form on front or admin side.

7 years agoHighlight error
Steve Sutton [Tue, 15 May 2018 16:28:14 +0000 (12:28 -0400)]
Highlight error

show error in red font color.

7 years agoFix issue with payments in admin when Authorize gives an error.
Steve Sutton [Tue, 15 May 2018 16:11:40 +0000 (12:11 -0400)]
Fix issue with payments in admin when Authorize gives an error.

Pass error message through.

7 years agoCorrecting link for Dashboard to billing
Steve Sutton [Tue, 15 May 2018 13:54:26 +0000 (09:54 -0400)]
Correcting link for Dashboard to billing

show pay invoice page if they have an invoice.

7 years agobilling setup queue need to check the period of time.
Steve Sutton [Thu, 3 May 2018 20:49:50 +0000 (16:49 -0400)]
billing setup queue need to check the period of time.

Could be month or week.

7 years agoTurn off all cron task
Steve Sutton [Thu, 3 May 2018 17:36:27 +0000 (13:36 -0400)]
Turn off all cron task

Not ready.

7 years agoUnrequire reply to for notifications.
Steve Sutton [Wed, 2 May 2018 20:02:21 +0000 (16:02 -0400)]
Unrequire reply to for notifications.

Turning off requiring the reply to for notifications.

7 years agoAdd Company name to signup form.
Steve Sutton [Wed, 2 May 2018 19:52:07 +0000 (15:52 -0400)]
Add Company name to signup form.

Adding company name custom field to the migcsa become a member form.

7 years agoUpdate for the access field for contacts.
Steve Sutton [Wed, 2 May 2018 13:28:48 +0000 (09:28 -0400)]
Update for the access field for contacts.

When expired flag the access level to 35 so they are not displayed and
moderated. Then when they renewal they goto 40 display not moderated.

7 years agoCorrecting cron setup
Steve Sutton [Tue, 1 May 2018 19:21:56 +0000 (15:21 -0400)]
Correcting cron setup

Correction

7 years agoSetup the cron for expired users
Steve Sutton [Tue, 1 May 2018 19:21:02 +0000 (15:21 -0400)]
Setup the cron for expired users

set for once per day

7 years agoUpdate to start cron task up
Steve Sutton [Tue, 1 May 2018 14:40:49 +0000 (10:40 -0400)]
Update to start cron task up

uncomment cron task.

7 years agoAdd ReCaptcha for become member form.
Steve Sutton [Tue, 1 May 2018 13:38:06 +0000 (09:38 -0400)]
Add ReCaptcha for become member form.

Adding the ReCaptcha to the signup form.

7 years agoUpdate for renewal form
Steve Sutton [Mon, 30 Apr 2018 13:11:04 +0000 (09:11 -0400)]
Update for renewal form

Use the city id of the city when adding the member contact.

7 years agoFix for renewal form when adding employess.
Steve Sutton [Fri, 27 Apr 2018 20:46:13 +0000 (16:46 -0400)]
Fix for renewal form when adding employess.

Fixing the employee adding. Now totals the amount correctly.

7 years agoturn off the cron for now
Steve Sutton [Fri, 27 Apr 2018 16:49:13 +0000 (12:49 -0400)]
turn off the cron for now

7 years agoUpdate for notice types
Steve Sutton [Fri, 27 Apr 2018 16:46:02 +0000 (12:46 -0400)]
Update for notice types

Database update for the notification_type table. Adding field for
to_email. If it is set then the notification email will goto that email.
If it is not set then the notification will goto the accounts email.

7 years agoturn off cron for now
Steve Sutton [Thu, 26 Apr 2018 20:48:10 +0000 (16:48 -0400)]
turn off cron for now

turning off the cron for expired user for now

7 years agoExpired users
Steve Sutton [Thu, 26 Apr 2018 20:39:16 +0000 (16:39 -0400)]
Expired users

Deal with wordpress user also when updating the contact_roles.

7 years agoTurn off cron task for now
Steve Sutton [Thu, 26 Apr 2018 12:24:54 +0000 (08:24 -0400)]
Turn off cron task for now

So dev70 doesn't send out emails.

7 years agoUpdate for php notices.
Steve Sutton [Wed, 25 Apr 2018 20:50:21 +0000 (16:50 -0400)]
Update for php notices.

Get rid of some notices from the template.

7 years agoSetting up notice for new members
Steve Sutton [Wed, 25 Apr 2018 20:39:14 +0000 (16:39 -0400)]
Setting up notice for new members

Setup on front end sign up form.

7 years agoWorking on cron task and db update
Steve Sutton [Wed, 25 Apr 2018 19:20:29 +0000 (15:20 -0400)]
Working on cron task and db update

db update for new fields for the notification queue.
The rest is setting up the cron task for generating email notices based
on renewal dates.

7 years agoBilling renewal form now deals with adding employees.
Steve Sutton [Wed, 25 Apr 2018 14:35:36 +0000 (10:35 -0400)]
Billing renewal form now deals with adding employees.

Can now add an employee from the admin billing renewal form.

7 years agoUpdate become member form.
Steve Sutton [Tue, 24 Apr 2018 20:19:23 +0000 (16:19 -0400)]
Update become member form.

Now it is saving the member custom field data correctly.
Keeping the transaction.

7 years agoworking on the become a member form
Steve Sutton [Tue, 24 Apr 2018 18:44:43 +0000 (14:44 -0400)]
working on the become a member form

Have it adding member, contact, custom fields, account,member_info.

7 years agoMark paid
Steve Sutton [Mon, 23 Apr 2018 20:34:42 +0000 (16:34 -0400)]
Mark paid

Mark paid is working on the payment form.

7 years agoUpdate for database
Steve Sutton [Mon, 23 Apr 2018 18:58:38 +0000 (14:58 -0400)]
Update for database

Add invoice_type field to the account table.
This is for helping to find list of accounts that will have paid types.

7 years agoUpdating the billing for the employees
Steve Sutton [Fri, 20 Apr 2018 20:58:35 +0000 (16:58 -0400)]
Updating the billing for the employees

After adding new table for the employees redid how the management of the
employees are done. Now can edit these from the member billing info
page.

7 years agoUpdate the field name for account
Steve Sutton [Fri, 20 Apr 2018 16:47:58 +0000 (12:47 -0400)]
Update the field name for account

mispelled account

7 years agoUpdate for the database
Steve Sutton [Fri, 20 Apr 2018 15:49:28 +0000 (11:49 -0400)]
Update for the database

Add boss to the accounts table.
Adding new table for the employees.

7 years agoWIP setup add employees to account edit page.
Steve Sutton [Thu, 19 Apr 2018 20:55:02 +0000 (16:55 -0400)]
WIP setup add employees to account edit page.

Adding some code for selecting and adding employee to billing account.

7 years agostart work on the payment page.
Steve Sutton [Wed, 18 Apr 2018 20:52:22 +0000 (16:52 -0400)]
start work on the payment page.

Need to work on adding option for Admin user to mark the invoice paid.

7 years agoAdd to invoice and billing statements
Steve Sutton [Wed, 18 Apr 2018 20:04:07 +0000 (16:04 -0400)]
Add to invoice and billing statements

Adding 'Pay Invoice' link to:
Member billing statements.
Admin Invoice list.

7 years agoWork on the become a member form.
Steve Sutton [Tue, 17 Apr 2018 20:37:34 +0000 (16:37 -0400)]
Work on the become a member form.

Setting up checks for wpUser by email. give error message.
check password match and contain proper length.

7 years agoAdding billing dashboard widget
Steve Sutton [Mon, 16 Apr 2018 19:51:15 +0000 (15:51 -0400)]
Adding billing dashboard widget

Billing member dashboard widget.
Gives link to the correct section.
Renewal membership link if pending or expired.
Billing Info if active.

7 years agoUpdate for become member form
Steve Sutton [Mon, 16 Apr 2018 19:40:40 +0000 (15:40 -0400)]
Update for become member form

WIP working on the add new member form for migcsa.

7 years agoEdit account page update
Steve Sutton [Mon, 16 Apr 2018 19:39:52 +0000 (15:39 -0400)]
Edit account page update

Show the employees if employees is active in settings.

7 years agoWIP billing account edit page
Steve Sutton [Fri, 13 Apr 2018 21:09:05 +0000 (17:09 -0400)]
WIP billing account edit page

Working on the employees
also redo the table into css div's

7 years agoUpdating the Billing account form
Steve Sutton [Fri, 13 Apr 2018 19:14:52 +0000 (15:14 -0400)]
Updating the Billing account form

Removing the table and using css for the billing form.

7 years agoAdd export to payment list.
Steve Sutton [Fri, 13 Apr 2018 18:36:42 +0000 (14:36 -0400)]
Add export to payment list.

Adding the export to payment list page.

7 years agoStart working on front end form for new member
Steve Sutton [Thu, 12 Apr 2018 20:36:36 +0000 (16:36 -0400)]
Start working on front end form for new member

Adding new membership form for the front end.
Setting up valid action and a shortcode.

7 years agoUpdate invoice page.
Steve Sutton [Thu, 12 Apr 2018 14:20:45 +0000 (10:20 -0400)]
Update invoice page.

Add br to footer migcsa address.

7 years agoAdd payment date back into invoice.
Steve Sutton [Thu, 12 Apr 2018 14:08:28 +0000 (10:08 -0400)]
Add payment date back into invoice.

Add the payment date.

7 years agoStart for cron task
Steve Sutton [Wed, 11 Apr 2018 20:31:20 +0000 (16:31 -0400)]
Start for cron task

For setting member contacts to login only when they expire.

7 years agoUpdate billing support class
Steve Sutton [Wed, 11 Apr 2018 19:07:55 +0000 (15:07 -0400)]
Update billing support class

Adding docs to class.

7 years agoAdd more detail on payment list
Steve Sutton [Wed, 11 Apr 2018 15:58:02 +0000 (11:58 -0400)]
Add more detail on payment list

Adding payment method and notes.

7 years agoUpdate for front end renewal form
Steve Sutton [Wed, 11 Apr 2018 15:07:54 +0000 (11:07 -0400)]
Update for front end renewal form

Adding template for view invoices.

7 years agoOnly show pay invoice if payment is due
Steve Sutton [Wed, 11 Apr 2018 14:48:32 +0000 (10:48 -0400)]
Only show pay invoice if payment is due

Check if balance is not set.

7 years agono debug output
Steve Sutton [Wed, 11 Apr 2018 14:38:46 +0000 (10:38 -0400)]
no debug output

remove debug output

7 years agoUpdate for save card.
Steve Sutton [Wed, 11 Apr 2018 14:15:32 +0000 (10:15 -0400)]
Update for save card.

Can only be used if proc_method is Authorize.net

7 years agoSet the print and pay invoice buttons so there too far right.
Steve Sutton [Wed, 11 Apr 2018 10:51:49 +0000 (06:51 -0400)]
Set the print and pay invoice buttons so there too far right.

Setting a wrapper around them and setting a max width.

7 years agoAdd pay invoice button to invoice.
Steve Sutton [Wed, 11 Apr 2018 10:32:34 +0000 (06:32 -0400)]
Add pay invoice button to invoice.

For member view of the invoice. Adding a pay Invoice button.

7 years agoDb updates and testing renewal forms
Steve Sutton [Tue, 10 Apr 2018 20:54:59 +0000 (16:54 -0400)]
Db updates and testing renewal forms

Adding new field for invioces so we know which is used for renewals.
If account has one then don't show the renewal form.

7 years agoUpdating front end renewal form
Steve Sutton [Mon, 9 Apr 2018 20:56:33 +0000 (16:56 -0400)]
Updating front end renewal form

Update for how price total is setup

7 years agoWIP updating renewal form on front end.
Steve Sutton [Mon, 9 Apr 2018 09:42:03 +0000 (05:42 -0400)]
WIP updating renewal form on front end.

Updating front end renewal form.

7 years agoSaving Authorize.net CIM data
Steve Sutton [Fri, 6 Apr 2018 21:01:40 +0000 (17:01 -0400)]
Saving Authorize.net CIM data

Now billing saves the card profile for renewal.
Need to test pay invoice again and update front end renewal form to use
the new smarty template for payment section of the renewal payment form.

7 years agoUpdating db with payment fields for Authorize.net CIM
Steve Sutton [Fri, 6 Apr 2018 19:57:04 +0000 (15:57 -0400)]
Updating db with payment fields for Authorize.net CIM

CIM Authorize.net to save the credit card on authorize.net.

7 years agoFix conflict with same validAction ajax call as registrations.
Steve Sutton [Fri, 6 Apr 2018 15:03:53 +0000 (11:03 -0400)]
Fix conflict with same validAction ajax call as registrations.

Need to keep ajax admin call names unique.

7 years agoUpdate price format for total
Steve Sutton [Fri, 6 Apr 2018 13:32:37 +0000 (09:32 -0400)]
Update price format for total

Use money format.

7 years agoBilling updates for renewal form processing.
Steve Sutton [Thu, 5 Apr 2018 20:37:38 +0000 (16:37 -0400)]
Billing updates for renewal form processing.

Updating the text on the renewal form for Membership Renewal.
adding payment option for pay by check.
showing the invoice after the submit is done.
change name of submit button to Submit Membership Renewal.
adding table layout for the renewal form sections  for choosing
the member type and employees so prices line up.

Fix the issue with incorrect class was being pulled for employees.
Also updated the employee list so if they don't have a payable member
type then they won't show up in the renewal form.

7 years agoUpdate for database.
Steve Sutton [Thu, 5 Apr 2018 17:11:01 +0000 (13:11 -0400)]
Update for database.

Add account column for line items table.

7 years agoSet anniversary_date when adding accounts.
Steve Sutton [Thu, 5 Apr 2018 12:46:33 +0000 (08:46 -0400)]
Set anniversary_date when adding accounts.

When adding accouunts for employees need to set the anniversary date.

7 years agoIf no account found for front end renewal form give message.
Steve Sutton [Thu, 5 Apr 2018 12:07:38 +0000 (08:07 -0400)]
If no account found for front end renewal form give message.

Give a message that you must be logged in with member account.

7 years agoWIP: get accounts with renewal dates
Steve Sutton [Tue, 3 Apr 2018 20:56:21 +0000 (16:56 -0400)]
WIP: get accounts with renewal dates

Working on getting accounts for a notificition based on renewal date
before.

7 years agoUpdate for cron task
Steve Sutton [Tue, 3 Apr 2018 20:15:46 +0000 (16:15 -0400)]
Update for cron task

update cron task to get accounts by renewal dates.

7 years agoUpdate account search
Steve Sutton [Tue, 3 Apr 2018 15:43:47 +0000 (11:43 -0400)]
Update account search

Submit form when any filter is clicked.

7 years agoUpdating payment page for admin.
Steve Sutton [Tue, 3 Apr 2018 15:36:57 +0000 (11:36 -0400)]
Updating payment page for admin.

Adding lookup for account invoices.
Mark each invoice as paid.

7 years agoWIP working on generic payment page.
Steve Sutton [Mon, 2 Apr 2018 20:46:02 +0000 (16:46 -0400)]
WIP working on generic payment page.

Working on pulling in the unpaid invoices for an account when they look
up by account name. Getting the list of invoices.
Need to put into the payment form.

7 years agoUpdating the support class
Steve Sutton [Mon, 2 Apr 2018 20:45:21 +0000 (16:45 -0400)]
Updating the support class

Separate out the payment processing part.
Can now do multiple invoices.

7 years agoWorking on the members pay invoice page.
Steve Sutton [Mon, 2 Apr 2018 09:32:21 +0000 (05:32 -0400)]
Working on the members pay invoice page.

Need to separate the payment processing part.

7 years agoUpdate docs for each method in billing support class
Steve Sutton [Fri, 30 Mar 2018 18:53:32 +0000 (14:53 -0400)]
Update docs for each method in billing support class

Making sure to include php docblocks for each billingSupport method.

7 years agoUpdate view for the invoice.
Steve Sutton [Fri, 30 Mar 2018 13:49:54 +0000 (09:49 -0400)]
Update view for the invoice.

When getting the payment data for viewing invoice need to get payment
data not invoice_payment data.

7 years agoFor errors when processing renewal form.
Steve Sutton [Fri, 30 Mar 2018 13:25:22 +0000 (09:25 -0400)]
For errors when processing renewal form.

Give error messages when processing renewal form.

7 years agoUpdating the export account popup.
Steve Sutton [Fri, 30 Mar 2018 12:25:34 +0000 (08:25 -0400)]
Updating the export account popup.

Make the default csv output not html.

7 years agoUpdate list views
Steve Sutton [Fri, 30 Mar 2018 12:20:51 +0000 (08:20 -0400)]
Update list views

Get rid of checkboxes for the invoices page.
Set the autocomplete to submit form on invoices list.

7 years agoUpdate for changes to the dataAbstract
Steve Sutton [Thu, 29 Mar 2018 19:19:50 +0000 (15:19 -0400)]
Update for changes to the dataAbstract

Deal with changes after dataAbstract pointer is updated.

7 years agoFix the memory issue
Steve Sutton [Thu, 29 Mar 2018 18:44:10 +0000 (14:44 -0400)]
Fix the memory issue

remove force_list option from dataAbstract

7 years agoDeal with out of memory issues.
Steve Sutton [Thu, 29 Mar 2018 18:34:55 +0000 (14:34 -0400)]
Deal with out of memory issues.

Give third parameter of true to keep from getting all member data in
pointer type.

7 years agoUpdate the dataAbstract class for accounts.
Steve Sutton [Thu, 29 Mar 2018 18:25:58 +0000 (14:25 -0400)]
Update the dataAbstract class for accounts.

Put the post processing part in if statement to check for it needing to
be used.

7 years agoWhen member account name search changes then submit the form.
Steve Sutton [Thu, 29 Mar 2018 16:08:33 +0000 (12:08 -0400)]
When member account name search changes then submit the form.

Submit form also when it changes and it is empty.

7 years agoAdding settings for allow_employees and membeship_choice
Steve Sutton [Thu, 29 Mar 2018 15:40:28 +0000 (11:40 -0400)]
Adding settings for allow_employees and membeship_choice

Adding two settings.
allow_employees - setup for migcsa
allow_membership_choice - on renew form allow member to choice the
membership level.

7 years agoAdd shortcode for front end renewal form.
Steve Sutton [Thu, 29 Mar 2018 15:02:41 +0000 (11:02 -0400)]
Add shortcode for front end renewal form.

Add the renewal form to the front end.

7 years agoRemove tmux log
Steve Sutton [Thu, 29 Mar 2018 13:05:10 +0000 (09:05 -0400)]
Remove tmux log

Not needed here.

7 years agoUpdate dashboard and account list for php notices.
Steve Sutton [Thu, 29 Mar 2018 13:04:20 +0000 (09:04 -0400)]
Update dashboard and account list for php notices.

Get rid of undefined notices.

7 years agoMore styles for form. Bug fix for invoice creation.
Steve Sutton [Thu, 29 Mar 2018 12:57:48 +0000 (08:57 -0400)]
More styles for form. Bug fix for invoice creation.

When creating invoice for one with emploees make sure not to overwrite
the account_id variable.
Styles for the renew form to have half columns.

7 years agoForm and db updates
Steve Sutton [Wed, 28 Mar 2018 23:44:33 +0000 (19:44 -0400)]
Form and db updates

Update the last db script so the defaults get set for the new fields.
Adding some form styles.

7 years agoUpdate for when employees have no account setup.
Steve Sutton [Wed, 28 Mar 2018 20:50:40 +0000 (16:50 -0400)]
Update for when employees have no account setup.

Create an account for the employee member.

7 years agoUpdate dashboard and account list with filters.
Steve Sutton [Wed, 28 Mar 2018 19:33:58 +0000 (15:33 -0400)]
Update dashboard and account list with filters.

Adding filters for account list.
Adding Active filter.

7 years agoRenew form now is creating invoice and payment to invoice.
Steve Sutton [Wed, 28 Mar 2018 17:10:59 +0000 (13:10 -0400)]
Renew form now is creating invoice and payment to invoice.

Creates an invoice for the membership renewal.
Creates a payment and applies it to that invoice.
Updates the members renewal date.