Changeset 938
- Timestamp:
- 08/07/08 08:36:53 (4 months ago)
- Files:
-
- trunk/admin/Public/form_data/FG_var_payment.inc (modified) (1 diff)
- trunk/common/lib/Class.A2Billing.php (modified) (1 diff)
- trunk/customer/form_data/FG_var_payment.inc (added)
- trunk/customer/help.php (modified) (1 diff)
- trunk/customer/payment-history.php (added)
- trunk/customer/templates/default/main.tpl (modified) (5 diffs)
- trunk/DataBase/mysql-5.x/UPDATE-a2billing-v1.3.0-to-v1.4.0-mysql.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/form_data/FG_var_payment.inc
r931 r938 1 2 3 1 4 <?php 2 5 trunk/common/lib/Class.A2Billing.php
r904 r938 419 419 if(!isset($this->config['webcustomerui']['support'])) $this->config['webcustomerui']['support'] = '1'; 420 420 if(!isset($this->config['webcustomerui']['notification'])) $this->config['webcustomerui']['notification'] = '1'; 421 421 if(!isset($this->config['webcustomerui']['payment'])) $this->config['webcustomerui']['payment'] = '1'; 422 422 // conf for the web ui 423 423 if(!isset($this->config['webui']['buddy_sip_file'])) $this->config['webui']['buddy_sip_file'] = '/etc/asterisk/additional_a2billing_sip.conf'; trunk/customer/help.php
r693 r938 107 107 </td></tr></table> 108 108 </div></div></div> 109 '; 110 111 $CC_help_view_payment=' 112 <div id="div1000" style="display:visible;"> 113 <div id="kiblue_header"><div class="w4"> 114 <img src="'.KICON_PATH.'/gnome-finance.gif" width="48" height="48" class="kikipic"/> 115 <div class="w2"> 116 <table width="90%"> 117 <tr> 118 <td width="100%">'.gettext("Payment history - The section below allows you to see payments that you did.").'<br> 119 <br></td> 120 </tr> 121 </table> 122 </div></div></div> 123 109 124 '; 110 125 trunk/customer/templates/default/main.tpl
r726 r938 46 46 <ul><li><a href="call-history.php?section=2"><strong>{php} echo gettext("CALL HISTORY");{/php}</strong></a></li></ul> 47 47 {/if} 48 49 {if $A2Bconfig.webcustomerui.payment==1 } 50 <li><a href="#" target="_self"></a></li> 51 <ul><li><a href="payment-history.php?section=3"><strong>{php} echo gettext("PAYMENT HISTORY");{/php}</strong></a></li></ul> 52 {/if} 53 48 54 49 55 {if $A2Bconfig.webcustomerui.voucher==1 } 50 56 <li><a href="#" target="_self"></a></li> 51 <ul><li><a href="A2B_entity_voucher.php?form_action=list§ion= 3"><strong>{php} echo gettext("VOUCHER");{/php}</strong></a></li></ul>57 <ul><li><a href="A2B_entity_voucher.php?form_action=list§ion=4"><strong>{php} echo gettext("VOUCHER");{/php}</strong></a></li></ul> 52 58 {/if} 53 59 … … 59 65 <li> 60 66 <a href="javascript:;" class="toggle_menu" target="_self"><img id="img1" 61 {if ($section == " 4")}67 {if ($section == "5")} 62 68 src="templates/{$SKIN_NAME}/images/minus.gif" 63 69 {else} … … 66 72 onmouseover="this.style.cursor='hand';" WIDTH="9" HEIGHT="9"> <strong>{php} echo gettext("INVOICES");{/php}</strong></a></li> 67 73 <div class="tohide" 68 {if ($section ==" 4")}74 {if ($section =="5")} 69 75 style=""> 70 76 {else} … … 73 79 <ul> 74 80 <li><ul> 75 <li><a href="A2B_entity_call_details.php?section= 4"><strong>{php} echo gettext("Invoice Details");{/php}</strong></a></li>76 <li><a href="A2B_entity_view_invoice.php?section= 4"><strong>{php} echo gettext("View Invoices");{/php}</strong></a></li>77 <li><a href="invoices_customer.php?section= 4"><strong>{php} echo gettext("Current Invoice");{/php}</strong></a></li>81 <li><a href="A2B_entity_call_details.php?section=5"><strong>{php} echo gettext("Invoice Details");{/php}</strong></a></li> 82 <li><a href="A2B_entity_view_invoice.php?section=5"><strong>{php} echo gettext("View Invoices");{/php}</strong></a></li> 83 <li><a href="invoices_customer.php?section=5"><strong>{php} echo gettext("Current Invoice");{/php}</strong></a></li> 78 84 </ul></li> 79 85 </ul> … … 85 91 {if $A2Bconfig.webcustomerui.did==1 } 86 92 <li><a href="#" target="_self"></a></li> 87 <ul><li><a href="A2B_entity_did.php?form_action=list§ion= 5"><strong>{php} echo gettext("DID");{/php}</strong></a></li></ul>93 <ul><li><a href="A2B_entity_did.php?form_action=list§ion=6"><strong>{php} echo gettext("DID");{/php}</strong></a></li></ul> 88 94 {/if} 89 95 90 96 {if $A2Bconfig.webcustomerui.speeddial==1 } 91 97 <li><a href="#" target="_self"></a></li> 92 <ul><li><a href="A2B_entity_speeddial.php?atmenu=speeddial&stitle=Speed+Dial§ion= 6"><strong>{php} echo gettext("SPEED DIAL");{/php}</strong></a></li></ul>98 <ul><li><a href="A2B_entity_speeddial.php?atmenu=speeddial&stitle=Speed+Dial§ion=7"><strong>{php} echo gettext("SPEED DIAL");{/php}</strong></a></li></ul> 93 99 {/if} 94 100 95 101 {if $A2Bconfig.webcustomerui.ratecard==1 } 96 102 <li><a href="#" target="_self"></a></li> 97 <ul><li><a href="A2B_entity_ratecard.php?form_action=list§ion= 7"><strong>{php} echo gettext("RATECARD");{/php}</strong></a></li></ul>103 <ul><li><a href="A2B_entity_ratecard.php?form_action=list§ion=8"><strong>{php} echo gettext("RATECARD");{/php}</strong></a></li></ul> 98 104 {/if} 99 105 100 106 {if $A2Bconfig.webcustomerui.simulator==1 } 101 107 <li><a href="#" target="_self"></a></li> 102 <ul><li><a href="simulator.php?section= 8"><strong>{php} echo gettext("SIMULATOR");{/php}</strong></a></li></ul>108 <ul><li><a href="simulator.php?section=9"><strong>{php} echo gettext("SIMULATOR");{/php}</strong></a></li></ul> 103 109 {/if} 104 110 105 111 {if $A2Bconfig.webcustomerui.callback==1 } 106 112 <li><a href="#" target="_self"></a></li> 107 <ul><li><a href="callback.php?section= 9"><strong>{php} echo gettext("CALLBACK");{/php}</strong></a></li></ul>113 <ul><li><a href="callback.php?section=10"><strong>{php} echo gettext("CALLBACK");{/php}</strong></a></li></ul> 108 114 {/if} 109 115 trunk/DataBase/mysql-5.x/UPDATE-a2billing-v1.3.0-to-v1.4.0-mysql.sql
r931 r938 1045 1045 1046 1046 ALTER TABLE cc_logpayment ADD added_refill SMALLINT NOT NULL DEFAULT '0'; 1047 1048 -- Add payment history in customer WebUI 1049 1050 INSERT INTO cc_config( config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues ) 1051 VALUES ('Payment Historique Modules', 'payment', '1', 'Enable or Disable the module of payment historique for the customers', 1, 3, 'yes,no');
