{if segment_3 == ''} {redirect="404"} {/if} {embed="global/.html_header" page_title="Past surveys"}
{embed="global/.header"} {exp:ifelse parse="inward"}
{if logged_out} {embed="u_inc/.login"} {if:else} {exp:channel:entries channel="clients" disable="categories|category_fields|member_data|pagination" dynamic="no" entry_id="{segment_3}" limit="1" }

Past surveys for {client_first_name} {client_last_name}

{/exp:channel:entries}
{exp:channel:entries channel="client_survey" disable="categories|category_fields|member_data" dynamic="no" limit="12" pagination="bottom" search:survey_member_id="{segment_3}" sort="asc" }

{survey_date format="%j%S %F %Y"}

1. I was happy with the contents of my box(es)
{survey_q_1}

2. There was a good variety of food etc. in my box(es)
{survey_q_2}

3. The contents of my box(es) was/were useful to me
{survey_q_3}

4. My box(es) was/were ready when I arrived
{survey_q_4}

5. The {site_name} team was friendly
{survey_q_5}

6. The {site_name} team was helpful
{survey_q_6}

7. There was a welcoming atmosphere when I came to collect my box
{survey_q_7}

8. I would recommend this service to others if appropriate
{survey_q_8}

{if survey_comments}


Comments:
{survey_comments}

{/if}
{if no_results}

No surveys have been left.

{/if} {paginate} {/paginate} {/exp:channel:entries}
{/if}
{/exp:ifelse} {embed="global/.footer"}
{embed="global/.html_footer"}