Rob Harrington
|
6cc403cd92
|
Preventing double creation of invoices by recognising completed invoices within the specifed period
|
2015-09-17 22:38:13 +10:00 |
|
Rob Harrington
|
11c3cf5f71
|
Pushing setting validation for accounts jobs into separate methods capable of logging errors to bugsnag
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
448bd12e9f
|
Adding billing tasks to whenever schedule
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
204a3275ac
|
Sorting billable_periods before adding adjustments to user invoices, partly for sanity, partly so that specs works in a logical way
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
6665f9b4a0
|
Adding global settings for controlling automatic scheduling of accounts tasks
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
ddb0aa4e74
|
Billable periods from the future are not obsolete
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
aa8e486a45
|
Look for job names without 'Struct', now that we aren't using structs
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
619c4959ff
|
Removing button for updating billable periods from accounts and billing settings page
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
1b2a06572b
|
Converting accounts jobs to classes, which allows initialization with start and end dates
|
2015-09-17 22:38:12 +10:00 |
|
Rob Harrington
|
cc26321ab2
|
Billable Period Updater does not run when end_date is in the future
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
fb01f6d32a
|
User Invoice Finalizer does not run when end_date is in the future
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
0fbd26a3c5
|
User Invoice Updater does not run when end_date is in the future
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
6f3fad5864
|
Adding comments
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
5f61952785
|
UpdateUserInvoices can be run for a specific month
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
128b6853f4
|
Styling tweaks to the admin account page
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
bed3815df5
|
User invoice updater formats date strings in localtime
|
2015-09-17 22:38:11 +10:00 |
|
Rob Harrington
|
7c5816af82
|
Switching accounts interface over to showing invoices
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
15df1f7f26
|
Tightening up user selection in UpdateUserInvoices job
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
065bc087d5
|
Invoice updater cleans up obsolete billable adjustments, ignore billable adjustments without bills and destroys empty invoices
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
c53b5f3edb
|
Adding finalize step to accounts and billing settigns page + controller
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
60cd5ce879
|
Splitting out invoice finalization as a separate step
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
8bbda5715d
|
Adding basic template for account page
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
92eb5ed367
|
Adding routes for a new admin account page for users to manage their billing preferences and access invoices
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
70de4fd1fd
|
Touching unchanged billable_periods to prevent them from being marked for deletion
|
2015-09-17 22:38:10 +10:00 |
|
Rob Harrington
|
c2c0c3684d
|
Refactoring accounts and billing settings controller, adding start_job action
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
38e3690f56
|
Adding route for start_job action on accounts and billing settings controller
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
2048800c43
|
Billable periods updater does not auto-run user invoices updater
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
cc0f1ccfa7
|
Update Billable Periods automatically runs Update User Invoices immediately afterwards
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
d3e8966e65
|
Update User Invoices job does not run unless necessary global settings have been configured
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
e6f6a3ad81
|
Commenting out global configs for nightly job switches, use a button to manually run jobs instead (for now)
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
160c0d75fe
|
Confirmation emails do not get send for orders distributed by accounts_distributor
|
2015-09-17 22:38:09 +10:00 |
|
Rob Harrington
|
f2389ee672
|
User Invoice Updater finalizes user invoices using global preferences for payment method and shipping method
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
0812643136
|
Adding views and feature spec for updating default payment and shipping method
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
3e9a61a693
|
Adding js infrastructure to dynamically fetch available payment and shipping methods for accounts distributor
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
e3e59d76a9
|
Adding global config for setting default payment and shipping methods for accounts distributor
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
65c26296bd
|
Billable period updater cleans up untouched billable periods for the current billing period
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
9c4ed5f092
|
Enterprises have billable_periods
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
f0fa696d2f
|
Default scope for BPs ignores deleted records
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
4d58faefd8
|
Adding timestamps to billable periods
|
2015-09-17 22:38:08 +10:00 |
|
Rob Harrington
|
311ffc3dc9
|
wip: user invoice updater finalizes orders on the first of the month
|
2015-09-17 22:37:56 +10:00 |
|
Rob Harrington
|
d51c69d353
|
WIP: User invoice updater adds adjustments to current_invoice for each relevant billable_period
|
2015-09-17 22:37:56 +10:00 |
|
Rob Harrington
|
ee8a86d495
|
User model can generate a current invoice for enterprise users
|
2015-09-17 22:37:56 +10:00 |
|
Rob Harrington
|
fa8c3d65dc
|
Adding settings for global accounts and billing setup
|
2015-09-17 22:37:56 +10:00 |
|
Rob Harrington
|
b4e58a1a79
|
WIP: Basic structure for daily job to update user invoices
|
2015-09-17 22:37:55 +10:00 |
|
Rob Harrington
|
550434dfe8
|
Renaming bill_items to billable_periods
|
2015-09-17 22:37:55 +10:00 |
|
Rob Harrington
|
fc44e57171
|
Finishing refactor of bill item updater spec
|
2015-09-17 22:37:45 +10:00 |
|
Rob Harrington
|
77f735c722
|
WIP: Refactoring bill item updater specs
|
2015-09-17 22:37:45 +10:00 |
|
Rob Harrington
|
b736e209ca
|
Bill Item Update handles enterprises created part-way through the month
|
2015-09-17 22:37:45 +10:00 |
|
Rob Harrington
|
af2bc99c71
|
Clean up update_bill_items spec after refactor
|
2015-09-17 22:37:44 +10:00 |
|
Rob Harrington
|
924b3b4cc3
|
Refactoring update_bill_items job
|
2015-09-17 22:37:44 +10:00 |
|