Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
Location:
trunk/Modules/FinanceBankAPI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/FinanceBankAPI/FileImport.php

    r887 r899  
    180180  function Insert(): string
    181181  {
    182     $Finance = $ModuleFinance::Cast($this->System->GetModule('Finance'))->Finance;
     182    $Finance = ModuleFinance::Cast($this->System->GetModule('Finance'))->Finance;
    183183    $Output = '';
    184184
  • trunk/Modules/FinanceBankAPI/FinanceBankAPI.php

    r894 r899  
    88class FinanceBankImport extends Model
    99{
    10   static function GetDesc(): ModelDesc
     10  static function GetModelDesc(): ModelDesc
    1111  {
    1212    $Desc = new ModelDesc(self::GetClassName());
     
    2727}
    2828
    29 class ModuleFinanceBankAPI extends AppModule
     29class ModuleFinanceBankAPI extends Module
    3030{
    3131  function __construct(System $System)
     
    3737    $this->License = 'GNU/GPLv3';
    3838    $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());
    4541  }
    4642
Note: See TracChangeset for help on using the changeset viewer.