       button = $("#q-checkbox")
       input = $('#o_type')
       p_transfer = $("div[for='p-banktransfer']")
-      p_credit = $("div[for='p-credit']")
 
       if $(button).hasClass('checkmark--active')
         # this is a quote request

        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

        event.preventDefault()
        form = $(event.target)
        email = $('#email_c').val()
        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'

        if $(form).parsley().isValid()
          $('label[for="form-submit"]').addClass("Button--state-inactive")
