1 <form name=
"pharmacy" method=
"post" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
2 <!-- it is important that the hidden form_id field be listed first, when it is called is populates any old information attached with the id, this allows for partial edits
3 if it were called last, the settings from the form would be overwritten with the old information-->
4 <input type=
"hidden" name=
"form_id" value=
"{$pharmacy->id}" />
5 <table CELLSPACING=
"0" CELLPADDING=
"3">
7 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Name'}
</td>
8 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
9 <input type=
"text" size=
"40" name=
"name" value=
"{$pharmacy->name}"/>
13 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Address'}
</td>
14 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
15 <input type=
"text" size=
"40" name=
"address_line1" value=
"{$pharmacy->address->line1}"/>
19 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Address'}
</td>
20 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
21 <input type=
"text" size=
"40" name=
"address_line2" value=
"{$pharmacy->address->line2}"/>
25 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='City, State Zip'}
</td>
26 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
27 <input type=
"text" size=
"25" name=
"city" value=
"{$pharmacy->address->city}"/> ,
<input type=
"text" size=
"2" maxlength=
"2" name=
"state" value=
"{$pharmacy->address->state}"/> <input type=
"text" size=
"5" name=
"zip" value=
"{$pharmacy->address->zip}"/>
31 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Email'}
</td>
32 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
33 <input TYPE=
"TEXT" NAME=
"email" SIZE=
"35" VALUE=
"{$pharmacy->email}"/>
37 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Phone'}
</td>
38 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
39 <input TYPE=
"TEXT" NAME=
"phone" SIZE=
"12" VALUE=
"{$pharmacy->get_phone()}"/>
43 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Fax'}
</td>
44 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
45 <input TYPE=
"TEXT" NAME=
"fax" SIZE=
"12" VALUE=
"{$pharmacy->get_fax()}"/>
50 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{xl t='Default Method'}
</td>
51 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
52 <select name=
"transmit_method">{html_options options=$pharmacy-
>transmit_method_array selected=$pharmacy-
>transmit_method}
</select>
56 <td><br /><input type=
"submit" value=
"{xl t='Update'}" /></td>
59 <input type=
"hidden" name=
"id" value=
"{$pharmacy->id}" />
60 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />