Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (10 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/ImportFio.php

    r715 r738  
    11<?php
    2  
     2
    33include('FioAPI.php');
    4  
     4
    55class ImportFio extends BankImport
    66{
    77  function Import()
    8   {   
     8  {
    99    $Fio = new FioAPI();
    1010    $Fio->Token = $this->BankAccount['LoginName'];
     
    2020        //$Output .= '<td>Ke dni '.date('j.n.Y', $Records['DateEnd']).' je stav účtu '.$Records['ClosingBalance'].' Kč</td>';
    2121        //$Output .= '<td>Suma příjmů: '.$Records['CreditValue'].' Kč</td>';
    22         //$Output .= '<td>Suma výdajů: '.$Records['DebitValue'].' Kč</td>';     
     22        //$Output .= '<td>Suma výdajů: '.$Records['DebitValue'].' Kč</td>';
    2323      //$Output .= '</tr>';
    2424    foreach($Records['Items'] as $Record)
     
    2626      $DbResult = $this->Database->select('FinanceBankImport', 'ID', 'Identification='.$Record['ID']);
    2727      if($DbResult->num_rows == 0)
    28       {     
     28      {
    2929        $Output .= '<tr>';
    3030        $this->Database->insert('FinanceBankImport', array('Time' => TimeToMysqlDate($Record['Date']),
    31           'BankAccount' => $this->BankAccount['Id'], 'Value' => $Record['Value'], 
     31          'BankAccount' => $this->BankAccount['Id'], 'Value' => $Record['Value'],
    3232          'SpecificSymbol' => $Record['SpecificSymbol'], 'VariableSymbol' => $Record['VariableSymbol'],
    3333          'ConstantSymbol' => $Record['ConstantSymbol'], 'Currency' => $this->BankAccount['Currency'],
     
    4141      }
    4242    }
    43     $Output .= '</table>';   
    44     $this->Database->update('FinanceBankAccount', 'Id='.$this->BankAccount['Id'], 
    45         array('LastImportDate' => TimeToMysqlDate($PeriodEnd)));
     43    $Output .= '</table>';
     44    $this->Database->update('FinanceBankAccount', 'Id='.$this->BankAccount['Id'],
     45      array('LastImportDate' => TimeToMysqlDate($PeriodEnd)));
    4646    return($Output);
    4747  }
Note: See TracChangeset for help on using the changeset viewer.