Ejemplo n.º 1
0
<?php

$markDetailId = $_GET['markId'];
$markTressDetails = $common->getTreeMarked($_GET['markId']);
$yearDetail = $_GET['yearDetailId'];
if ($yearDetail != '') {
    $markingMaster = $common->getInfo('marking_master_detail', $yearDetail);
    $markingMaster = $markingMaster[0];
} else {
    $markingMaster = $_SESSION['markingyearDetail'];
}
$_SESSION['markingyearDetail'] = $markingMaster;
$markDetail = new MarkDetailDO();
$markList = $markDetail->getMarkDetailSummarry($markDetailId, $markingMaster['from_vc_year']);
$volumneList = $markDetail->getMarkIdVolumeSummarry($markDetailId, $markingMaster['from_vc_year']);
$royalityList = $markDetail->getRoyalityMarkIdPrice($markDetailId, $markingMaster['from_vc_year']);
$markIdDetail = $common->getInfo('c_mark_detail', $markDetailId);
$markIdDetail['0']['id'];
$arrVolumeTables = $common->getAllVolumeTables();
$forestDetail = $common->getInfo('m_forest', $markIdDetail['0']['i_forest_id']);
$forestName = $forestDetail['0']['vc_name'] . "/" . $arrVolumeTables[$markIdDetail['0']['i_table_id']];
$forestDFO = $dfoList[$forestDetail['0']['i_department_id']];
$markIdDetailHTML = $markDetail->getMarkIdDetailHTML($markDetailId, $forestDFO . '/' . $forestName);
if (isset($_POST['add_over_head'])) {
    ob_end_clean();
    header("Location:" . BASE_URL . "index.php?page=addOverhead&markId={$markDetailId}");
} else {
    if (isset($_POST['add_conversion'])) {
        ob_end_clean();
        header("Location:" . BASE_URL . "index.php?page=addConversion&markId={$markDetailId}");
    }
Ejemplo n.º 2
0
   <td class='completeLeft completeRight' colspan="3">
   </td>
   <td class='completeLeft completeRight' colspan="1">
   </td>
   <td class='completeLeft completeRight' colspan="3">
    <td class='completeLeft completeRight' colspan="3">
     <td class='completeLeft completeRight' colspan="3"></td>
  <td class='completeLeft completeRight' colspan="2">
   </td>

  
  </tr>
	<?php 
    $markDetail = new MarkDetailDO();
    $markedTreeList = $markDetail->getMarkedTreesOnly($key);
    $markEntryVolume = $markDetail->getMarkIdVolumeSummarry($key, $year);
    $markEntryVolumeOpening = $markDetail->getMarkIdVolumeSummarryOpening($key, $year);
    $markEntryCount = $markDetail->getMarkIdCountSummarry($key, $year);
    $markEntryCountOpening = $markDetail->getMarkIdCountSummarryOpening($key, $year);
    //Block For Fetching Progress Detail
    $fellingCurrent = $markDetail->getProgressFellingTreeWiseYearBased($key, $year, '1');
    $fellingPrevious = $markDetail->getProgressFellingTreeWiseYearBased($key, $year, '-1');
    foreach ($markedTreeList as $treeId => $TreeName) {
        $feelingTotalVolume = 0;
        $feelingTotalCount = 0;
        $royalityVolume;
        $markingEntryTotal = 0;
        $markingEntryVolumeTotal = 0;
        ?>
		<tr class='borderBottomLight'>
		<td colspan="4">
Ejemplo n.º 3
0
    extract($_POST);
    header("Location:" . BASE_URL . "index.php?page=addProduct&markId=" . $markDetailId);
}
$pageKey = "ecnomicreports";
$economicsId = $_REQUEST['i_ecnomics_master_id'];
if ($economicsId == '') {
    $ecmomicsMaster = $common->getEcnomicsMaster($markDetailId);
    $ecnomicsId = $ecmomicsMaster['id'];
} else {
    $ecnomicsId = $economicsId;
}
$timberDO = new TimberDO();
$conversionDetail = $timberDO->getCategoryFillingRelation($markDetailId, $ecnomicsId);
$markDetail = new MarkDetailDO();
$markListAll = $markDetail->getMarkIdVolumeDetailTree($markDetailId);
$volumneList = $markDetail->getMarkIdVolumeSummarry($markDetailId);
$royalityList = $markDetail->getRoyalityMarkIdPrice($markDetailId);
$timberDO = new TimberDO();
$conversionDetail = $timberDO->getCategoryConversionRelation($markDetailId, $ecnomicsId);
$timberlist = $timberDO->getTimberList();
$timberCatDetail = $timberDO->getTimberCategoryDetail($forestID);
$timberRelationDetail = $timberDO->getTimberCategoryRelationDetail($markDetailId, $ecnomicsId);
if ($timberRelationDetail != '') {
    $timberCatDetail = $timberRelationDetail;
}
$fellingDetail = $timberDO->getCategoryFillingRelation($markDetailId, $ecnomicsId);
$overHeadDetail = $timberDO->getMarkingOverHeadRelation($markDetailId, $ecnomicsId);
$overTransportation = $timberDO->getMarkingTransPortationRelation($markDetailId, $ecnomicsId);
$handlingCharges = $timberDO->getOtherExpensis($markDetailId, $ecnomicsId);
$getRateDetail = $markDetail->getConverionCharges($ecnomicsId);
$salePrice = $markDetail->getSalePrice($ecnomicsId);