{% set path_parts = current_path.strip('/').split('/') %} {% if path_parts|length == 1 %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% for i in range(0, 10) %} {% set location = site.locations[i] %} {% set newvalue = i + 1 %} {% set hours_value_key = 'do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_%s' % newvalue %} {% set phone_value_key = 'phone_of_location_%s' % newvalue %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if i == 0 %} {% elif site.custom_fields[phone_value_key] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
Today's Hours:
{% if site.custom_fields[hours_value_key] == 'yes' or site.custom_fields[hours_value_key] == 'Yes' %} {{ todays_hours_of_operation(business=site.business, location=site.locations[0]) }} {% else %} {{ todays_hours_of_operation(business=site.business, location=site.locations[i]) }} {% endif %}
{% endfor %}
{% elif path_parts|length == 2 %} {% if site.locations[0] %} {% if path_parts[1] == site.locations[0].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[0] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['business_information_phone_number'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if location.hours_of_operation %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[1] %} {% if path_parts[1] == site.locations[1].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[1] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_2'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_2'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_2'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[1] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[2] %} {% if path_parts[1] == site.locations[2].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[2] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_3'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_3'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_4'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[2] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[3] %} {% if path_parts[1] == site.locations[3].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[3] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_4'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_4'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_4'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[3] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[4] %} {% if path_parts[1] == site.locations[4].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[4] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_5'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_5'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_5'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[4] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[5] %} {% if path_parts[1] == site.locations[5].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[5] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_6'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_6'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_6'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[5] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[6] %} {% if path_parts[1] == site.locations[6].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[6] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_7'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_7'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_7'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[6] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[7] %} {% if path_parts[1] == site.locations[7].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[7] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_8'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_8'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_8'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[7] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[8] %} {% if path_parts[1] == site.locations[8].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[8] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_9'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_9'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_9'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[8] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% if site.locations[9] %} {% if path_parts[1] == site.locations[9].location_name|slugify %} {% set business = site.business %} {% set location = site.locations[9] %}

ADDRESS

{% if location.location_name %} {{ location.location_name }} {% else %} JBI Services, LLC of {{ location.city }} {% endif %}

{{ location.street }} {% if location.street2 %}{{ location.street2 }}{% endif %}

{{ location.city }}, {{ location.state }} {{ location.postal_code }}

{% if site.custom_fields['phone_of_location_10'] %} {% endif %} {% if location.contact_email %} {% endif %}
STORE HOURS
{% if site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_10'] == 'Yes' or site.custom_fields['do_you_want_to_use_the_same_store_hours_as_the_primary_location_for_location_10'] == 'yes' %} {% set location = site.locations[0] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% elif location.hours_of_operation %} {% set location = site.locations[9] %} {% set hours = location.hours_of_operation %} {% set last_day = None %} {% set start_range = True %} {% set end_range = False %} {% for d in hours %} {% set is_closed = not d or (not d[0] and not d[1]) %} {% if is_closed %}
{{ loop.index0|day_name }}
Closed
{% else %}
{{ loop.index0|day_name }}
{% for group in d %} {% if group %} {% if (not loop.first) and d[0] %}, {% endif %} {{ group[0]|naive_timefmt_string('short') }} - {{ group[1]|naive_timefmt_string('short') }} {% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{{ render_module(module_name='googlemaps', props={'list_all_locations': True, 'map_height': 400}) }}
{% endif %} {% endif %} {% endif %}