Changeset 748 for trunk/Modules/Finance/Manage.php
- Timestamp:
- Sep 30, 2015, 11:55:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Manage.php
r747 r748 109 109 $SumValue = 0; 110 110 foreach($Items as $Item) { 111 $SumValue = $SumValue + ceil($Item['Price'] * $Item['Quantity']); 112 } 111 $SumValue = $SumValue + $Item['Price'] * $Item['Quantity']; 112 } 113 $Finance = &$this->System->Modules['Finance']; 114 $SumValue = round($SumValue, $Finance->Rounding); 113 115 $this->Database->insert('FinanceInvoice', array( 114 116 'Subject' => $Subject, 'Time' => TimeToMysqlDateTime($TimeCreation),
Note:
See TracChangeset
for help on using the changeset viewer.