François Turbelin
245f0caedb
Adjust sum for remaining reports
2025-10-31 15:20:44 +11:00
David Rodríguez
4c6d894bc0
Bump RuboCop to 1.86.6
...
There were a few changes needed:
* Plugins are now specified through `plugin:` config keyword.
* All plugin gems need to be specified explicitly in Gemfile since they
are no longer dependencies of plugins already specified explicitly.
* All plugin gems need to be updated in other to use the new APIs.
* One cop was renamed.
* New offenses safe to correct were corrected directly with `bundle exec
rubocop -a`.
* New offenses unsafe to correct were added to the TODO configuration
with `bundle exec rubocop --auto-gen-config --auto-gen-only-exclude
--exclude-limit 1400 --no-auto-gen-timestamp`.
2025-10-27 11:30:33 +01:00
Gareth Rogers
0a9eb173ea
Add report name and details to CSV files
2025-10-01 13:59:43 +10:00
Maikel Linke
244a88a1cd
Removed unused user from report classes
...
We needed them for a feature toggle that doesn't exist anymore.
2025-09-05 14:29:01 +10:00
Matt-Yorkley
fc1b686938
Don't generate packing reports unnecessarily when displaying the report form
2024-03-24 16:36:50 +00:00
Cillian O'Ruanaidh
bf44284237
Don't return duplicate rows in the customer addresses report
2023-06-30 17:10:44 +01:00
David Cook
db7ac904e9
Allow column formatting and header/footer stripping to be specified independently
...
This will allow us to change the options in the following commit.
2023-03-22 11:47:26 +00:00
Maikel Linke
19c4596b9e
Untie report from request object
...
We want simple report arguments to store it as background job.
2023-01-18 23:12:26 +00:00
Maikel Linke
65843fbd68
Render on-screen report as HTML in renderer
...
So it can be treated like any other format.
2023-01-18 23:12:26 +00:00
Jean-Baptiste Bellet
a6dc19f717
Introduce FeatureToggle for columns logic
...
Key is `report_inverse_columns_logic`
This commit is relative to 985893667 commit
2022-05-31 15:57:38 +02:00
Jean-Baptiste Bellet
9858936677
Starts transforming fields_to_hide to fields_to_show
2022-05-30 15:34:08 +02:00
Sebastian Castro
56fab26235
Reports: refactor to easily provide default_params
2022-05-12 16:54:14 +02:00
Sebastian Castro
0218f75f34
Packing Report: hide by default phone and price column to avoid breaking changes
2022-05-12 16:54:14 +02:00
Sebastian Castro
767afe1fba
Reports Renderer: whitelist report formats
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
5105ea345f
Reports Refactor 4: Final Touch
...
Split report_template
Clean code
Adds spec
2022-05-12 16:54:14 +02:00
Sebastian Castro
eeb525aedb
Reports: Ability to hide columns
2022-05-12 16:54:14 +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
288a35f062
Reports Refactor 2: New templates abstract classes
2022-05-12 16:54:13 +02:00
Sebastian Castro
213c0dd060
Packing Report: add price and reorder columns
...
Adds price column
last_name column first because it's used for ordering
2022-05-12 16:54:12 +02:00
Matt-Yorkley
1efaa7e726
Switch search filters from orders to line_items
2021-12-12 13:23:56 +00:00
Matt-Yorkley
e3f9825696
Rename #scoped_orders_relation
2021-12-11 19:04:22 +00:00
Matt-Yorkley
0683941f88
Ensure line items are correctly scoped for producers
2021-11-11 13:11:19 +00:00
Matt-Yorkley
924f6568d6
Replace data loading with new Reports::QueryInterface
2021-11-04 14:55:23 +00:00