GeorgeThoppil
898c470c00
Change enterprise visibility scope
2022-04-21 20:27:28 -04:00
Filipe
2ddc64ce4d
Merge pull request #9072 from mkllnk/remove-taxon-icons
...
Remove unused icons from Spree::Taxon
2022-04-21 11:46:57 +01:00
Filipe
01e915800e
Merge pull request #9037 from jibees/9028-last-item-of-order-cancellation
...
BOM: show custom modal on last item deletion of an order
2022-04-15 18:47:51 +01:00
Filipe
4009f3313f
Merge pull request #8814 from Matt-Yorkley/tom-select
...
Introduce new select/dropdown library
2022-04-15 18:08:08 +01:00
Maikel Linke
2e989083bd
Remove unused icons from Spree:Taxon
...
The icons are not used any more and the default icon file never existed
in our code base (only in Spree when we depended on that).
And it's better to remove this clutter before migrating those files to
Active Storage.
We are keeping the icon files in storage as a backup. The whole folder
`/spree/taxons` can be deleted when desired. But storage is cheap.
2022-04-15 16:50:28 +10:00
Maikel
a4bffc61f1
Merge pull request #8997 from apricot12/8968-Group-products-by-supplier-P1
...
Sort products by supplier in invoice
2022-04-13 11:54:12 +10:00
Matt-Yorkley
7753d9e1ea
Use TomSelect and dependent-select controller in admin order customer details form and remove ancient jQuery which uses global functions and inline scripts
...
🎉
2022-04-05 18:56:51 +01:00
Matt-Yorkley
fedfeb6dd3
Add dropdown "primary" style with blue instead of white
2022-04-05 18:56:51 +01:00
Matt-Yorkley
6459d9ea36
Replace some simple dropdowns
2022-04-05 18:56:51 +01:00
Matt-Yorkley
5e3e8c32c3
Create a simple Stimulus controller and add basic styling
2022-04-05 18:56:51 +01:00
Nihal Mohammed
5f2f5456a0
Add code to sort order by supplier when Enterprise user chooses to
2022-03-28 18:12:39 +05:30
Jean-Baptiste Bellet
b9efda9f64
Add custom confirm modal into the BOM interface
2022-03-25 10:58:33 +01:00
jibees
d4a4a36b14
Merge pull request #8766 from jibees/8477-cancel-order-and-send-confirmation-email-on-last-item-deletion
...
Edit order: on last item deletion, cancel the order and conditionally send cancellation email to consumer
2022-03-11 08:56:41 +01:00
Filipe
28ac9d980c
Merge pull request #8849 from jibees/render-pdf-with-stylesheet
...
Create a new method pdf_stylesheet_pack_tag that actually include CSS in PDF files
2022-02-21 23:09:21 +00:00
Filipe
9966b5b33c
Merge pull request #8565 from jibees/8171-group-by-imperial-unit
...
Handle imperial units in the Bulk Order Management interface
2022-02-21 14:47:38 +00:00
Jean-Baptiste Bellet
8624fa2a85
On last item deletion, prevent user on order canceling and cancellation email
...
... with a modal.
User can cancel the modal or confirm the last item deletion & order cancelation with or without sending a cancellation email to the consumer.
2022-02-10 14:39:00 +01:00
Jean-Baptiste Bellet
a951fd2c06
Create a new method pdf_stylesheet_pack_tag that actually include CSS file
...
If running in developpement (ie. `Webpacker.dev_server.running?`), use webpacker to actually render/serve the CSS files.
Source: https://stackoverflow.com/a/60541688
2022-02-09 11:21:50 +01:00
Filipe
998f7afdc4
Merge pull request #8523 from seballot/progress-for-ajax-request
...
Improve loading spinner display
2022-02-01 10:03:04 +00:00
Filipe
75395f6f29
Merge pull request #8648 from Matt-Yorkley/csp
...
Configure CSP
2022-01-26 19:55:11 +00:00
Filipe
28a126024f
Merge pull request #8722 from cillian/remove-unused-js-from-products-form
...
Remove unused inline JavaScript from products/_form.html.haml
2022-01-26 19:14:24 +00:00
Filipe
53b96896a9
Merge pull request #8779 from mkllnk/7872-remove-stripe-connect
...
Upgrade old Stripe Connect payment methods to Stripe SCA and remove Stripe Connect
2022-01-26 11:57:26 +00:00
Filipe
cea4714296
Merge pull request #8761 from Dmoment/8457-missng-translation-or-between-buttons
...
removed translation or between buttons
2022-01-26 10:04:41 +00:00
Filipe
1ddff2c4bf
Merge pull request #8678 from Matt-Yorkley/dead-code-js-uri
...
Remove outdated jsUri
2022-01-24 13:15:02 +00:00
Filipe
f17226ffbe
Merge pull request #8438 from cillian/show-out-of-stock-line-items
...
If an order has out of stock line items display them and let admins remove them
2022-01-24 12:18:19 +00:00
Maikel Linke
ee85b9654d
Remove references to StripeConnect class
2022-01-24 12:35:45 +11:00
Deepak Chauhan
018e19c2c8
removed translation or from _edit_resourse_link to prevent rspec failing
2022-01-20 13:05:05 +05:30
Deepak Chauhan
7adc1186c6
removed transaltion or between buttons from multiple views
2022-01-19 03:16:55 +05:30
Matt-Yorkley
8bb3fddbed
Use https when loading fonts in admin
2022-01-18 12:22:06 +00:00
Cillian O'Ruanaidh
22a48de033
Remove unused code for currency select menu which no longer exists
...
This removes inline JavaScript for #8699 . This code was for the old currency select menu which was removed in 4839b7bd63
2022-01-14 12:33:30 +00:00
Cillian O'Ruanaidh
bc33df6659
Remove unused inline JavaScript from products/_form.html.haml
...
For #8699 . This code, which was introduced in 1309d80f65 , does not appear to be used. The CSS at https://github.com/openfoodfoundation/openfoodnetwork/blob/master/app/webpacker/css/admin/sections/products.scss#L6 is used instead.
2022-01-14 12:07: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
Filipe
da703b2d95
Merge pull request #8615 from jibees/8559-enable-sort-orders-by-order-full-name
...
Enable sorting orders by order full name
2022-01-11 11:27:36 +00: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
Cillian O'Ruanaidh
e2b8108972
If an order has out of stock line items display them and let admins remove them
2022-01-07 13:15:44 +00:00
Matt-Yorkley
14a62f5d49
Change paths helpers to urls
2022-01-06 13:10:48 +00:00
Matt-Yorkley
39f0f56af7
Rename admin css pack
...
It looks like Webpacker can get confused sometimes when packs with different formats have the same name (eg: admin.js and admin.scss)...
2022-01-04 10:27:10 +00:00
Matt-Yorkley
9e6082f0cf
Use old image tag for non-compiled images
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2888d75cd3
Replace #image_tag helper calls with #image_pack_tag
2021-12-27 17:45:06 +00:00
Matt-Yorkley
a11aebb2ca
Update stylesheets loaded with wicked-pdf to use Webpack
...
Luckily wicked-pdf already has a corresponding helper method.
2021-12-27 17:45:06 +00:00
Matt-Yorkley
6f06205eed
Switch admin CSS to webpack
2021-12-27 17:45:06 +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
cd70ce95a6
Merge pull request #8594 from seballot/products-index
...
Hide loading html components on product index
2021-12-17 09:36:54 +00:00
Jean-Baptiste Bellet
7a48ffdd38
Add order.full_name as new column
...
+ add the linked sortable header via `bill_address_lastname`
2021-12-16 09:26:49 +01:00
Jean-Baptiste Bellet
9c280ee612
add new line
2021-12-16 09:26:49 +01:00
Filipe
f7087842b4
Merge pull request #8556 from sinansonmez/8546-include-navigation-only-for-super-admins
...
Navigation is included only for super admin users
2021-12-11 16:34:10 +00:00
Sebastian Castro
8624d11585
products-index: Hide html component with ng-cloak
2021-12-08 12:44:58 +01:00
Sinan Chaush
68908fdff5
Navigation is included only for super admin users
2021-12-02 11:53:46 +01:00
Jean-Baptiste Bellet
5575697c9f
Add a directive attribute 'selected' that update AdminStripeElements when true
...
Filled with `PaymentCtrl.isSelected(payment_method_id)`
Therefore, each time a stripe payment is selected, the one that is actually selected is linked to `AdminStripeElements.card` and `AdminStripeElements.stripe`
2021-11-22 21:39:20 +01:00
Jean-Baptiste Bellet
f7bf6e1083
Include Stripe js only once in the admin section
2021-11-22 21:39:20 +01:00
Matt-Yorkley
47dbfa7d17
Merge pull request #8145 from Matt-Yorkley/reports-query-interface
...
Reports Query Interface
2021-11-05 10:06:52 +00:00