Changeset 1300
- Timestamp:
- 01/16/07 10:20:39 (6 years ago)
- Location:
- ccsweb/trunk/ccs_mods/billing
- Files:
-
- 4 edited
-
billing_common.php (modified) (1 diff)
-
customerlist.tpl (modified) (1 diff)
-
plan.php (modified) (2 diffs)
-
planaddform.tpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ccsweb/trunk/ccs_mods/billing/billing_common.php
r1258 r1300 25 25 26 26 if (NO_BILLING_MENU != 1) { 27 ccs_menu_bottom_add(array(mk_menu_item("Plans", 28 "/mods/billing/plan.php"))); 27 29 ccs_menu_bottom_add(array(mk_menu_item("Customers", 28 30 "/mods/billing/customer.php"))); 29 ccs_menu_bottom_add(array(mk_menu_item("Plans",30 "/mods/billing/plan.php")));31 31 } 32 32 function displayCustomerList() -
ccsweb/trunk/ccs_mods/billing/customerlist.tpl
r1258 r1300 43 43 <td>{$customer.plan_name}</td> 44 44 <td><a href="customer.php?do=edit&contact_id={$customer.contact_id}">[edit]</a> 45 </td> 45 <a href="customer.php?do=history&contact_id={$customer.contact_id}">[history]</a> 46 </td> 46 47 </tr> 47 48 {/foreach} -
ccsweb/trunk/ccs_mods/billing/plan.php
r1258 r1300 67 67 $plan = get_plan($plan_id); 68 68 69 $smarty->assign("plan", $plan );69 $smarty->assign("plan", $plan[0]); 70 70 return $plan; 71 71 } … … 80 80 81 81 if ($_REQUEST["confirm"] != "yes") { 82 $plan = getPlan($_REQUEST["plan_id"]); 83 $smarty->assign("plan", $plan); 82 assign_plan($_REQUEST["plan_id"]); 84 83 display_page("mods/billing/plandel.tpl"); 85 84 -
ccsweb/trunk/ccs_mods/billing/planaddform.tpl
r1258 r1300 1 {debug}2 1 {* Copyright (C) 2006 The University of Waikato 3 2 * … … 65 64 <tr> 66 65 <th>Cap Period</th> 67 <td> {html_options}</td>66 <td><input type="text" name="cap_period" id="cap_period" value="{$plan.cap_period}"/></td> 68 67 </tr> 69 68 <tr>
Note: See TracChangeset
for help on using the changeset viewer.
