Ignore:
Timestamp:
Apr 6, 2020, 11:17:40 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Improved code format.
File:
1 edited

Legend:

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

    r799 r873  
    7676    $DbRow = $DbResult->fetch_row();
    7777    $Output = 'Nezpárovaných plateb: '.$DbRow['0'].'<br/>';
    78     return($Output);
     78    return ($Output);
    7979  }
    8080
     
    8282  {
    8383    $Preset = array();
    84     if($Item['Value'] < 0) $OperationGroupId = OPERATION_GROUP_ACCOUNT_OUT;
     84    if ($Item['Value'] < 0) $OperationGroupId = OPERATION_GROUP_ACCOUNT_OUT;
    8585       else $OperationGroupId = OPERATION_GROUP_ACCOUNT_IN;
    8686    $FinanceGroup = $this->System->Modules['Finance']->GetFinanceGroupById($OperationGroupId, 'FinanceOperationGroup');
     
    9494      'presetBankAccount' => $Item['BankAccount'],
    9595      'presetGroup' => $FinanceGroup['Id']);
    96     return($Preset);
     96    return ($Preset);
    9797  }
    9898}
     
    106106      '(`AutoImport`=1) AND (`TimeCreate` < NOW()) AND '.
    107107      '((`TimeEnd` IS NULL) OR (`TimeEnd` > NOW()))');
    108     while($DbRow = $DbResult->fetch_assoc())
     108    while ($DbRow = $DbResult->fetch_assoc())
    109109    {
    110110      echo($DbRow['Comment']."\n");
     
    112112      $Output .= $Page->Import($DbRow['Id']);
    113113    }
    114     return($Output);
     114    return ($Output);
    115115  }
    116116}
Note: See TracChangeset for help on using the changeset viewer.