Ignore:
Timestamp:
Jul 27, 2014, 12:28:16 PM (10 years ago)
Author:
chronos
Message:
  • Upraveno: Zaokrouhlovat vypočítanou cenu na celé čísla v položkách faktur.
File:
1 edited

Legend:

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

    r660 r680  
    399399        'VAT' => array('Type' => 'Integer', 'Caption' => 'Daň', 'Default' => '21', 'Suffix' => '%'),
    400400        'Total' => array('Type' => 'Integer', 'Caption' => 'Celkem', 'Default' => '', 'Suffix' => 'Kč',
    401           'ReadOnly' => true, 'SQL' => '`Price` * `Quantity`'),
     401          'ReadOnly' => true, 'SQL' => 'CEIL(`Price` * `Quantity`)'),
    402402      ),
    403403    ));
Note: See TracChangeset for help on using the changeset viewer.