Пример #1
0
<?php

$markDetailId = $_GET['markId'];
$markTressDetails = $common->getTreeMarked($_GET['markId']);
$markDetail = new MarkDetailDO();
$markList = $markDetail->getProgressFellingDetail($markDetailId);
$markIdDetail = $common->getInfo('c_mark_detail', $markDetailId);
$markIdDetail['0']['id'];
$forestDetail = $common->getInfo('m_forest', $markIdDetail['0']['i_forest_id']);
$forestName = $forestDetail['0']['vc_name'];
$forestDFO = $dfoList[$forestDetail['0']['i_department_id']];
$pageKey = "inventoryTimberWiseReport";
$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}");
    }
}
$economicsId = $_REQUEST['i_ecnomics_master_id'];
if ($economicsId == '') {
    $ecmomicsMaster = $common->getEcnomicsMaster($markDetailId);
    $ecnomicsId = $ecmomicsMaster['id'];
} else {
    $ecnomicsId = $economicsId;
}
$timberDO = new TimberDO();
$markDetail = new MarkDetailDO();