mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Delete some other dead frontend code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user