Delete some other dead frontend code

This commit is contained in:
Matt-Yorkley
2021-07-18 10:04:47 +01:00
parent e2bcb80ac4
commit 03863d2bb2
2 changed files with 0 additions and 20 deletions

View File

@@ -7,13 +7,3 @@ $ ->
($ 'form#update-cart').submit ->
($ 'form#update-cart #update-button').attr('disabled', true)
# Temporarily handles the cart showing stuff
$(document).ready ->
$('.cart_adjustment').hide()
$('td.cart-adjustments a').click ->
$('.cart_adjustment').toggle()
$(this).html(t('item_handling_fees'))
false

View File

@@ -1,10 +0,0 @@
%tr{"data-hook" => "cart_adjustments_headers"}
%td.cart-adjustments{colspan: "5"}
%a{ href: "#" }
= t :orders_fees
- checkout_line_item_fees(@order).each do |adjustment|
%tr.cart_adjustment
%td{colspan: "3"}= adjustment.label
%td.text-right= adjustment.display_amount.to_html
%td