Sha256: 632bc555b2b0a51e5c3eb09ccf096dca554a2436f70b07eec20a9b94b9189280

Contents?: true

Size: 1.47 KB

Versions: 11

Compression:

Stored size: 1.47 KB

Contents

.orderSearch{:style => action_name == 'search' ? "display:block" : ''}
  = search_form_for @query, :url => search_orders_path, :html => { :method => :post } do |f|
    %dl.left
      %dt= f.label :id_eq, t('shoppe.orders.order_number')
      %dd= f.text_field :id_eq
      %dt= f.label :first_name_or_last_name_or_company_cont, t('shoppe.orders.customer')
      %dd= f.text_field :first_name_or_last_name_or_company_cont
      %dt= f.label :address1_or_address2_or_address3_or_address4_or_postcode_cont, t('shoppe.orders.billing_address')
      %dd= f.text_field :billing_address1_or_billing_address2_or_billing_address3_or_billing_address4_or_billing_postcode_cont
      %dt= f.label :consignment_number_cont, t('shoppe.orders.consignment_number')
      %dd= f.text_field :consignment_number_cont
      %dt= f.label :received_at_eq, t('shoppe.orders.received_between')
      %dd
        = f.text_field :received_at_gteq, :class => 'small'
        →
        = f.text_field :received_at_lteq, :class => 'small'
    %dl.right
      %dt= f.label :email_address_cont, t('shoppe.orders.email_address')
      %dd= f.text_field :email_address_cont
      %dt= f.label :phone_number_cont, t('shoppe.orders.phone_number')
      %dd= f.text_field :phone_number_cont
      %dt= f.label :status_eq, t('shoppe.orders.status')
      %dd= f.select :status_eq, [nil] + Shoppe::Order::STATUSES.map { |s| [t("shoppe.orders.statuses.#{s}"), s]}
      %dd= f.submit  t('shoppe.orders.search'), :class => 'button green button'

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.1.1 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.1.0 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.9 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.8 app/views/shoppe/orders/_search_form.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.7 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.6 app/views/shoppe/orders/_search_form.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.5 app/views/shoppe/orders/_search_form.html.haml
shoppe-1.0.3 app/views/shoppe/orders/_search_form.html.haml