Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (9 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

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

    r735 r738  
    5959
    6060    $this->System->RegisterPage(array('finance', 'import-api'), 'PageImportAPI');
    61     $this->System->RegisterPage(array('finance', 'import-soubor'), 'PageImportFile');   
     61    $this->System->RegisterPage(array('finance', 'import-soubor'), 'PageImportFile');
    6262  }
    6363
     
    7979      'presetBankAccount' => $Item['BankAccount'],
    8080      'presetDocumentLine' => $DocumentLine);
    81         return($Preset);
     81    return($Preset);
    8282  }
    8383}
     
    8585class ScheduleBankImport extends SchedulerTask
    8686{
    87         function Execute()
    88         {
    89                 $Output = '';
    90                 $DbResult = $this->Database->select('FinanceBankAccount', 'Id, Comment',
    91                         '(`AutoImport`=1) AND ((`TimeEnd` IS NULL) OR (`TimeEnd` > NOW()))');
    92                 while($DbRow = $DbResult->fetch_assoc())
    93                 {                       
    94                         echo($DbRow['Comment']."\n");
    95                         $Page = new PageImportAPI($this->System);
    96                         $Output .= $Page->Show();
    97                 }
    98                 return($Output);
    99         }
     87  function Execute()
     88  {
     89    $Output = '';
     90    $DbResult = $this->Database->select('FinanceBankAccount', 'Id, Comment',
     91      '(`AutoImport`=1) AND ((`TimeEnd` IS NULL) OR (`TimeEnd` > NOW()))');
     92    while($DbRow = $DbResult->fetch_assoc())
     93    {
     94      echo($DbRow['Comment']."\n");
     95      $Page = new PageImportAPI($this->System);
     96      $Output .= $Page->Show();
     97    }
     98    return($Output);
     99  }
    100100}
Note: See TracChangeset for help on using the changeset viewer.