dependabot[bot]
ae04716391
Bump debug from 1.8.0 to 1.9.0
...
Bumps [debug](https://github.com/ruby/debug ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/ruby/debug/releases )
- [Commits](https://github.com/ruby/debug/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: debug
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 09:27:53 +00:00
Mohamed ABDELLANI
915afd8557
update the invoice v3 template
2023-12-11 08:26:32 +01:00
Mohamed ABDELLANI
615c001c28
implement Invoice#previous_invoice
2023-12-11 08:26:32 +01:00
Gaetan Craig-Riou
f6ba2dc70c
Merge pull request #11917 from mkllnk/json-canonicalization
...
Bump json-canonicalization from 0.3.2 to 0.4.0
2023-12-11 10:04:02 +11:00
Maikel
3ceef60f6f
Merge pull request #11913 from openfoodfoundation/dependabot/bundler/knapsack_pro-6.0.3
...
Bump knapsack_pro from 6.0.2 to 6.0.3
2023-12-11 09:58:29 +11:00
Maikel Linke
e8eeb0029c
Bump json-canonicalization from 0.3.2 to 0.4.0
...
This is actually not changing anything. The author didn't realise the
bad implications of yanking 0.3.2 and restored it as 0.4.0.
https://github.com/dryruby/json-canonicalization/issues/2
2023-12-11 09:48:51 +11:00
Konrad
5aaaef63ac
Merge pull request #11911 from arunguleria/11599-checkout-page-title-changes
...
Change page title on checkout pages
2023-12-10 20:53:56 +01:00
Konrad
cdb7312e95
Merge pull request #11798 from cillian/conditional-supplier-column-in-order-cycle-report
...
Only display Supplier column in Order Cycle Report email if there is more than one supplier
2023-12-10 16:49:23 +01:00
dung bui
c0ed579b44
Merge branch 'master' into ft/include-vouchers-in-revenues-by-hub-report
2023-12-09 13:04:52 +07:00
Dung Bui
d8024eb526
include voucher tax adjustment in revenues by hub report
2023-12-09 12:40:51 +07:00
Sigmund Petersen
7b7b4ceb81
Merge pull request #11696 from abdellani/sequential-invoice-numbers-per-distributor
...
Sequential invoice numbers per distributor
2023-12-08 13:56:23 +01:00
Mohamed ABDELLANI
4a22224c73
fix existing tests
2023-12-08 13:33:36 +01:00
Mohamed ABDELLANI
fea910f8b6
update the invoice number rendering
2023-12-08 13:33:36 +01:00
Mohamed ABDELLANI
41d5ca7861
update the invoice number calculation
2023-12-08 13:33:36 +01:00
Rachel Arnould
60656dedd4
Merge pull request #11901 from dacook/buu-bom-pagination-11608
...
Ensure pagination appears at bottom of table
2023-12-08 13:25:31 +01:00
dependabot[bot]
9f71f710ff
Bump knapsack_pro from 6.0.2 to 6.0.3
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 6.0.2 to 6.0.3.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v6.0.2...v6.0.3 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 09:18:18 +00:00
Maikel Linke
29ef444f36
Consolidate system specs for efficiency
...
And test for literal strings. It's more readable and robust.
2023-12-08 09:05:00 +05:30
Maikel Linke
f88a3122ee
Fix expectation of checkout title
2023-12-08 09:05:00 +05:30
Arun Guleria
d60216787b
11599 Remove whitespace trailing
2023-12-08 09:05:00 +05:30
Arun Guleria
4e408d404b
11599-Change page title on checkout pages
2023-12-08 09:05:00 +05:30
Maikel
029b8ce255
Merge pull request #11910 from openfoodfoundation/dependabot/bundler/knapsack_pro-6.0.2
...
Bump knapsack_pro from 6.0.1 to 6.0.2
2023-12-08 09:14:35 +11:00
Maikel
fe4380a84a
Merge pull request #11900 from filipefurtad0/valid_cards_extend_payment_intents_tests
...
Adds payment intent creation/capture tests for valid credid card types (non-3D)
2023-12-08 09:04:56 +11:00
filipefurtad0
3802447bfe
Removes credit card mock, pointing to real Stripe object
...
Re-records cassettes after source change
2023-12-07 18:30:23 +00:00
dependabot[bot]
4938d1a37c
Bump knapsack_pro from 6.0.1 to 6.0.2
...
Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby ) from 6.0.1 to 6.0.2.
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: knapsack_pro
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-07 09:53:12 +00:00
David Cook
1d3a588820
Update all locales with the latest Transifex translations
v4.4.23
2023-12-07 16:53:26 +11:00
Maikel
f898572094
Merge pull request #11903 from openfoodfoundation/dependabot/bundler/json-2.7.1
...
Bump json from 2.7.0 to 2.7.1
2023-12-07 08:03:03 +11:00
Maikel
f8347ff836
Merge pull request #11904 from openfoodfoundation/dependabot/bundler/knapsack_pro-6.0.1
...
Bump knapsack_pro from 6.0.0 to 6.0.1
2023-12-07 08:02:42 +11:00
Maikel
7bc1442b5b
Merge pull request #11899 from filipefurtad0/system_spec_zero_priced_variant
...
Adds test cases to account for priceless and 0.0 priced variant creation
2023-12-07 07:53:42 +11:00
dependabot[bot]
244d532268
Bump json from 2.7.0 to 2.7.1
...
Bumps [json](https://github.com/flori/json ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/flori/json/releases )
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md )
- [Commits](https://github.com/flori/json/compare/v2.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-06 20:48:01 +00:00
Maikel
c34990bef4
Merge pull request #11895 from openfoodfoundation/dependabot/bundler/rubocop-1.58.0
...
Bump rubocop from 1.57.2 to 1.58.0
2023-12-07 07:46:54 +11:00
Konrad
7efc6f35b2
Merge pull request #11891 from bmd08a1/ft/search-by-customer-fullname-with-comma
...
Allow searching orders by customers' full name with comma and full name reversed
2023-12-06 21:08:28 +01:00
Konrad
7c892b2e9e
Merge pull request #11889 from cillian/split-checkout-to-just-checkout
...
Replace references to 'split checkout' with just 'checkout'
2023-12-06 20:42:26 +01:00
Konrad
dc4b6519dd
Merge pull request #11885 from dacook/flash-messages
...
Fix mapping of flash messages on order cycle pages
2023-12-06 18:03:57 +01:00
David Cook
979071736b
Fix typo
2023-12-06 17:00:31 +11:00
David Cook
6280d4c1ea
Merge pull request #11907 from dacook/buu-style-tweaks
...
[BUU] Link style tweaks
2023-12-06 16:10:52 +11:00
David Cook
0f3a952fd0
Add translation for product cloned message
...
A validation error shouldn't happen. If it does, it's an exception, not an error.
2023-12-06 15:13:20 +11:00
David Cook
0f46da07b2
Render flashes along with table
...
It doesn't matter where the flash messages appear in the HTML (thanks to fixed positioning), so why not keep it simple and send them with the main response.
preventDefault in case we are inside a form, so the button doesn't submit it.
2023-12-06 15:13:15 +11:00
David Cook
7fe2284d84
Refactor: Move ID out of partial
...
Because it can only be used once. But the classname can be used each time the partial is included.
2023-12-06 14:18:58 +11:00
David Cook
9fa521917e
Allow nav menu items to wrap
...
And thus avoid wrapping inside the li.
This avoids the menu going off the edge of the screen.
2023-12-06 12:54:04 +11:00
David Cook
4de40e817f
Left-align navigation menu
...
It looks really wierd when there's only a few items.
2023-12-06 12:54:04 +11:00
David Cook
3760cd93b9
Enable brower-default outlines on links
...
This code was from Spree. Unless you have good focus/active styles for all links, the outline is very helpful for accessibility.
Most websites these days add nice thick outlines, which might be worth considering in the future.
2023-12-06 12:54:01 +11:00
David Cook
32a4088386
Revert " #11067 , remove messages to match with old UI UX"
...
Now we support flash messages, we can show it!
This reverts commit d8904099dd .
2023-12-06 10:12:18 +11:00
David Cook
fbf0afa15d
Auto dismiss success flashes only
2023-12-06 10:12:18 +11:00
David Cook
0b4013dd11
Add dismiss button to flashes
...
And updating the secondary button style to ensure it's always white background
2023-12-06 10:12:17 +11:00
David Cook
20afe5b99c
Update style of flash messages
...
They now hover near the bottom of the screen.
I've created new variables so as not to mess with the existing use of color-success etc.
2023-12-06 10:12:17 +11:00
David Cook
44187658be
Copy messages styles for admin_v3
2023-12-06 10:12:17 +11:00
David Cook
f1a407c8a9
Remove unnecessary mixin,
...
and use generic variable for shadows.
2023-12-06 10:12:17 +11:00
David Cook
54d61cd24d
Don't show flashes until everything else is done.
...
Mario reported that it was showing before the loading spinner had gone.
Technically the loading spinner doesn't hide until after the reflex is finished, but hopefully this is close enough.
2023-12-06 10:12:17 +11:00
David Cook
6dc04c458c
Show saving success message in flash
...
I don't know if this is the best way to do it with SR, but it works..
2023-12-06 10:12:17 +11:00
David Cook
70f153b0f7
Refactor spec
...
Only the first example is testing the updated variant here.
2023-12-06 10:11:19 +11:00