Changeset 899 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Feb 17, 2021, 12:30:23 PM (4 years ago)
- Location:
- trunk/Modules/FinanceBankAPI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FileImport.php
r887 r899 180 180 function Insert(): string 181 181 { 182 $Finance = $ModuleFinance::Cast($this->System->GetModule('Finance'))->Finance;182 $Finance = ModuleFinance::Cast($this->System->GetModule('Finance'))->Finance; 183 183 $Output = ''; 184 184 -
trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
r894 r899 8 8 class FinanceBankImport extends Model 9 9 { 10 static function Get Desc(): ModelDesc10 static function GetModelDesc(): ModelDesc 11 11 { 12 12 $Desc = new ModelDesc(self::GetClassName()); … … 27 27 } 28 28 29 class ModuleFinanceBankAPI extends AppModule29 class ModuleFinanceBankAPI extends Module 30 30 { 31 31 function __construct(System $System) … … 37 37 $this->License = 'GNU/GPLv3'; 38 38 $this->Description = 'Communication through API to various banks, manual file import'; 39 $this->Dependencies = array('Finance', 'Scheduler', 'IS'); 40 } 41 42 function GetModels(): array 43 { 44 return array(FinanceBankImport::GetClassName()); 39 $this->Dependencies = array(ModuleFinance::GetName(), ModuleScheduler::GetName(), ModuleIS::GetName()); 40 $this->Models = array(FinanceBankImport::GetClassName()); 45 41 } 46 42
Note:
See TracChangeset
for help on using the changeset viewer.