-
Code review cleanups.
-
Fix the "details" link.
-
Use new query helper for calculating pending followups count in order actions. Also cleaned up the actions output code.
-
Use new query helper to load pending followups in an order's followup page (/admin/store/orders/%order_id/follow-up). Also reformatted sent followup query to be more readable.
-
Abstracted mega query out into it's own query helper function, to reduce code replication.
-
Rewrote uc_followup_cron() to fix the $mega_query, make it more efficient, add support for the 'effective_date', and filter out orders that don't have an email address.
-
Add 'effective_date' field to followups, to allow site builders to specify when a followup should go into effect.
-
Add an index for the date column of the uc_followup_sent table.
-
Delete variables when the module is uninstalled.
-
Changed the order of the GROUP BY in the mega query so that it uses the MySQL index.