Changeset 301 for trunk/finance/finance.php
- Timestamp:
- Dec 31, 2010, 4:56:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/finance.php
r294 r301 191 191 //echo($Row['fullname'].' '.$Row['inet'].' '.$Monthly.'<br>'); 192 192 $Monthly = round($Monthly); 193 //echo($Row['fullname'].' '.$Row['inet'].' '.$Monthly.'<br>') ;193 //echo($Row['fullname'].' '.$Row['inet'].' '.$Monthly.'<br>') 194 194 195 if($Member['BillingPeriodNext'] == 1) 196 { 197 // Inactive payer 198 $MonthlyInet = 0; 199 $Monthly = 0; 200 $ConsumptionPlus = 0; 201 $Consumption = 0; 202 } 195 203 $this->Database->insert('MemberPayment', array('Member' => $Member['Id'], 'NetworkDevice' => $NetworkDevice, 'MonthlyInternet' => $MonthlyInet, 'MonthlyTotal' => $Monthly, 'MonthlyConsumption' => $this->W2Kc($Consumption), 'Cash' => $Cash, 'MonthlyPlus' => $this->W2Kc($ConsumptionPlus))); 196 204 }
Note:
See TracChangeset
for help on using the changeset viewer.