Commit Graph

  • f12fd7b4a3 Adding button for print action to admin orders show page Rob Harrington 2015-10-16 15:10:36 +11:00
  • 40d627cb34 Adding new route for printing an order to pdf Rob Harrington 2015-10-16 15:10:08 +11:00
  • 6e7fc6a0f7 Adding invoice action to orders controller, to allow sending of invoice email Rob Harrington 2015-10-16 13:06:09 +11:00
  • 104b100fe6 Pulling distributor signoff out into separate partial Rob Harrington 2015-10-16 11:27:25 +11:00
  • 3a505abfc7 Adding WickedPDF for generation of order invoices Rob Harrington 2015-10-16 11:25:52 +11:00
  • ecc3bad8c8 Merge branch 'master' into folklabs-producer-emails Rohan Mitchell 2015-10-16 12:36:54 +11:00
  • 13fc36bad6 Reorder methods Rohan Mitchell 2015-10-15 12:00:40 +11:00
  • a766f007fc Display xero report for account invoices Rohan Mitchell 2015-10-15 11:57:51 +11:00
  • 4fbeb0c3b1 Check if an order is an account invoice Rohan Mitchell 2015-10-15 10:05:27 +11:00
  • de80e6d5bf Find adjustments for billable periods Rohan Mitchell 2015-10-15 09:58:22 +11:00
  • 92f7b72056 Check whether an individual adjustment has tax included Rohan Mitchell 2015-10-15 09:58:06 +11:00
  • b22d591775 BillablePeriods don't get updated when account_invoice has been finalized Rob Harrington 2015-10-09 12:08:53 +11:00
  • 1ad0f95536 Updating Billable Periods job ignores versions of enterprises created in the future Rob Harrington 2015-10-09 10:07:01 +11:00
  • a71410042f Ensuring that account invoice orders have an address Rob Harrington 2015-10-02 12:29:41 +10:00
  • 815df3d667 Only clean up account invoice orders that aren't already complete, don't attempt to destroy persisted account_invoice orders Rob Harrington 2015-10-02 10:16:53 +10:00
  • 27741863c5 Add simple contribution guide Rohan Mitchell 2015-10-09 15:21:58 +11:00
  • 1751a95909 place I18n init at right place in karma task Maikel Linke 2015-10-09 11:23:40 +11:00
  • c169e4af92 rename locale nor to nb Maikel Linke 2015-10-09 10:43:55 +11:00
  • 7d379dbe4b sort travis sets by run time Maikel Linke 2015-10-09 10:23:48 +11:00
  • 5f80043857 using translate filter instead of root scope function with parameters Maikel Linke 2015-10-09 10:21:26 +11:00
  • e9d1cf6eb5 using translate filter instead of root scope function Maikel Linke 2015-10-08 18:09:11 +11:00
  • d2470685cd clearing tmp cache with rake Maikel Linke 2015-10-08 15:32:32 +11:00
  • a4db4ee782 Merge remote-tracking branch 'off/travis-parallel' into i18n-replace-strings-in-js Maikel Linke 2015-10-08 16:07:52 +11:00
  • 9115e1175e Travis config for parallel execution on five nodes Maikel 2015-10-08 15:24:48 +11:00
  • 56fd91f82b CI server has to empty the cache if language files changed Maikel Linke 2015-10-07 19:10:44 +11:00
  • d62775a785 update specs and fix labels yes and no Maikel Linke 2015-10-07 18:05:59 +11:00
  • 8b40d094ee new translate filter and updated specs for js translations Maikel Linke 2015-10-07 15:47:51 +11:00
  • 91fae79be4 Update tests for new label "Login" Maikel Linke 2015-10-07 14:06:34 +11:00
  • 5aa3ebde9c Set the locale to "en" in test environment. Maikel Linke 2015-10-07 14:05:50 +11:00
  • bd737ef727 I18n object file for karma Maikel Linke 2015-10-01 16:38:47 +10:00
  • 31e7ca9fa2 locale data as js asset Maikel Linke 2015-10-01 15:54:46 +10:00
  • 0eed8b4578 better testing of existence of I18n Maikel Linke 2015-10-01 14:16:59 +10:00
  • 6b1e66ed26 Renamed no.yml to nor.yml due to error caused by using "no" Maikel Linke 2015-10-01 13:53:10 +10:00
  • da42032d92 Merge remote-tracking branch 'origin/master' into i18n-replace-strings-in-js Maikel Linke 2015-10-01 11:15:22 +10:00
  • 143c005f0a Merge remote-tracking branch 'origin/i18n-replace-strings-in-views' into i18n-replace-strings-in-js Maikel Linke 2015-10-01 11:15:01 +10:00
  • ae96541112 Internationalisation of Javascript views Maikel Linke 2015-10-01 11:13:06 +10:00
  • f8725a0174 Removing unused JS partial Maikel Linke 2015-10-01 11:12:31 +10:00
  • 9c6264c4a0 On detailed xero report, do not show product totals (xero treats them as additional line items) Rohan Mitchell 2015-09-25 13:52:51 +10:00
  • 10bc3919ca Add SKU to detailed xero report Rohan Mitchell 2015-09-22 09:28:50 +10:00
  • b5bc4701fa Detailed xero report Rohan Mitchell 2015-09-22 09:15:55 +10:00
  • 7552776349 Add product_and_variant_name display for Variant Rohan Mitchell 2015-09-21 16:49:31 +10:00
  • 8f40702369 Line items report whether they have tax included Rohan Mitchell 2015-09-21 15:57:04 +10:00
  • 9dc0598870 Adding fix to prevent account_invoice orders from being sucked into the frontend as normal orders Rob Harrington 2015-09-18 17:25:34 +10:00
  • 4f05b9c28d Changing en: to fr: in French locale file Maikel 2015-09-18 09:38:21 +10:00
  • aa4f1f1dec Fixing syntax typo in Norwegian language file Maikel 2015-09-18 09:37:35 +10:00
  • 14fbeda29e Adding bugsnag notification for case where account_invoice order has errors Rob Harrington 2015-09-17 22:23:30 +10:00
  • 1c6f3f4877 Translating words on admin accounts page Rob Harrington 2015-09-17 20:44:03 +10:00
  • 2dcbe2b4f2 Updating the admin account view to show use the new account_invoice model to display data Rob Harrington 2015-09-17 20:31:25 +10:00
  • 27384439f8 Fixing edge case in update_billable_periods job Rob Harrington 2015-09-17 20:30:40 +10:00
  • 13adb61b3a Refactoring invoice update process to use new AccountInvoice model Rob Harrington 2015-09-17 18:49:12 +10:00
  • 77c10dafd6 Linking billable_periods to the relevant account_invoice upon creation Rob Harrington 2015-09-17 12:08:59 +10:00
  • 4a8f9d1e36 Adding reference to account_invoice for each billable_period Rob Harrington 2015-09-16 16:31:28 +10:00
  • 0debdcdd9c Renaming files from user_invoice to account_invoice Rob Harrington 2015-09-16 16:13:27 +10:00
  • ae30007fed Redesignating all references to user_invoices as account_invoices Rob Harrington 2015-09-16 16:11:06 +10:00
  • aa183dc9e0 Account Invoice jobs run by specifying a year and month rather than a specific start and end times Rob Harrington 2015-09-16 15:34:32 +10:00
  • b1285cd07f WIP: Adding AccountInvoice model to more robustly record information about enterprise user invoices Rob Harrington 2015-09-16 12:33:23 +10:00
  • 79497d28d2 Associating billable periods with the relevant adjustment, and moving labelling logic to model Rob Harrington 2015-09-12 11:43:33 +10:00
  • 5eb20fd8cd Adding tax settings for billing enterprise users Rob Harrington 2015-09-11 14:55:36 +10:00
  • 01c9560a19 Account page reads from created at date of invoice Rob Harrington 2015-07-10 11:20:25 +08:00
  • 6cc403cd92 Preventing double creation of invoices by recognising completed invoices within the specifed period Rob Harrington 2015-07-10 11:17:51 +08:00
  • 11c3cf5f71 Pushing setting validation for accounts jobs into separate methods capable of logging errors to bugsnag Rob Harrington 2015-07-09 12:05:10 +08:00
  • 448bd12e9f Adding billing tasks to whenever schedule Rob Harrington 2015-07-09 09:54:40 +08:00
  • 204a3275ac Sorting billable_periods before adding adjustments to user invoices, partly for sanity, partly so that specs works in a logical way Rob Harrington 2015-07-09 07:44:17 +08:00
  • 6665f9b4a0 Adding global settings for controlling automatic scheduling of accounts tasks Rob Harrington 2015-07-09 00:58:46 +08:00
  • ddb0aa4e74 Billable periods from the future are not obsolete Rob Harrington 2015-07-09 00:10:03 +08:00
  • aa8e486a45 Look for job names without 'Struct', now that we aren't using structs Rob Harrington 2015-07-09 00:01:26 +08:00
  • 619c4959ff Removing button for updating billable periods from accounts and billing settings page Rob Harrington 2015-07-08 23:02:52 +08:00
  • 1b2a06572b Converting accounts jobs to classes, which allows initialization with start and end dates Rob Harrington 2015-07-08 23:00:31 +08:00
  • cc26321ab2 Billable Period Updater does not run when end_date is in the future Rob Harrington 2015-07-08 15:29:41 +08:00
  • fb01f6d32a User Invoice Finalizer does not run when end_date is in the future Rob Harrington 2015-07-08 15:13:23 +08:00
  • 0fbd26a3c5 User Invoice Updater does not run when end_date is in the future Rob Harrington 2015-07-08 15:00:19 +08:00
  • 6f3fad5864 Adding comments Rob Harrington 2015-07-08 14:26:00 +08:00
  • 5f61952785 UpdateUserInvoices can be run for a specific month Rob Harrington 2015-07-08 08:21:26 +08:00
  • 128b6853f4 Styling tweaks to the admin account page Rob Harrington 2015-07-07 15:57:31 +08:00
  • bed3815df5 User invoice updater formats date strings in localtime Rob Harrington 2015-07-07 15:57:11 +08:00
  • 7c5816af82 Switching accounts interface over to showing invoices Rob Harrington 2015-07-07 15:20:35 +08:00
  • 15df1f7f26 Tightening up user selection in UpdateUserInvoices job Rob Harrington 2015-07-07 08:45:26 +08:00
  • 065bc087d5 Invoice updater cleans up obsolete billable adjustments, ignore billable adjustments without bills and destroys empty invoices Rob Harrington 2015-07-06 17:33:05 +08:00
  • c53b5f3edb Adding finalize step to accounts and billing settigns page + controller Rob Harrington 2015-07-06 15:46:14 +08:00
  • 60cd5ce879 Splitting out invoice finalization as a separate step Rob Harrington 2015-07-06 14:58:20 +08:00
  • 8bbda5715d Adding basic template for account page Rob Harrington 2015-07-03 15:45:17 +08:00
  • 92eb5ed367 Adding routes for a new admin account page for users to manage their billing preferences and access invoices Rob Harrington 2015-07-03 15:36:27 +08:00
  • 70de4fd1fd Touching unchanged billable_periods to prevent them from being marked for deletion Rob Harrington 2015-07-03 15:26:02 +08:00
  • c2c0c3684d Refactoring accounts and billing settings controller, adding start_job action Rob Harrington 2015-07-03 13:06:28 +08:00
  • 38e3690f56 Adding route for start_job action on accounts and billing settings controller Rob Harrington 2015-07-03 12:36:56 +08:00
  • 2048800c43 Billable periods updater does not auto-run user invoices updater Rob Harrington 2015-07-03 12:35:58 +08:00
  • cc0f1ccfa7 Update Billable Periods automatically runs Update User Invoices immediately afterwards Rob Harrington 2015-07-02 16:26:53 +08:00
  • d3e8966e65 Update User Invoices job does not run unless necessary global settings have been configured Rob Harrington 2015-07-02 16:25:52 +08:00
  • e6f6a3ad81 Commenting out global configs for nightly job switches, use a button to manually run jobs instead (for now) Rob Harrington 2015-07-02 15:40:09 +08:00
  • 160c0d75fe Confirmation emails do not get send for orders distributed by accounts_distributor Rob Harrington 2015-07-02 14:55:54 +08:00
  • f2389ee672 User Invoice Updater finalizes user invoices using global preferences for payment method and shipping method Rob Harrington 2015-07-02 13:03:50 +08:00
  • 0812643136 Adding views and feature spec for updating default payment and shipping method Rob Harrington 2015-07-02 11:35:57 +08:00
  • 3e9a61a693 Adding js infrastructure to dynamically fetch available payment and shipping methods for accounts distributor Rob Harrington 2015-07-02 11:35:11 +08:00
  • e3e59d76a9 Adding global config for setting default payment and shipping methods for accounts distributor Rob Harrington 2015-07-02 11:33:46 +08:00
  • 65c26296bd Billable period updater cleans up untouched billable periods for the current billing period Rob Harrington 2015-07-01 12:56:51 +08:00
  • 9c4ed5f092 Enterprises have billable_periods Rob Harrington 2015-07-01 12:56:04 +08:00
  • f0fa696d2f Default scope for BPs ignores deleted records Rob Harrington 2015-07-01 12:55:48 +08:00
  • 4d58faefd8 Adding timestamps to billable periods Rob Harrington 2015-07-01 12:54:58 +08:00
  • 311ffc3dc9 wip: user invoice updater finalizes orders on the first of the month Rob Harrington 2015-07-01 10:43:27 +08:00
  • d51c69d353 WIP: User invoice updater adds adjustments to current_invoice for each relevant billable_period Rob Harrington 2015-06-30 16:42:45 +08:00