Matt-Yorkley
f06ec94b30
Render shop_variant partial normally and remove shop_variant directive
2022-01-16 10:46:26 +00:00
Matt-Yorkley
3afd6c273a
Move shop_variant templates to views
2022-01-16 10:41:55 +00:00
Matt-Yorkley
26ac59fbba
Move Matomo event tracking for login modal into Autherntication service
2022-01-15 16:21:33 +00:00
Sebastian Castro
115dfe445b
loading-message: make them all look the same in admin
...
use font awesome spinner instead of an image
2022-01-11 21:55:07 +01:00
Sebastian Castro
4a436978a9
loading-popup: debounce display
2022-01-11 21:55:07 +01:00
Filipe
4978c95e75
Merge pull request #8467 from SarvarKh/validate-social-links
...
Fix the issue with 'at' in enterprise twitter and instagram
2022-01-11 12:53:11 +00:00
Jean-Baptiste Bellet
a1b21d7706
Take into account the lb unit name
2022-01-10 11:50:40 +01:00
Jean-Baptiste Bellet
c5beff249e
Should be divided by scale if the smallest unit
2022-01-10 11:27:18 +01:00
Jean-Baptiste Bellet
4c508a5bf9
Group by unit size is specific: it needs to be divided by scale if not the smallest unit
2022-01-10 11:24:22 +01:00
Jean-Baptiste Bellet
da9c0f4b8c
Refactor: create two internal methods: getScale and getFormattedValueWithUnitName
...
Then, the old formattedValueWithUnitName calls those two private methods
2022-01-10 11:23:30 +01:00
Jean-Baptiste Bellet
467183af48
Rename getScale to getLineItemScale to be more specific
2022-01-10 11:22:11 +01:00
Matt-Yorkley
99b75c9a6a
Adjust usage of remote-method links on credit card deletion
2022-01-08 16:54:23 +00:00
Matt-Yorkley
40ed23688d
Remove jquery_ujs
2022-01-08 16:54:23 +00:00
Jean-Baptiste Bellet
515e2cfc51
Multiply by unit_value as sumOfUnitValues is now scaled
2022-01-07 10:32:47 +01:00
Jean-Baptiste Bellet
b746eacd11
Both sumUnitValues and sumMaxUnitValues should handle imperial units
2022-01-07 10:32:46 +01:00
Jean-Baptiste Bellet
5db50481dd
Rounding to 3 decimals as scope method
2022-01-07 10:32:46 +01:00
Jean-Baptiste Bellet
7b2a9df326
Handle unitsVariant when calling formattedValueWithUnitName
...
- unitsVariant was unread but is necessary to compute the unit_name thanks to `VariantUnitManager.getUnitName()`
2022-01-07 10:32:46 +01:00
Matt-Yorkley
14a62f5d49
Change paths helpers to urls
2022-01-06 13:10:48 +00:00
Matt-Yorkley
95464cf956
Update uses of (removed) jsuri interface
2022-01-06 13:10:48 +00:00
Matt-Yorkley
0721800f56
Remove jsuri.js
2022-01-06 13:10:48 +00:00
Matt-Yorkley
49ab74e472
Remove unused JS
2022-01-05 15:25:55 +00:00
Matt-Yorkley
9aa6e79f2f
Merge pull request #8661 from SuprajaRamesh/fixing-missing-translation
...
Fixing missing translation for "Are you sure?" when deleting a product
2022-01-05 15:08:45 +00:00
SuprajaR
f3f7fba855
Replacing text with translation
2022-01-03 22:28:56 +05:30
Matt-Yorkley
01f25cbd13
Move more assets after rebase
2021-12-27 17:45:06 +00:00
Matt-Yorkley
eb224ec033
Move new CSS file after rebase
2021-12-27 17:45:06 +00:00
Matt-Yorkley
959c89a3ec
Move new image
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8a34e8e762
Move new scss files
2021-12-27 17:45:06 +00:00
Matt-Yorkley
16c6155b14
Use old image tag in Angular template files
...
Angular templates apparently don't work with Webpacker... :/
2021-12-27 17:45:06 +00:00
Matt-Yorkley
f2fc100b5f
Replace #image_path helper calls with #image_pack_path
2021-12-27 17:45:06 +00:00
Matt-Yorkley
31276ff3f5
Remove images and fonts from app/assets
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2e194ac312
Switch to npm-based Foundation javascript
2021-12-27 17:45:06 +00:00
Matt-Yorkley
8dfc30438b
Move CSS to Webpacker
2021-12-27 17:45:05 +00:00
Filipe
20c0195584
Merge pull request #8017 from cillian/hide-variants-with-no-stock
...
When creating backoffice orders hide variants with no stock by default
2021-12-23 21:34:06 +00:00
Filipe
7560b4e056
Merge pull request #8482 from jibees/6689-search-city-and-state-name
...
Search enterprises through name + city and state_name
2021-12-23 21:33:06 +00:00
Sebastian Castro
b76defc602
Improve notify producer button
...
Add icon
Better confirmation message
Adds tooltip
Adds small icon and change text if already notified
2021-12-23 20:41:49 +01:00
Sebastian Castro
d18b482b4c
Move button rules into dedicate file
2021-12-23 20:41:49 +01:00
Sebastian Castro
eb6797220f
Lift order cycle advanced settings UI
2021-12-23 20:41:49 +01:00
Filipe
0cc7bdeafa
Merge pull request #8521 from seballot/confirm-hub-change
...
Confirmation popup on shop change in admin section.
2021-12-17 10:56:37 +00:00
Filipe
e1bd2fc695
Merge pull request #8600 from seballot/shop-filters
...
Make the shop filter section always visible when scrolling
2021-12-17 09:31:51 +00:00
Filipe
e85101e5ff
Merge pull request #8599 from seballot/select
...
Style all standard select as the text input in the backoffice
2021-12-17 09:25:43 +00:00
Filipe
fd94f26765
Merge pull request #8557 from Matt-Yorkley/card-brand-formatting
...
Credit card brand formatting
2021-12-15 20:18:21 +00:00
Sebastian Castro
e20a8122b1
Make the shop filter section always visible when scrolling
2021-12-10 20:53:47 +01:00
Sebastian Castro
8fe125bd1b
Adds thin-scroll-bar class
2021-12-10 20:53:47 +01:00
Sebastian Castro
bce9fc5b4e
Style all standard select as the text input
2021-12-09 10:09:39 +01:00
Sebastian Castro
18d966f0de
Closes #8441 Confirmation popup on shop change
2021-12-08 13:34:15 +01:00
Matt-Yorkley
83fafe9969
Fix stripe elements styling
...
The selectors are different now that we're not using Angular to build the stripe card element.
2021-12-07 16:46:42 +00:00
Jean-Baptiste Bellet
216e06cd6b
Update stripe card errors styles
2021-12-07 16:27:22 +00:00
Filipe
89864395ca
Merge pull request #8520 from seballot/multiple-flash-messages
...
Fix rendering problem with multiple flash messages in the admin section
2021-12-03 01:05:36 +00:00
Filipe
b2e5a89395
Merge pull request #8487 from jibees/7278-multipe-stripe-form-in-admin-section
...
Allow mutiple stripe form in the admin section
2021-12-03 00:21:03 +00:00
Matt-Yorkley
4cdb892c75
Refactor formatting of credit card brand names and reformat automatically when saving
...
This little bit of "translation" between what we might receive as input and what ActiveMerchant requires is important, but currently the responsibility for this job is spread all over the code base. It can now just live in the CreditCard model (in one place) and doesn't need to be duplicated anywhere else (like several different places in frontend Javascript!)
2021-12-02 16:22:52 +00:00