~eventum-developers/eventum/trunk

« back to all changes in this revision

Viewing changes to templates/select_customer.tpl.html

  • Committer: Bryan Alsdorf
  • Date: 2013-08-23 03:50:34 UTC
  • mto: (4033.1.168 eventum-skysql)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: bryan@montyprogram.com-20130823035034-7f5r3pt1xg0xnnhk
Initial commit of CRM migration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{extends "base.tpl.html"}
 
2
{block "title"}Select Customer{/block}
 
3
{block "page_id"}select_customer{/block}
 
4
 
 
5
{block "content"}
 
6
<br />
 
7
<form name="login_form" method="post" action="">
 
8
    <input type="hidden" name="url" value="{$smarty.get.url|default:''}">
 
9
    <table class="bordered narrow">
 
10
        <tr class="title">
 
11
            <th>
 
12
                Select a Customer
 
13
            </th>
 
14
        </tr>
 
15
        <tr>
 
16
            <td>
 
17
                <ul>
 
18
                    {foreach from=$customers item=customer}
 
19
                    <li>
 
20
                        <label><input type="radio" name="customer_id" value="{$customer.customer_id}"
 
21
                                {if $core.current_customer.customer_id|default:'' == $customer.customer_id ||
 
22
                            ($core.current_customer|default:'' == '' && $customer@first)}checked="checked"{/if}
 
23
                                >{$customer.name}</label>
 
24
                    </li>
 
25
                    {/foreach}
 
26
                </ul></td>
 
27
        </tr>
 
28
        <tr class="buttons">
 
29
            <td>
 
30
                <input type="submit" name="submit" value="Choose Customer" />
 
31
            </td>
 
32
        </tr>
 
33
    </table>
 
34
</form>
 
35
{/block}
 
 
b'\\ No newline at end of file'