Ticket #61: materials_float-20081013.patch
| File materials_float-20081013.patch, 0.6 kB (added by jeremy@…, 3 months ago) |
|---|
-
lib/bills.php
old new 1372 1372 $summary['rows'][] = $qrow; 1373 1373 $summary['sum_amount'] += (float)$qrow['prj_amount']; 1374 1374 $summary['sum_duration'] += (int)$qrow['prj_duration']; 1375 $summary['sum_material'] += ( int)$qrow['material_price'];1375 $summary['sum_material'] += (float)$qrow['material_price']; 1376 1376 } 1377 1377 1378 1378 return $summary; … … 1503 1503 return $billInfo; 1504 1504 } 1505 1505 1506 ?> 1507 No newline at end of file 1506 ?>
