         event.preventDefault()
         form = $(event.target)
         email = $('#email_c').val()
-        input_transfer = $('#p-banktransfer')
         input_credit = $('#p-credit')
         q = ''
         pType = ''
 
         if $('#o_type').val() == 'quote'
-              q = 'q'
-            else
-              q = 'o'
-
-            if $('#p-credit').prop("checked")
-              pType = 'cc'
-            else
-              pType = 'bt'
+          q = 'q'
+        else
+          q = 'o'
+
+        if $('#p-credit').prop("checked")
+          pType = 'cc'
+        else
+          pType = 'bt'
 
         if $(form).parsley().isValid()
           $('label[for="form-submit"]').addClass("Button--state-inactive")

        button = $(event.target)
        buttonId = $(button).attr('for')
        inputSelector = "input[id='#{ buttonId }']"
        $("#p_type").val($(inputSelector).val())

        if !$(button).hasClass('Button--state-active')
          $(paymentButton).toggleClass('Button--state-active')
          $(inputSelector).prop("checked",true)
          @updateOrderTypePaymentText()

  eventSubmitForm: ->
    if $(@cartPage).length > 0

        $('label[for="form-submit"]').text(submitTxt)

        if $(p_transfer).hasClass('Button--state-active')
          $('#payment-text').text(paymentText + bankTransferQuote)
        else
          $('#payment-text').text(paymentText + creditCardQuote)
      else
        # this is an order request
