echo display_float($gtotalVolume, 3); ?> </b></td> <td colspan="1" style="text-align:right"><b><?php echo display_float($gtotalCharges); ?> </b></td> <td colspan="1" style="text-align:right"><b><?php echo display_float($gtotalePrice); ?> </b></td> <td colspan="1" style="text-align:right"><b><?php echo display_float($gtotalSold, 0); ?> </b></td> <td colspan="1" style="text-align:right"><b><?php echo display_float($gtotalSellingVolume, 3); ?> </b></td> <td colspan="1" style="text-align:right"><b><?php echo display_float($gtotalSellingPrice, 2); ?> </b></td> </tr> <?php } ?> </table>
</td> <td> <?php $allForestPoints = $common->getForestExitPoints($markDetailId, $resultDetail['i_tree_id']); echo makeSelectOptionsCustomize($allForestPoints, "i_location_id[" . $k->id . "][" . $existingCount . "]", $currentDetail['i_location_id'], "", "150px", ""); ?> </td> <td> <?php echo $resultDetail['i_current_count'] - $arraySellingResult['i_current_count']; ?> </td> <td> <?php echo display_float($resultDetail['i_current_volume'], 3); ?> </td> <td> <input onblur="outFocus(this,'i_timber_id[<?php echo $k->id; ?> ][<?php echo $existingCount; ?> ]',<?php echo $k->id; ?> ,'<?php
?> </b></td> <td colspan="1" style='text-align:left' ><?php echo $name['timberType']; ?> </b></td> <td colspan="1" style='text-align:right'><?php echo $getConvertedTimberDetail[$treeId][$key]['i_count'] != '' ? $getConvertedTimberDetail[$treeId][$key]['i_count'] : '0'; ?> </b></td> <td colspan="1" style='text-align:right'><?php echo display_float($getConvertedTimberDetail[$treeId][$key]['i_volumne']); ?> </b></td> <td colspan="1" style='text-align:right'><?php echo display_float($getConvertedTimberDetail[$treeId][$key]['i_conversion_charges']); ?> </b></td> </tr> <?php } ?> <tr class="headrow"> <td style='text-align:center' align="center"><b> </b></td> <td colspan="1" style='text-align:center'> </b></td> <td colspan="1" style='text-align:center'> </b></td> <td colspan="1" style='text-align:right'><b><?php $gtotalCount += $totalCount; echo $totalCount; ?> </b></td>
?> </td> <td class='completeRight'> </td> <td > <?php echo $fellingCurrent[$treeId]['i_count'] == '' ? '0' : $fellingCurrent[$treeId]['i_count']; $feelingTotalCount += $fellingCurrent[$treeId]['i_count']; ?> </td> <td> <?php echo display_float($fellingCurrent[$treeId]['i_volumne'], 3); $feelingTotalVolume += display_float($fellingCurrent[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'> </td> <td> <?php echo $feelingTotalCount; ?> </td> <td > <?php echo $feelingTotalVolume; ?>
$total += $timberDetail[$tree][$timberTypeId]['volume']; ?> <td class="fill" align="right" nowrap><?php echo display_float($timberDetail[$tree][$timberTypeId]['volume'] == '' ? '0' : $timberDetail[$tree][$timberTypeId]['volume'], 3); ?> m³</td> <?php } ?> <td class="fill" align="right" nowrap> <?php echo display_float($total, 3); ?> m³ <input type='hidden' value=' <?php echo display_float($total, 3); ?> ' name='totalVolume[<?php echo $timberTypeId; ?> ]' id='totalVolume[<?php echo $timberTypeId; ?> ]' onblur="calculateDependcies('<?php echo $timberTypeId; ?> ')" /> </td>
style='width: 70px; display:inline;' type='text' name='treeSalePrice[<?php echo $treeDetail; ?> ]' value='<?php echo $salePrice[$treeDetail]['i_sale_pice']; ?> ' onfocus="getFocus(this);" onblur="outFocus(this,'<?php echo $count; ?> ','<?php echo display_float($treeConvertedVolume[$treeDetail]['volume'], 3); ?> ')" /> Rs/m³ </td> <td class="fill"> <div id='<?php echo $count; ?> '> </div></td> </tr>
function getVolumeToTransferAjaxRSD($markdId, $treeId, $pointId, $i_timber_id, $i_timbertype_id) { $markDetail = new MarkDetailDO(); $progressConversion = $markDetail->getProgressConversionTreeWiseTimberWise($markdId, $i_timber_id, $i_timbertype_id); $treeForestVolume = $progressConversion[$treeId]; if ($pointId == -1) { $leftFromForest = $this->getFromForestLeft($markdId, $treeId, $i_timber_id, $i_timbertype_id); echo display_float($treeForestVolume['i_count']) - $leftFromForest; } else { $leftFromForest = $this->getVolumeLeft($markdId, $treeId, $pointId, $i_timber_id, $i_timbertype_id); $volumeMoved = $this->getVolumeMoved($markdId, $treeId, $pointId, $i_timber_id, $i_timbertype_id); echo $leftFromForest - $volumeMoved; } $forestIEntryId = array(); //echo makeSelectOptions($entryPointList,"fromPoint",$i_contractor_id,"",100,""); }
<td><b>Total Volume</b></td> </tr> <?php foreach ($markList as $detail) { ?> <tr> <td><b><?php echo $arrYears[$detail['vc_year']]; ?> </b></td> <td><b><?php echo $detail['i_total_marked']; ?> </b></td> <td><b><?php echo display_float($detail['i_total_Volume'], 3); ?> </b></td> <td> <table> <tr> <td> <a href='index.php?page=progressConversionOpening&markId=<?php echo $detail['i_mark_id']; ?> &progressId=<?php echo $detail['id']; ?> '> Edit </a> </td> </tr>
?> </td> <td class='completeRight'> </td> <!-- Converion Yearly --> <td class='completeLeft'> <?php echo $conversionCurrent[$treeId]['i_count'] == '' ? '0' : $conversionCurrent[$treeId]['i_count']; $conversionTotalCount += $conversionCurrent[$treeId]['i_count']; ?> </td> <td > <?php echo display_float($conversionCurrent[$treeId]['i_volumne'], 3); $conversionTotalVolume += display_float($conversionCurrent[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'> </td> <!-- Converion Total --> <td><?php echo $conversionTotalCount; ?> </td> <td><?php echo $conversionTotalVolume; ?>
$totalCount = 0; $totalVolume = 0; foreach ($markedTreeList as $treeId => $category) { $totalCount += $fellingDetail[$key][$treeId]['i_count'] != '' ? $fellingDetail[$key][$treeId]['i_count'] : '0'; $totalVolume += display_float($fellingDetail[$key][$treeId]['i_volumne'] != '' ? $fellingDetail[$key][$treeId]['i_volumne'] : '0', 3); ?> <td align="right"><b><?php echo $finalTotal[$treeId]['count']; ?> </b></td> <td align="right"><b><?php echo display_float($finalTotal[$treeId]['volume'], 3); ?> </b></td> <td align="right"><b><?php echo display_float($finalTotal[$treeId]['charges'], 2); ?> </b></td> <?php } ?> <td align="right"><b><?php echo $gtotalCount; ?> </b></td> <td align="right"><b><?php echo $gtotalVolume; ?> </b></td> <td align="right"><b><?php
</td> <td> <?php echo display_float($timberInoutDetail[$treeId]['OutCount']); ?> </td> <td ><?php echo display_float(display_float($timberInoutDetail[$treeId]['InVolume'], 3) - display_float($timberInoutDetail[$treeId]['OutVolume'], 3) + display_float($previousYearTotal + display_float($previousDetail[$treeId]['InVolume'], 3) - display_float($previousDetail[$treeId]['OutVolume'], 3), 3)); ?> </td> <td ><?php echo display_float(display_float($timberInoutDetail[$treeId]['InCount'], 3) - display_float($timberInoutDetail[$treeId]['OutCount'], 3) + display_float($previousYearTotalCount + display_float($previousDetail[$treeId]['InCount'], 3) - display_float($previousDetail[$treeId]['OutCount'], 3), 3)); ?> </td> </tr> <?php } ?> </table> </td> <?php ?> </tr> <tr> <?php for ($i = 0; $i <= 22; $i++) { ?>
<tr> <td colspan="<?php echo $cols + 7; ?> "> </td> </tr> <tr class="headrow"> <td colspan="3">Net Profit(After Royality) </td> <td colspan="9"></td> <td align="right" title="Total Profitability -(Conversion Charges + Felling Charges + Total Transportation Charges+ Total Overheads+ Total Royality)"><?php echo display_float($totalSsllingVolume - $converionCharges - $totalCharges - $totalChargesOver - $otherExpenses - $totalRoyality); ?> </td> </tr> </table> </center> </div> <?php } else { echo "No Ecnomics Entry for the Lot"; } ?>
<td align='right'> </td> <td align='right'> </td> <td align='right'><?php echo $conversionProgressTotal; ?> </td> </tr> <?php } ?> </table> </div> <a href='javascript:return false;' onmouseover='display("progressOverHeads");' > <?php echo display_float($conversionProgressTotal); ?> </a> </b></td> </tr> <?php } ?> </table> <script> function display(id) { hide('converionDiv');
</td> <?php } ?> <td style="text-align:right;"><?php echo $catTotal['total']; ?> </td> <td style="text-align:right;"><?php echo display_float($catTotal['volume'], 3); ?> m³</td> <td> </td> <td nowrap style="text-align:right;">Rs. <?php echo display_float($catTotal['royality'], 2); ?> </td> </tr> <script> function confirmDelete(pageLocation) { if(confirm("Are you sure that you want to delete ?")) { window.location=pageLocation; } } </script>
<td><?php echo display_float($InOutDetail['OutVolume'], 3); ?> </td> <td><?php echo display_float($InOutDetail['InVolume'], 3) - display_float($InOutDetail['OutVolume'], 3); ?> </td> <td><?php echo display_float($InOutDetail['InVolume'], 3) - display_float($InOutDetail['OutVolume'], 3) + display_float($previousDetail[$treeId]['InVolume'] - $previousDetail[$treeId]['OutVolume']); ?> </td> <?php //Added for summary generation $pending[$pointId][$treeId] += display_float($InOutDetail['InVolume'], 3) - display_float($InOutDetail['OutVolume'], 3); } ?> <?php } else { ?> <td>N.A</td> <td>N.A</td> <td>N.A</td> <?php } ?> <td>
?> </td> <td><?php echo display_float($totalTransfer[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'></td> <td> <?php echo $carriageOpening[$treeId]['i_count'] + $carriageDetail[$treeId]['i_count'] - $totalTransfer[$treeId]['i_count']; ?> </td> <td > <?php echo display_float($carriageOpening[$treeId]['i_volumne'] + $carriageDetail[$treeId]['i_volumne'], 3) - display_float($totalTransfer[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'></td> </tr> <?php } ?> <tr> <?php for ($i = 0; $i <= 29; $i++) { ?> <td class='borderBottom fillcolor' >
?> </td> <td> <?php echo display_float($timberInoutDetail[$treeId]['InCount'] - $timberInoutDetail[$treeId]['OutCount'], 3); ?> </td> <td ><?php echo display_float(display_float($timberInoutDetail[$treeId]['InVolume'], 3) - display_float($timberInoutDetail[$treeId]['OutVolume'], 3) + display_float($previousDetail[$treeId]['InVolume'] - $previousDetail[$treeId]['OutVolume']), 3); ?> </td> <td ><?php echo display_float(display_float($timberInoutDetail[$treeId]['InCount'], 3) - display_float($timberInoutDetail[$treeId]['OutCount'], 3) + display_float($previousDetail[$treeId]['InCount'] - $previousDetail[$treeId]['OutCount']), 3); ?> </td> </tr> <?php } ?> </table> </td> </tr> <tr> <?php for ($i = 0; $i <= 28; $i++) { ?> <td class='borderBottom fillcolor' > </td>
</td> <td><?php echo display_float($carriageDetail[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'></td> <td> <?php echo $conversionTotalCount - $carriageDetail[$treeId]['i_count']; ?> </td> <td > <?php echo $conversionTotalVolume - display_float($carriageDetail[$treeId]['i_volumne'], 3); ?> </td> <td class='completeRight'></td> </tr> <?php } ?> <tr> <?php for ($i = 0; $i <= 29; $i++) { ?> <td class='borderBottom fillcolor' > </td>
</b></td> <td align='center'><b><?php echo display_float($totalArray['actualVolumne']); ?> </b></td> <td align='center'><b><?php echo display_float($totalArray['actualPrice']); ?> </b></td> <td align='center'><b><?php echo display_float(100 * ($totalArray['actualVolumne'] / $totalArray['estimatedVolumne'])); ?> </b></td> <td align='center'><b><?php echo display_float($totalArray['actualPrice']) - display_float($totalArray['estimatedprice']); ?> </b></td> </tr> </table> <?php } //End of else } else { echo "No Ecnomics Entry for the Lot"; } ?>
name="volumeLeft[<?php echo $k->id; ?> ][<?php echo $existingCount; ?> ]" id="volumeLeft[<?php echo $k->id; ?> ][<?php echo $existingCount; ?> ]" value="<?php echo display_float($maxDetail[$resultDetail['i_tree_id']], 3); ?> " /> </td> <td><input type='text' readonly="readonly" class="number" style="background-color: #dcdcdc; width: 50px;" name="countLeft[<?php echo $k->id; ?> ][<?php echo $existingCount; ?> ]" id="countLeft[<?php echo $k->id; ?>
?> <td align="right"><?php $totalCharges += $overHead['vc_value']; echo display_float($overHead['vc_value']); ?> </td> <?php } ?> <tr class="headrow"> <td colspan="5">Total Charges</td> <td align="right"><?php echo display_float($totalCharges); ?> </td> </tr> </table> </div> <?php } else { echo "No Ecnomics Entry for the Lot"; } ?>