Changeset 755 for trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
- Timestamp:
- Oct 25, 2015, 9:51:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
r740 r755 60 60 $this->System->RegisterPage(array('finance', 'import-api'), 'PageImportAPI'); 61 61 $this->System->RegisterPage(array('finance', 'import-soubor'), 'PageImportFile'); 62 63 $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('FinanceBankAPI', 64 array('ModuleFinanceBankAPI', 'ShowDashboardItem')); 62 65 } 63 66 64 67 function DoStop() 65 68 { 69 } 70 71 function ShowDashboardItem() 72 { 73 $DbResult = $this->Database->select('FinanceBankImport', 'COUNT(*)', '`FinanceOperation` IS NULL'); 74 $DbRow = $DbResult->fetch_row(); 75 $Output = 'Nezpárovaných plateb: '.$DbRow['0'].'<br/>'; 76 return($Output); 66 77 } 67 78
Note:
See TracChangeset
for help on using the changeset viewer.