Changeset 1340
- Timestamp:
- 02/02/07 14:46:24 (6 years ago)
- Location:
- ccsweb/trunk/ccs_mods/billing
- Files:
-
- 2 edited
-
customer.php (modified) (3 diffs)
-
customerform.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ccsweb/trunk/ccs_mods/billing/customer.php
r1260 r1340 143 143 $action = "edit"; 144 144 ccs_notice("Customer ${do}ed successfuly$warn."); 145 assign_customer($cid); 145 if( $do == "add") { 146 assign_customer($cid[0]); 147 $smarty->assign("plain_password", $cid[1]); 148 } else { 149 assign_customer($cid); 150 } 146 151 } 147 152 } else { … … 149 154 /* Get the customer data */ 150 155 assign_customer($_REQUEST["contact_id"]); 151 } 156 } 152 157 $action = $do; 153 158 } … … 179 184 display_customer_list(); 180 185 } 186 187 181 188 182 189 /* If we get here the page has been called incorrectly, display the list */ -
ccsweb/trunk/ccs_mods/billing/customerform.tpl
r1194 r1340 37 37 {else} 38 38 {assign var="bcaption" value="Update"} 39 {/if} 40 41 {if $plain_password != ""} 42 <font color=blue>The inital password is {$plain_password}</font> 39 43 {/if} 40 44 <table>
Note: See TracChangeset
for help on using the changeset viewer.
