Sha256: 0402fc3aa6668e5621751986ee9e02f404fd46b91fcabe5d92978fb92313b3a5

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

<script type='text/template' id='customer_autocomplete_template'>
  <div class='customer-autocomplete-item container'>
    <div class="row">
      <div class="col">
        <h5><strong>Email:</strong> {{customer.email}}</h5>
      </div>
    </div>

    <div class="row">
      <div class='customer-details col-6'>
        {{#if bill_address.firstname }}
          <strong>{{t 'bill_address' }}</strong><br>
          {{bill_address.firstname}} {{bill_address.lastname}}<br>
          {{bill_address.address1}}, {{bill_address.address2}}<br>
          {{bill_address.city}}<br>
          {{#if bill_address.state_id }}
            {{bill_address.state.name}}
          {{else}}
            {{bill_address.state_name}}
          {{/if}}
          {{bill_address.country.name}}
        {{/if}}
    </div>

    <div class='customer-details col-6'>
      {{#if ship_address.firstname }}
        <strong>Shipping Address</strong><br>
        {{ship_address.firstname}} {{ship_address.lastname}}<br>
        {{ship_address.address1}}, {{ship_address.address2}}<br>
        {{ship_address.city}}<br>
        {{#if ship_address.state_id }}
          {{ship_address.state.name}}
        {{else}}
          {{ship_address.state_name}}
        {{/if}}
        {{ship_address.country.name}}
      {{/if}}
    </div>

  </div>
</div>
</script>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.6 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.5 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.4 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.3.1 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.3 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.2 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.1 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.0 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.0.rc4 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
spree_backend-4.2.0.rc3 app/views/spree/admin/orders/customer_details/_autocomplete.js.erb