Changeset 676

Show
Ignore:
Timestamp:
04/28/08 11:19:10 (8 months ago)
Author:
areski
Message:

change on payment log

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/A2Billing_UI/Public/form_data/FG_var_paymentlog.inc

    r674 r676  
    8080$HD_Form -> FG_DELETION = true; 
    8181 
     82 
     83$HD_Form -> AddEditElement (gettext("ID"), 
     84                           "id",                 
     85                           "$value",     
     86                           "INPUT",      
     87                           "size=10 READONLY maxlength=10",      
     88                           "4",  
     89                           gettext("Insert the Id "), 
     90                            "" , "", "", "", "", "", "",  
     91                                gettext("Select the ID")); 
     92 
     93 
     94$HD_Form -> AddEditElement (gettext("DATE"), 
     95                           "creationdate",               
     96                           '$value',     
     97                           "INPUT",      
     98                           "size=40 READONLY maxlength=40 ",     
     99                           "10",         
     100                           gettext("Insert the creation date"), 
     101                           "" , "", "", "", "", "", "", "" ); 
     102 
     103 
     104$HD_Form -> AddEditElement (gettext("PAYMENT METHOD"), 
     105                           "paymentmethod",              
     106                           '$value',     
     107                           "INPUT",      
     108                           "size=30 maxlength=30",       
     109                           "12",         
     110                           gettext("Insert the payment method"), 
     111                           "" , "", "", "", "" , "", "", gettext("Enter the payment method ") ); 
     112 
     113 
     114$HD_Form -> AddEditElement (gettext("STATUS"),   
     115                                "status",                        
     116                                '$value',        
     117                                "SELECT",        
     118                                "",      
     119                                "",      
     120                                "",  
     121                                "list" , "", "",        "", $status_list, "%1", "", "" ); 
     122 
     123$HD_Form -> AddEditElement (gettext("OWNER"), 
     124                           "cc_owner",           
     125                           '$value',     
     126                           "INPUT",      
     127                           "size=30 maxlength=30",       
     128                           "12",         
     129                           gettext("Insert the owner"), 
     130                           "" , "", "", "", "" , "", "", gettext("Enter the owner") ); 
     131 
     132 
     133$HD_Form -> AddEditElement (gettext("AMOUNT"), 
     134                           "amount",             
     135                           '$value',     
     136                           "INPUT",      
     137                           "size=30 maxlength=30",       
     138                           "12",         
     139                           gettext("Insert the amount"), 
     140                           "" , "", "", "", "" , "", "", gettext("Enter the amount ") ); 
     141 
     142 
     143 
     144$HD_Form -> AddEditElement (gettext("ID CARD"), 
     145                           "card_id",            
     146                           "$value",     
     147                           "POPUPVALUE",         
     148                           "size=30 maxlength=50",       
     149                           "4",  
     150                           gettext("Insert the Id CardNumber"), 
     151                            "" , "", "", "", "",                                 
     152                                "A2B_entity_card.php?popup_select=1&" 
     153                                , ", 'CardNumberSelection','width=550,height=330,top=20,left=100,scrollbars=1'" , 
     154                                gettext("Select the Card Number ID")); 
     155 
     156 
     157$HD_Form -> FieldEditElement ('id, creationdate, paymentmethod, status, cc_owner, amount, cardid '); 
     158 
     159 
     160$HD_Form -> FG_FILTER_APPLY = true; 
     161$HD_Form -> FG_FILTERFIELD = 'cardid'; 
     162$HD_Form -> FG_FILTERFIELDNAME = 'cardid'; 
     163$HD_Form -> FG_FILTER_FORM_ACTION = 'list'; 
     164 
     165if (isset($filterprefix)  &&  (strlen($filterprefix)>0)){ 
     166        if (strlen($HD_Form -> FG_TABLE_CLAUSE)>0) $HD_Form -> FG_TABLE_CLAUSE.=" AND "; 
     167        $HD_Form -> FG_TABLE_CLAUSE.="cardid like '$filterprefix%'"; 
     168} 
     169 
     170 
     171 
    82172$HD_Form -> FG_INTRO_TEXT_EDITION= ''; 
    83173$HD_Form -> FG_BUTTON_EDITION_SRC = $HD_Form -> FG_BUTTON_ADITION_SRC  = Images_Path . "/cormfirmboton.gif"; 


Google