Mohamed ABDELLANI
500c23ce27
fix failing tests after replacing "" with none
2022-12-05 10:03:56 +01:00
Jean-Baptiste Bellet
6dec80aaaf
Links only on right side
2022-10-24 11:12:22 +02:00
Jean-Baptiste Bellet
02787e668f
Remove report_inverse_columns_logic feature toggle
...
Co-Authored-By: Maikel <maikel@email.org.au >
2022-10-24 11:12:22 +02:00
Maikel Linke
1137e6890b
Supply feature mock with default value
...
Otherwise Rspec complains about receiving another argument which is not
the one we defined here before.
2022-10-08 16:23:17 +02:00
filipefurtad0
e00a59212c
Fixes invert columns logic on reports spec
2022-09-28 11:49:20 +01:00
filipefurtad0
8b146fc72a
Adds included_in_price trait on broken specs
2022-08-05 16:41:35 +01:00
filipefurtad0
e44845c327
Creates system spec for orders and fulfilment report; adds existing test cases to this file
2022-07-04 11:08:54 +01:00
filipefurtad0
c8cab86b0c
Stubs order and adds assertions
2022-07-04 11:07:00 +01:00
Maikel
165456b8c8
Merge pull request #9229 from mkllnk/report-currency-formatting
...
Format money amounts in report spreadsheets as numbers
2022-06-23 12:18:02 +10:00
Maikel Linke
e37ec4b552
Avoid auto-formatting currencies
...
Each report can define formats for each column. But currency formatting
was also applied to all columns that had "price" in the name. Removing
this automation gives us more control and we can decide for each case.
At the moment, the currency formatting in Excel spreadsheets is not
ideal and it's easier to keep it as number.
This PR introduces a visual regression as prices are not formatted as
nicely but the columns can be used in calculations.
2022-06-20 13:18:41 +10:00
Jean-Baptiste Bellet
8ba8a95eb7
Convert key to sym, as it could be a string (in case of dynamic header)
...
ie. the tax rate
Update specs to check this case when feature toggle is activated or not
2022-06-14 15:39:06 +02:00
Jean-Baptiste Bellet
7920c1c4e8
Update Customers reports spec for feature report_inverse_columns_logic
2022-06-13 14:39:12 +02:00
Sebastian Castro
89212736e9
Reports fix formatting cells
2022-05-12 16:54:14 +02:00
Sebastian Castro
8a943f50ef
Reports: Format cells for html, pdf, and spreadsheet
...
Currency, number format, dates
2022-05-12 16:54:14 +02:00
Sebastian Castro
cd30012334
Report Refactor 3: Xero Invoices
...
This one as actually not really been refactored, too much work to rewrite it so I just encapsulated the result within the new methods definitions
2022-05-12 16:54:14 +02:00
Sebastian Castro
71aca960ee
Report Refactor 3: Order Cycle Management
2022-05-12 16:54:13 +02:00
Sebastian Castro
944d40e093
Report Refactor 3: BulkCoop
2022-05-12 16:54:13 +02:00
Sebastian Castro
287e8f5845
Reports Refactor 3
...
Easily group and create header and summary row
Auto format cells when appropriate type (boolean, dates) and render_format (neither csv nor json)
2022-05-12 16:54:13 +02:00
Sebastian Castro
452a3fa933
Reports Refactor 2: Merge Spree::reports into Admin::Reports
2022-05-12 16:54:13 +02:00
Sebastian Castro
2985d2af15
Report Refactor 1 Cleaning
...
clean no longer used methods
Remove no longer needed require
Delete files not used
Fix Linting
2022-05-12 16:54:13 +02:00
Sebastian Castro
e9513f6172
Report Refactor 1: Enterprise Fee Summary
...
Disable enterprise fee summary spec for now
Will need to write them again
2022-05-12 16:54:13 +02:00
Sebastian Castro
4a99a7d1de
Report Refactor 1: Xero Invoices
2022-05-12 16:54:13 +02:00
Sebastian Castro
41c11baa3f
Report Refactor 1: Users & Entreprises
2022-05-12 16:54:13 +02:00
Sebastian Castro
3d1b61ae6e
Report Refactor 1: Products & Inventory
2022-05-12 16:54:13 +02:00
Sebastian Castro
881a708ecf
Report Refactor 1: Payments
2022-05-12 16:54:13 +02:00
Sebastian Castro
9d943625a3
Report Refactor 1: Sales Tax
2022-05-12 16:54:13 +02:00
Sebastian Castro
e20c2e3ced
Report Refactor 1: Orders & Distributors
2022-05-12 16:54:13 +02:00
Sebastian Castro
09247b21cd
Reports Refactor 1
...
Use code closer to the new packing report controller
Handle nil @report_subtypes
2022-05-12 16:54:12 +02:00
Sebastian Castro
1ff98a1d8a
Reports: Improve UI
2022-05-12 16:54:12 +02:00
Matt-Yorkley
c046f72ca8
Fix infinite loop in datepicker selection logic
2021-12-27 11:17:33 +00:00
filipefurtad0
1bd04f283f
Fixes rubocop update validation errors
2021-12-06 09:14:21 +00:00
filipefurtad0
1393b52d98
Corrects several Rubocop offenses
2021-12-05 11:04:01 +00:00
filipefurtad0
b246cbad06
Deletes trailing space
2021-12-03 11:07:01 +00:00
filipefurtad0
7487e7256a
Implements pick_date and pick_datetime helpers
2021-12-03 10:54:28 +00:00
filipefurtad0
61aa357a39
Makes timedate selection independent of current date
2021-12-03 10:54:28 +00:00
filipefurtad0
2096b3474e
Fixes date selection on xero-flapickr
2021-12-03 10:54:28 +00:00
filipefurtad0
87365a939a
Fixes case on xero_invoice_header class
2021-12-03 10:54:28 +00:00
filipefurtad0
d2dddb674e
Fixes date selection on flapickr
2021-12-03 10:54:28 +00:00
filipefurtad0
5245d5574f
Fixes string case in assertions
2021-12-03 10:54:28 +00:00
filipefurtad0
a7a1673e2e
Moves/updates reports_spec.rb into system
2021-12-03 10:54:28 +00:00