Kristina Lim
|
0032a237a2
|
Wait for button to disappear before checking flash
|
2019-02-10 22:08:18 +08:00 |
|
Kristina Lim
|
175264f41f
|
Use flash matcher in shipping method feature specs
|
2019-02-10 22:08:18 +08:00 |
|
Kristina Lim
|
e14c60c1c1
|
Add RSpec matchers for flash messages
|
2019-02-10 22:08:18 +08:00 |
|
Kristina Lim
|
f143540d0c
|
Do not expect modal open when checking spinner gone
The element referenced in the following might no longer be visible:
within "div.reveal-modal"
|
2019-02-09 22:40:40 +08:00 |
|
Kristina Lim
|
de30cf1198
|
Fix description for feature flag example groups
|
2019-02-08 21:26:39 +00:00 |
|
Kristina Lim
|
461b5725d1
|
Hide report link and resource from non-superadmins
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
1d3f4aa28a
|
Add feature flag for enterprise fee summary
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
c92d202612
|
Rename files for factories in spec/factories/
Make these follow the "#{SINGULAR_OBJECT}_factory.rb" convention.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
625069cb5a
|
Add :per_item factory trait to shipping and payment methods
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
d2e49b8b49
|
Move variant setup to new factory trait
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
ce030aeb07
|
Move order setup to new factory traits
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
61ec43f868
|
Add enterprise fee factory trait for per item rate
We should not presume what is not default for an enterprise fee object.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
eaa7800427
|
Do not assign I18n translation to constants
The preferred language could change dynamically.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
c8b154b12a
|
Separate enterprise fee summary action
Split the previous "index" action into "new" and "create" actions.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
a17fa8013f
|
Clean up I18n scope in feature specs for report
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
c0e6b70131
|
Rename EnterpriseFeeSummaryReportController
Remove "Report" because this is redundant, and pluralize the resource
name.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
2063752b97
|
Improve specs for Enterprise Fee Summary
This also addresses a spec that has failed over the rebasing.
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
b78e2b4720
|
Move lib files for enterprise fee summary to engine
|
2019-02-08 21:26:38 +00:00 |
|
Kristina Lim
|
dcb1d9fe25
|
Add feature tests for enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
edf0b0df76
|
Add navigation item for enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
d3e9a53120
|
Filter enterprise fee summary for user permissions
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
f81f4b7e4a
|
Authorize filters before generating enterprise fee report
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
9ce313c7f5
|
Define filter authorizer for enterprise fee report
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
cd3e258b59
|
Rename report authorizers to reflect permissions
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
469988856d
|
Define permissions for enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
5fce9d0a7d
|
Add multi-distributor scope to shipping and payment methods
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
24ab2e7fb0
|
Add filtering to enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
2407531957
|
Make more code for report tests reusable
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
d573dc5023
|
Make order builder for enterprise fee summary flexible
This is in preparation for tests for filtering the report.
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
4a00aceba2
|
Include shipping fees in enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
1273cc085b
|
Include payment fees in enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
7d74ddc85b
|
Add HTML view for enterprise fee summary report
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
418050c1b8
|
Remove blank strings from array report parameters
Remove the blank strings that Rails multiple selects add by default to
make sure that blank lists are still submitted to the server as arrays
instead of nil.
https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-select
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
ec81e4221f
|
Add basic action for enterprise fee summary
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
5b6bbc3920
|
Add generation of CSV renderer filename
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
ed2b8e9b9f
|
Add CSV renderer for enterprise fee summary report
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
00e70733b0
|
Add test data for enterprise fee summary report
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
e7ed625d5a
|
Add processing of enterprise fee summary from DB
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
faf7079780
|
Specify sort order of enterprise fee totals data
|
2019-02-08 21:26:37 +00:00 |
|
Kristina Lim
|
a097640464
|
Add basic form object for enterprise fee summary
|
2019-02-08 21:26:36 +00:00 |
|
Kristina Lim
|
519a7d2ee6
|
Add datetime and integer array validator matchers
|
2019-02-08 21:26:36 +00:00 |
|
Kristina Lim
|
f6e8f18d89
|
Add validator for integer arrays
Example usage:
validates :related_post_ids, integer_array: true
|
2019-02-08 21:26:36 +00:00 |
|
Kristina Lim
|
de9cff6fc2
|
Add validator for datetime string
Example usage:
validates :start_at, date_time_string: true
|
2019-02-08 21:26:36 +00:00 |
|
Pau Perez
|
f998748634
|
Clarify why we end up with 3 adjustments
And the second one is open.
|
2019-02-08 18:16:00 +01:00 |
|
luisramos0
|
3dc75c88d2
|
Delete empty controller class eval and spec. Useless left overs from 0ad2978926
|
2019-02-08 09:29:58 +00:00 |
|
luisramos0
|
1b4666fc6a
|
Add checkbox to cache settings to disable products cache
|
2019-02-07 20:06:27 +00:00 |
|
Pau Pérez Fabregat
|
88247064c4
|
Merge pull request #3397 from luisramos0/2-0-subs-allow-backorders
[Spree Upgrade] Remove allow backorders from subscriptions specs
|
2019-02-07 20:32:49 +01:00 |
|
Pau Pérez Fabregat
|
676fa3d84d
|
Merge pull request #3433 from Matt-Yorkley/bi/user_permission
Update cancan permissions for second iteration of bulk invoices
|
2019-02-07 20:17:34 +01:00 |
|
Pau Perez
|
cde465edad
|
Fix orders controller spec
|
2019-02-07 16:05:18 +01:00 |
|
Pau Pérez Fabregat
|
9613aa5a4d
|
Merge pull request #3400 from luisramos0/2-0-ship-methods
[Spree Upgrade] Change app config to keep using ofn customized spree v1 shipping method calculators, not the new spree v2 ones
|
2019-02-07 15:41:06 +01:00 |
|