Ignore:
Timestamp:
Jan 4, 2015, 11:30:15 PM (10 years ago)
Author:
chronos
Message:
  • Modified: Old invoice items with validity period contained in Text was changed to move period to PeriodFrom and PeriodTo columns.
File:
1 edited

Legend:

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

    r724 r725  
    9595
    9696    $DbResult = $this->Database->query('SELECT * FROM `DocumentLineSequence` WHERE '.
    97         '`DocumentLine`='.$Id.' AND `FinanceYear`='.$FinanceYear['Id']);
     97      '`DocumentLine`='.$Id.' AND `FinanceYear`='.$FinanceYear['Id']);
    9898    $Sequence = $DbResult->fetch_assoc();
    9999
     
    104104
    105105    $this->Database->query('UPDATE `DocumentLineSequence` SET `NextNumber` = `NextNumber` + 1 '.
    106         'WHERE (`DocumentLine`='.$Id.') AND (`FinanceYear`='.$FinanceYear['Id'].')');
     106      'WHERE (`DocumentLine`='.$Id.') AND (`FinanceYear`='.$FinanceYear['Id'].')');
    107107    return($Result);
    108108  }
Note: See TracChangeset for help on using the changeset viewer.