Ignore:
Timestamp:
Jan 2, 2014, 5:07:34 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Doplněn parametr rok u dalších vkládaných položek finančních operací a faktur.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Finance/Import.php

    r568 r629  
    122122  function InsertMoney($Subject, $Value, $Cash, $Taxable, $Time, $Text, $DocumentLine)
    123123  {
    124 
    125     $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine);
     124    $Year = date('Y', $Time);
     125    $BillCode = $this->System->Modules['Finance']->GetNextDocumentLineNumber($DocumentLine, $Year);
    126126    // TODO: Fixed BankAccount=1
    127127    $this->Database->insert('FinanceOperation', array('Text' => $Text,
Note: See TracChangeset for help on using the changeset viewer.