Changeset 755 for trunk/Modules/Customer/Customer.php
- Timestamp:
- Oct 25, 2015, 9:51:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Customer/Customer.php
r738 r755 148 148 'Filter' => '1', 149 149 )); 150 151 $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('Customer', 152 array('ModuleCustomer', 'ShowDashboardItem')); 150 153 } 154 155 function ShowDashboardItem() 156 { 157 $DbResult = $this->Database->select('Member', 'COUNT(*)', '1'); 158 $DbRow = $DbResult->fetch_row(); 159 $Output = 'Zákazníků: registrovaných:'.$DbRow['0']; 160 161 $DbResult = $this->Database->select('Member', 'COUNT(*)', '`Blocked`=0 AND `BillingPeriod`<>1'); 162 $DbRow = $DbResult->fetch_row(); 163 $Output .= ' platících:'.$DbRow['0'].'<br/>'; 164 165 return($Output); 166 } 167 151 168 }
Note:
See TracChangeset
for help on using the changeset viewer.