Changeset 609


Ignore:
Timestamp:
Dec 16, 2013, 10:28:31 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Celkový součet na faktuře z položek také násobených počtem.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r608 r609  
    11<?php
    22
    3 $Revision = 608; // Subversion revision
     3$Revision = 609; // Subversion revision
    44$DatabaseRevision = 601; // SQL structure revision
    5 $ReleaseTime = '2013-12-12';
     5$ReleaseTime = '2013-12-16';
  • trunk/Modules/Finance/Manage.php

    r577 r609  
    109109    $SumValue = 0;
    110110    foreach($Items as $Item)
    111         $SumValue = $SumValue + $Item['Price'];
     111        $SumValue = $SumValue + $Item['Price'] * $Item['Quantity'];
    112112    $this->Database->insert('FinanceInvoice', array(
    113113          'Subject' => $Subject, 'TimeCreation' => TimeToMysqlDateTime($TimeCreation),
Note: See TracChangeset for help on using the changeset viewer.