Changeset 968 for trunk/Modules/Finance/FinanceModels.php
- Timestamp:
- Apr 12, 2024, 9:43:27 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/FinanceModels.php
r960 r968 40 40 $DbResult = $this->Database->query('SELECT * FROM `FinanceBillingPeriod`'); 41 41 while ($BillingPeriod = $DbResult->fetch_assoc()) 42 { 42 43 $this->BillingPeriods[$BillingPeriod['Id']] = $BillingPeriod; 44 } 43 45 44 46 // Period parameter is not used as it have to be determined from item replacement … … 65 67 66 68 $DbResult = $this->Database->query('SELECT SUM(`MemberPayment`.`MonthlyInternet`) AS `MonthlyInternet`, '. 67 68 69 'SUM(`MemberPayment`.`MonthlyTotal`) AS `MonthlyTotal` '. 70 'FROM `MemberPayment` JOIN `Member` ON `Member`.`Id`=`MemberPayment`.`Member` WHERE `Member`.`Blocked`=0'); 69 71 $Row = $DbResult->fetch_assoc(); 70 72 $this->TotalInternetPaid = $Row['MonthlyInternet'];
Note:
See TracChangeset
for help on using the changeset viewer.