Changeset 761 for trunk/Modules/Finance
- Timestamp:
- Nov 4, 2015, 9:00:41 AM (9 years ago)
- Location:
- trunk/Modules/Finance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r760 r761 124 124 $Group = $DbResult->fetch_assoc(); 125 125 return($Group); 126 } else die('Finance group not found');126 } else die('Finance group id '.$Id.' not found in table '.$Table); 127 127 } 128 128 … … 167 167 $Consumption = 0; 168 168 } 169 $Consumption = 0; 169 170 $this->Database->insert('MemberPayment', array('Member' => $Member['Id'], 170 171 'MonthlyInternet' => $MonthlyInet, -
trunk/Modules/Finance/Manage.php
r748 r761 177 177 178 178 // Load invoice group 179 $FinanceGroup = $this->System->Modules['Finance']->GetFinanceGroupById($InvoiceGroupId, 'FinanceInvoice ');179 $FinanceGroup = $this->System->Modules['Finance']->GetFinanceGroupById($InvoiceGroupId, 'FinanceInvoiceGroup'); 180 180 foreach($InvoiceItems as $Index => $Item) { 181 181 $InvoiceItems[$Index]['Price'] = $Item['Price'] * $FinanceGroup['ValueSign']; … … 271 271 $Row = $DbResult->fetch_row(); 272 272 $TotalMemberCash = $Row[0]; 273 $Output .= 'Stav pokladny: Členové('. $TotalMemberCash.')';273 $Output .= 'Stav pokladny: Členové('.round($TotalMemberCash).')<br/>'; 274 274 275 275 $DbResult = $this->Database->query('SELECT SUM(`Product`.`Consumption`) AS `Consumption` FROM `StockSerialNumber` '.
Note:
See TracChangeset
for help on using the changeset viewer.