<commit_before>%orderdetails
  = form_for current_order, url: "#", html: {"ng-submit" => "purchase($event)"} do |f|
    %fieldset
      %legend Your order
      %table
        %tr
          %th Items
          %td.text-right= current_order.display_item_total

        / - checkout_adjustments_for_summary(current_order, exclude_shipping: true).each do |adjustment|
        /   %tr
        /     %th= adjustment.label 
        /     %td.text-right= adjustment.display_amount.to_html
        %tr
          %th Shipping
          %td.text-right {{ Checkout.shippingPrice() | currency }}
        %tr
          %th Total 
          %td.text-right {{ Checkout.cartTotal() | currency }}
        - if current_order.price_adjustment_totals.present?
          - current_order.price_adjustment_totals.each do |label, total|
            %tr
              %th= label
              %td= total

      //= f.submit "Purchase", class: "button", "ng-disabled" => "checkout.$invalid", "ofn-focus" => "accordion['payment']"
      %a.button.secondary{href: cart_url} 
        %i.ofn-i_008-caret-left
        Back to Cart
<commit_msg>Remove the logic around fees breakdown as not showing on this view now<commit_after>%orderdetails
  = form_for current_order, url: "#", html: {"ng-submit" => "purchase($event)"} do |f|
    %fieldset
      %legend Your order
      %table
        %tr
          %th Items
          %td.text-right= current_order.display_item_total

        / - checkout_adjustments_for_summary(current_order, exclude_shipping: true).each do |adjustment|
        /   %tr
        /     %th= adjustment.label 
        /     %td.text-right= adjustment.display_amount.to_html
        %tr
          %th Shipping
          %td.text-right {{ Checkout.shippingPrice() | currency }}
        %tr
          %th Total 
          %td.text-right {{ Checkout.cartTotal() | currency }}
        / - if current_order.price_adjustment_totals.present?
        /   - current_order.price_adjustment_totals.each do |label, total|
        /     %tr
        /       %th= label
        /       %td= total

      //= f.submit "Purchase", class: "button", "ng-disabled" => "checkout.$invalid", "ofn-focus" => "accordion['payment']"
      %a.button.secondary{href: cart_url} 
        %i.ofn-i_008-caret-left
        Back to Cart

{'fraction_non_alphanumeric': 0.12614578786556088, 'fraction_numerical': 0.0026189436927106066, 'mean_word_length': 2.0931174089068825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7572709', 'n_tokens_mistral': 732, 'n_tokens_neox': 705, 'n_words': 144}