Mohamed ABDELLANI
23a56d35a0
add tax_adjustment total to the invoice
2023-10-30 22:09:22 +01:00
Mohamed ABDELLANI
c8f69c8778
always render shipment on the invoice
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
15aeb2f8e5
remove legacy template (used when invoice feature enable)
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
da89860f35
fix price per unit
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
c1ed8ed67c
update the adjustments rows
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
716cf3e522
reorder the totals section
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
b7f601d140
show tax rate column regardless of the tax amount on the order
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
a08a2fd5f6
[skip ci] add terms of service link to the invoice.
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
a5fd0608c3
align the columns of the totals rows
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
a8f9b29a6d
[skip ci]add the total price columns to the invoice
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
30537f7743
add "Weight/VOL." column to the invoice
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
b64058a71d
swap tax rate with total price (incl tax)
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
1182544c47
update the view used when the invoice feature is enabled
2023-10-30 19:43:57 +01:00
Mohamed ABDELLANI
affecf53c6
add order cycle name to the invoice number section
2023-10-30 19:43:57 +01:00
Konrad
2ba5ab7dc1
Merge pull request #11577 from jibees/10956-use-cable_ready-instead-of-morph
...
Admin, Orders list: when capturing an order, fix an issue that makes the tooltip invisible (+ errors in the console)
2023-10-20 11:56:53 +02:00
Rachel Arnould
aecb55beb3
Merge pull request #11660 from dacook/products_v3_path
...
Hide old products screen when admin_style_v3 enabled
2023-10-17 10:45:01 +02:00
Gaetan Craig-Riou
7ce3fea7d5
Refactor tooltip on the backoffice orders page
2023-10-17 13:35:01 +11:00
David Cook
6e6854f564
Fix payment state indicator
...
Now the correct class is added, we can see the little coloured circles again.
2023-10-13 19:25:12 +02:00
lauriejefferson
2020a9fa76
changed table row alignment to align-left and removed padding from table header
2023-10-13 19:25:12 +02:00
David Cook
655c16cca0
New bulk products screen shares path with old
...
The feature toggle will determine which bulk products screen shows. An additional products_old path is also temporarily added for easy reference.
Later, when the old screen is full removed, we'll probably rename the _v3 classes to tidy up.
2023-10-13 10:39:45 +11:00
Konrad
cc8898e074
Merge pull request #11219 from abdellani/fix-tax-rates-rendering-when-invoice-enabled
...
fix Viewing an invoice with the instance's invoice setting set to alternative model leads to an error 500
2023-10-12 17:47:27 +02:00
Mohamed ABDELLANI
aa4798d35c
add adjustables to the list of objects to serialize when creating an invoice
2023-10-11 09:27:16 +01:00
Mohamed ABDELLANI
68a6fb132a
implement display_adjustment_tax_rates helper on the adjustment presenter
...
For every adjustment a list of tax rates will be created using TaxRateFinder.tax_rates_of.
This will prevent running the queries to find the tax rates during the invoice generation.
2023-10-11 09:26:50 +01:00
Mohamed ABDELLANI
33826631a3
reimplement the display_line_item_tax_rates helper on the line item presenter
...
1. reimplment the helper on the LintItem presenter
2. add the tax rate associated to the line items to the list of objects to serialize during the order serialization.
3. implement a presenter for the introducer tax rates.
2023-10-11 09:26:49 +01:00
David Cook
99205e435c
Show only the new products page in the menu
...
When the feature toggle is enabled, we don't want to see the old products page. It's a bit broken and causes confusion. But we still want to be able to access it by the URL for now.
2023-10-10 22:09:26 +11:00
Mohamed ABDELLANI
dce096a56e
check if invoices feature is enabled for the current user before showing invoices tab
2023-10-08 21:47:17 +02:00
Filipe
ccabf5936d
Merge pull request #11505 from drummer83/master
...
[Super admin] Highlight 'Configuration' tab on 'Terms of Service' page
2023-09-07 18:00:18 +01:00
drummer83
13d5b954e6
Add 'Terms of Service' to the tabs
2023-09-06 23:18:00 +02:00
Pedro Carmona
51050036d4
Use instance default locale as the default locale for a new user
2023-09-05 01:00:35 +01:00
Pedro Carmona
c4830e3baa
Send localized email when creating users via admin interface
...
Based on the current user locale
2023-09-05 01:00:35 +01:00
Jean-Baptiste Bellet
b6b64e9439
Add trix editor to new product form
2023-09-04 15:46:54 +02:00
Jean-Baptiste Bellet
3225c52898
Actually, this should not be sanitize before going through trix editor
2023-09-04 15:46:54 +02:00
Jean-Baptiste Bellet
e200eccc42
Replace angular editor by trix editor
2023-09-04 15:46:54 +02:00
Neal Chambers
4feb8f922e
Fix Rails/HelperInstanceVariable in injection_helper.rb
2023-09-01 11:03:26 +09:00
Maikel Linke
d8da808901
Resolve pending spec, reported issue is fixed
2023-08-25 15:48:31 +10:00
Mohamed ABDELLANI
04312b05c6
add orders without billing address to SearchOrders#fetch_orders' results
2023-08-25 15:48:31 +10:00
Matt-Yorkley
2b9b79c828
Remove product display_as cell
...
This was attempting to reference the master variant, which is now gone. Fixes an Angular scope error.
2023-08-18 17:38:36 +02:00
Konrad
f3b09508ff
Merge pull request #11347 from abdellani/fix-edit-order-button
...
fix cancel order button
2023-08-18 17:07:42 +02:00
Maikel
6377149e18
Merge pull request #11400 from jibees/buu-update/refactor-tests
...
🚧 BUU: refactor/improve testing
2023-08-17 16:32:00 +10:00
David Cook
8949f1dc2e
Convert route to resource
...
I don't know why the route helper now has "index" in the name.
2023-08-15 08:36:21 +02:00
Matt-Yorkley
eefc356472
Update shipping_category usage in admin pages
2023-08-14 21:02:47 +01:00
Mohamed ABDELLANI
8370d7ce83
Update app/views/spree/admin/shared/_order_links.html.haml
...
Co-authored-by: jibees <jb.bellet@gmail.com >
2023-08-13 13:12:56 +01:00
Jean-Baptiste Bellet
3b68674896
Remove new_products_page and all associated controller/components/
...
new_products_page` is dead, long live `admin_style_v3` !
2023-08-10 10:02:45 +02:00
Mohamed ABDELLANI
620dd70dd7
rename 'new invoice' button to 'create or update invoice'
2023-08-10 09:35:13 +10:00
Rachel Arnould
4505beff98
Merge pull request #11327 from bouaik/fix-display-invoice-tab-for-completed-resumed-canceled-only
...
Fix display invoice tab for completed, resumed and canceled orders only
2023-08-09 18:37:02 +02:00
Mohamed ABDELLANI
c185a47592
render the confirm model on the same component that includes the action on the order.
2023-08-08 07:32:20 +01:00
bouaik
41d649404f
make suggested changes
2023-08-04 00:55:35 +01:00
Mohamed ABDELLANI
6c53f3b8b0
move pretty_date helper into invoice presenter
2023-08-03 15:12:02 +01:00
Mohamed ABDELLANI
d044959cec
fix date formatting
...
implement a new helper `pretty_date`
2023-08-03 14:55:26 +01:00
Mohamed ABDELLANI
1a8c0f18b7
order invoices by "created_at desc" on the default scope
2023-08-03 14:55:26 +01:00