Changeset 637


Ignore:
Timestamp:
Feb 10, 2014, 12:02:47 AM (11 years ago)
Author:
chronos
Message:
  • Fix: Convert from Date instead of DateTime in bank import.
File:
1 edited

Legend:

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

    r629 r637  
    3636          if($DbRow['Value'] >= 0) $DocumentLine = 3; // Receive money
    3737            else $DocumentLine = 4; // Send money
    38           $Year = date('Y', MysqlDateTimeToTime($DbRow['Time']));
     38          $Year = date('Y', MysqlDateToTime($DbRow['Time']));
    3939          $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine, $Year);
    4040          $DbResult3 = $this->Database->insert('FinanceOperation', array('Subject' => $DbRow2['Id'], 'Cash' => 0,
Note: See TracChangeset for help on using the changeset viewer.