Rohan Mitchell
|
1b62dd06b8
|
Add products cache integrity checker
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
f756749e02
|
Fix specs
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
3621c34bd5
|
Job calls ProductsRenderer with object instances rather than ids
|
2016-02-24 15:05:01 +11:00 |
|
Rohan Mitchell
|
0d0eb6117f
|
Add job to cache products JSON
|
2016-02-24 15:05:01 +11:00 |
|
Rob Harrington
|
72f7e545dc
|
Making sure bill > 0 for finalize account invoice spec
|
2015-12-17 12:04:24 +11:00 |
|
Rob Harrington
|
555f639026
|
Fixing unstable update_account_invoice specs
Rounding first then summing != summing first then rounding
|
2015-12-17 09:16:19 +11:00 |
|
Rob Harrington
|
26a2f1a280
|
Adjustments on account invoices are created based on presence of a bill
Rather than of turnover
|
2015-12-16 23:10:47 +11:00 |
|
Rob Harrington
|
f49722ba90
|
Fixing broken BMC specs
|
2015-12-16 19:18:58 +11:00 |
|
Rob Harrington
|
0370723edd
|
Attempt to add a sensible name and contact number to Account Invoice addresses
|
2015-12-16 19:18:58 +11:00 |
|
Rob Harrington
|
d46712de84
|
Obsolete BillablePeriods only deleted if their associated order is not already complete
|
2015-12-16 19:18:58 +11:00 |
|
Rob Harrington
|
a96cdd5ee7
|
Merge branch 'master' into line_item_naming
Conflicts:
app/views/admin/order_cycles/edit.html.haml
|
2015-11-13 09:54:26 +11:00 |
|
Rob Harrington
|
02423d3a41
|
Using rails time zone account invoice job specs
|
2015-10-28 16:51:18 +11:00 |
|
Rob Harrington
|
6a70c162bb
|
Account invoice jobs run according to rails config time zone rather than system time zone
|
2015-10-23 12:33:05 +11:00 |
|
Rohan Mitchell
|
ecc3bad8c8
|
Merge branch 'master' into folklabs-producer-emails
|
2015-10-16 12:38:54 +11:00 |
|
Rob Harrington
|
b22d591775
|
BillablePeriods don't get updated when account_invoice has been finalized
|
2015-10-14 14:36:38 +11:00 |
|
Rob Harrington
|
1ad0f95536
|
Updating Billable Periods job ignores versions of enterprises created in the future
|
2015-10-14 14:36:38 +11:00 |
|
Rob Harrington
|
a71410042f
|
Ensuring that account invoice orders have an address
|
2015-10-14 14:36:37 +11:00 |
|
Rob Harrington
|
815df3d667
|
Only clean up account invoice orders that aren't already complete, don't attempt to destroy persisted account_invoice orders
|
2015-10-14 14:36:37 +11:00 |
|
Rob Harrington
|
14fbeda29e
|
Adding bugsnag notification for case where account_invoice order has errors
|
2015-09-17 22:38:29 +10:00 |
|
Rob Harrington
|
27384439f8
|
Fixing edge case in update_billable_periods job
|
2015-09-17 22:38:29 +10:00 |
|
Rob Harrington
|
13adb61b3a
|
Refactoring invoice update process to use new AccountInvoice model
|
2015-09-17 22:38:29 +10:00 |
|
Rob Harrington
|
77c10dafd6
|
Linking billable_periods to the relevant account_invoice upon creation
|
2015-09-17 22:38:29 +10:00 |
|
Rob Harrington
|
0debdcdd9c
|
Renaming files from user_invoice to account_invoice
|
2015-09-17 22:38:28 +10:00 |
|
Rob Harrington
|
ae30007fed
|
Redesignating all references to user_invoices as account_invoices
|
2015-09-17 22:38:28 +10:00 |
|
Rob Harrington
|
aa183dc9e0
|
Account Invoice jobs run by specifying a year and month rather than a specific start and end times
|
2015-09-17 22:38:28 +10:00 |
|
Rob Harrington
|
79497d28d2
|
Associating billable periods with the relevant adjustment, and moving labelling logic to model
|
2015-09-17 22:38:13 +10:00 |
|
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
|
ddb0aa4e74
|
Billable periods from the future are not obsolete
|
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
|
5f61952785
|
UpdateUserInvoices can be run for a specific month
|
2015-09-17 22:38:11 +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
|
60cd5ce879
|
Splitting out invoice finalization as a separate step
|
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
|
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
|
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
|
65c26296bd
|
Billable period updater cleans up untouched billable periods for the current billing period
|
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
|
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
|
b724745acc
|
WIP: First take at a nightly job for calculating turnover for enterprises
|
2015-09-17 22:37:44 +10:00 |
|