Ignore:
Timestamp:
Jul 3, 2015, 11:36:07 PM (9 years ago)
Author:
chronos
Message:

to group id instead of DocumentLine.

File:
1 edited

Legend:

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

    r738 r740  
    7979
    8080    // If negative value => switch sides
    81     if($Invoice['Direction'] == -1)
     81    if($Invoice['ValueSign'] == -1)
    8282    {
    8383      $Subject = $SubjectTo;
     
    162162
    163163    $BooleanText = array('Ne', 'Ano');
    164     if($Operation['Direction'] == -1)
     164    if($Operation['ValueSign'] == -1)
    165165    $Desc = array(
    166166      'Type' => 'VÝDAJOVÝ',
     
    168168      'Target' => 'Vydáno komu',
    169169    );
    170     else if($Operation['Direction'] == 1)
     170    else if($Operation['ValueSign'] == 1)
    171171    $Desc = array(
    172172      'Type' => 'PŘÍJMOVÝ',
Note: See TracChangeset for help on using the changeset viewer.