Changeset 913

Show
Ignore:
Timestamp:
07/29/08 13:13:10 (4 months ago)
Author:
rach
Message:

New fields about company for the customers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/admin/Public/form_data/FG_var_card.inc

    r909 r913  
    77'iax_buddy','popup_select', 'vat', 'autorefill', 'initialbalance', 'mac_addr', 'cardnumberlenght_list', 
    88'status', 'template_invoice', 'template_outstanding', 'description', 'voicemail_activated',  
    9 'voicemail_permitted','email_notification','credit_notification','notify_email', 'id_agent' )); 
     9'voicemail_permitted','email_notification','credit_notification','notify_email', 'id_agent', 
     10'company_name' , 'company_website' , 'VAT_RN' , 'traffic' , 'traffic_target' )); 
    1011 
    1112 
     
    752753                           "size=30 maxlength=70", 
    753754                           "1", 
    754                            gettext("Insert the email to notify the customers"), 
    755                            "" , "", "", "", "", "" , "NO", ""); 
    756  
    757  
    758  
    759  
    760  
    761  
     755                           gettext("Insert the email to notify this card"), 
     756                           "" , "", "", "", "", "" , "NO", ""); 
     757 
     758 
     759$HD_Form -> AddEditElement (gettext("COMPANY NAME"), 
     760                           "company_name", 
     761                           '$value', 
     762                           "INPUT", 
     763                           "size=40 maxlength=50", 
     764                           "", 
     765                           gettext("Insert Company name of this card"), 
     766                           "" , "", "", "", "", "" , "NO", ""); 
     767                           
     768$HD_Form -> AddEditElement (gettext("COMPANY WEBSITE"), 
     769                           "company_website", 
     770                           '$value', 
     771                           "INPUT", 
     772                           "size=40 maxlength=60", 
     773                           "", 
     774                           gettext("Insert the company website of this card"), 
     775                           "" , "", "", "", "", "" , "NO", ""); 
     776 
     777$HD_Form -> AddEditElement (gettext("VAT REGISTRATION NUMBER "), 
     778                           "VAT_RN", 
     779                           '$value', 
     780                           "INPUT", 
     781                           "size=40 maxlength=40", 
     782                           "", 
     783                           gettext("Insert the VAT registration number of this card"), 
     784                           "" , "", "", "", "", "" , "NO", ""); 
     785 
     786 
     787$HD_Form -> AddEditElement (gettext("TRAFFIC PER MONTH"), 
     788                           "traffic", 
     789                           '$value', 
     790                           "INPUT", 
     791                           "size=30 maxlength=20", 
     792                           "0", 
     793                           gettext("Insert the traffic per month for this card"), 
     794                           "" , "", "", "", "", "" , "NO", "");             
     795 
     796$HD_Form -> AddEditElement (gettext("TARGET TRAFFIC"), 
     797                                "traffic_target", 
     798                                '', 
     799                                "TEXTAREA", 
     800                                "cols=50 rows=4", 
     801                                "", 
     802                                gettext("Insert the target traffic"), 
     803                                "" , "", "", "", "" , "", "", ""); 
     804                            
    762805 
    763806$HD_Form -> AddEditElement (gettext("CALLERID"), 
     
    798841 
    799842 
    800 $HD_Form -> FieldEditElement ('username, useralias, uipass,id_group, credit, language, tariff, id_didgroup, id_agent, callback, status,  activatedbyuser, simultaccess, currency, runservice, autorefill, initialbalance, typepaid, creditlimit,        firstusedate, enableexpire, expirationdate, expiredays, voicemail_permitted, voicemail_activated, invoiceday, vat, lastname, firstname, email, address, city, state, country, zipcode, id_timezone, phone, fax, sip_buddy, iax_buddy, mac_addr, inuse, template_invoice, template_outstanding, credit_notification, notify_email, email_notification' ); 
     843$HD_Form -> FieldEditElement ('username, useralias, uipass,id_group, credit, language, tariff, id_didgroup, id_agent, callback, status,  activatedbyuser, simultaccess, currency, runservice, autorefill, initialbalance, typepaid, creditlimit,        firstusedate, enableexpire, expirationdate, expiredays, voicemail_permitted, voicemail_activated, invoiceday, vat, lastname, firstname, email, address, city, state, country, zipcode, id_timezone, phone, fax, sip_buddy, iax_buddy, mac_addr, inuse, template_invoice, template_outstanding, credit_notification, notify_email, email_notification , company_name , company_website ,VAT_RN , traffic, traffic_target' ); 
    801844 
    802845 
  • trunk/admin/signup/form_data/FG_var_index.inc

    r637 r913  
    11<?php 
    22 
    3 getpost_ifset(array('id', 'username', 'useralias', 'uipass', 'credit', 'language', 'tariff', 'activated', 'simultaccess', 'currency', 'typepaid', 'creditlimit', 'lastname', 'firstname', 'email', 'address', 'city', 'state', 'country', 'zipcode', 'phone', 'fax', 'inuse', 'cid', 'runservice', 'firstusedate', 'expirationdate', 'enableexpire', 'expiredays','captchacode')); 
     3getpost_ifset(array('id', 'username', 'useralias', 'uipass', 'credit', 'language', 'tariff', 'activated', 'simultaccess', 'currency', 'typepaid', 'creditlimit', 'lastname', 'firstname', 'email', 'address', 'city', 'state', 'country', 'zipcode', 'phone', 'fax', 'inuse', 'cid', 'runservice', 'firstusedate', 'expirationdate', 'enableexpire', 'expiredays','company_name' , 'company_website' , 'VAT_RN' , 'traffic' , 'traffic_target','captchacode')); 
    44 
    55 
     
    236236                           "" , "", "", "", "", "" , "", ""); 
    237237                            
     238                            
     239 
     240$HD_Form -> AddEditElement (gettext("COMPANY NAME"), 
     241                           "company_name", 
     242                           '$value', 
     243                           "INPUT", 
     244                           "size=40 maxlength=50", 
     245                           "", 
     246                           gettext("Insert Company name of this card"), 
     247                           "" , "", "", "", "", "" , "NO", ""); 
     248                           
     249$HD_Form -> AddEditElement (gettext("COMPANY WEBSITE"), 
     250                           "company_website", 
     251                           '$value', 
     252                           "INPUT", 
     253                           "size=40 maxlength=60", 
     254                           "", 
     255                           gettext("Insert the company website of this card"), 
     256                           "" , "", "", "", "", "" , "NO", ""); 
     257 
     258$HD_Form -> AddEditElement (gettext("VAT REGISTRATION NUMBER "), 
     259                           "VAT_RN", 
     260                           '$value', 
     261                           "INPUT", 
     262                           "size=40 maxlength=40", 
     263                           "", 
     264                           gettext("Insert the VAT registration number of this card"), 
     265                           "" , "", "", "", "", "" , "NO", ""); 
     266 
     267 
     268$HD_Form -> AddEditElement (gettext("TRAFFIC PER MONTH"), 
     269                           "traffic", 
     270                           '$value', 
     271                           "INPUT", 
     272                           "size=30 maxlength=20", 
     273                           "0", 
     274                           gettext("Insert the traffic per month for this card"), 
     275                           "" , "", "", "", "", "" , "NO", "");             
     276 
     277$HD_Form -> AddEditElement (gettext("TARGET TRAFFIC"), 
     278                                "traffic_target", 
     279                                '', 
     280                                "TEXTAREA", 
     281                                "cols=50 rows=4", 
     282                                "", 
     283                                gettext("Insert the target traffic"), 
     284                                "" , "", "", "", "" , "", "", ""); 
     285                            
    238286$HD_Form -> AddEditElement (gettext("VERIFICATION"), 
    239287                           "captchacode", 
     
    245293                           "" , "", "", "", "", "" , "", "",CAPTCHA_ENABLE); 
    246294 
     295 
    247296if (strpos($callPlan_idlist, ',') !== false) { 
    248297        $HD_Form -> FieldEditElement ('username, useralias, uipass, credit, language, tariff, id_didgroup, id_campaign,'. 
    249298        'callback, activated, simultaccess, currency, runservice, typepaid, creditlimit, firstusedate, enableexpire,'. 
    250299        'expirationdate, expiredays, vat, lastname, firstname, email, address, city, state, country, zipcode, id_timezone, phone,'. 
    251         'fax, captchacode, sip_buddy, iax_buddy, inuse'); 
     300        'fax, company_name , company_website ,VAT_RN , traffic, traffic_target , captchacode , sip_buddy, iax_buddy, inuse'); 
    252301} else { 
    253302        $HD_Form -> FieldEditElement ('username, useralias, uipass, credit, language, id_didgroup, id_campaign,'. 
    254303        'callback, activated, simultaccess, currency, runservice, typepaid, creditlimit, firstusedate, enableexpire,'. 
    255304        'expirationdate, expiredays, vat, lastname, firstname, email, address, city, state, country, zipcode, id_timezone, phone,'. 
    256         'fax, captchacode, sip_buddy, iax_buddy, inuse'); 
     305        'fax , company_name , company_website ,VAT_RN , traffic, traffic_target , captchacode ,sip_buddy, iax_buddy, inuse'); 
    257306} 
    258307 


Google