Changeset 1080
- Timestamp:
- 09/29/08 05:42:34 (3 months ago)
- Files:
-
- trunk/admin/Public/A2B_card_info.php (modified) (5 diffs)
- trunk/common/lib/interface/constants.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/A2B_card_info.php
r1044 r1080 202 202 </td> 203 203 <td class="tableBodyRight" background="../Public/templates/default/images/background_cells.gif" width="70%"> 204 <?php echo $card['status']?> 204 <?php 205 $list_status = Constants::getCardStatus_List(); 206 echo $list_status[$card['status']][0];?> 205 207 </td> 206 208 </tr> … … 368 370 $payment_table = new Table('cc_logpayment','*'); 369 371 $payment_clause = "card_id = ".$id; 370 $payment_result = $payment_table -> Get_list($DBHandle, $payment_clause, 0 );372 $payment_result = $payment_table -> Get_list($DBHandle, $payment_clause, 0,NULL,NULL,NULL,10,0); 371 373 372 374 if(sizeof($payment_result)>0){ … … 376 378 <td height="20" align="center"> 377 379 <font class="toppage_maintable_text"> 378 <?php echo gettext(" Customer Payments"); ?> <br/>380 <?php echo gettext("10 Last Customer's Payment"); ?> <br/> 379 381 </font> 380 382 </td> … … 442 444 $refill_table = new Table('cc_logrefill','*'); 443 445 $refill_clause = "card_id = ".$id; 444 $refill_result = $refill_table -> Get_list($DBHandle, $refill_clause, 0 );446 $refill_result = $refill_table -> Get_list($DBHandle, $refill_clause, 0,NULL,NULL,NULL,10,0); 445 447 446 448 if(sizeof($refill_result)>0){ … … 450 452 <td height="20" align="center"> 451 453 <font class="toppage_maintable_text"> 452 <?php echo gettext(" Customer Refills"); ?> <br/>454 <?php echo gettext("10 Last Customer's Refill"); ?> <br/> 453 455 </font> 454 456 </td> trunk/common/lib/interface/constants.php
r1021 r1080 20 20 21 21 22 22 23 23 24 … … 186 187 } 187 188 189 public static function getCardStatus_List(){ 190 $cardstatus_list = array(); 191 $cardstatus_list["1"] = array( gettext("ACTIVE"), "1"); 192 $cardstatus_list["0"] = array( gettext("CANCELLED"), "0"); 193 $cardstatus_list["2"] = array( gettext("NEW"), "2"); 194 $cardstatus_list["3"] = array( gettext("WAITING-MAILCONFIRMATION"), "3"); 195 $cardstatus_list["4"] = array( gettext("RESERVED"), "4"); 196 $cardstatus_list["5"] = array( gettext("EXPIRED"), "5"); 197 $cardstatus_list["6"] = array( gettext("SUSPENDED FOR UNDERPAYEMENT"), "6"); 198 $cardstatus_list["7"] = array( gettext("SUSPENDED FOR LITIGATION"), "7"); 199 return $cardstatus_list; 200 } 201 188 202 } 189 203 … … 204 218 Constants::getBillingTypeList(); 205 219 Constants::getBillingTypeShortList(); 220 Constants::getCardStatus_List(); 206 221 */ 207 222
