Exemplo n.º 1
0
{
	background-color:#cccccc;
}

.oddrow
{
	background-color:#eeeeee;
}
</style>
<?php 
printButton('800', 'javascript:window.print()', '90px');
echo '<center><h2>Marking Summary Report</h2></center>';
$markDetailId = $_GET['markId'];
$markTressDetails = $common->getTreeMarked($_GET['markId']);
$markDetail = new MarkDetailDO();
$markList = $markDetail->getMarkDetailSummarry($markDetailId);
$volumneList = $markDetail->getMarkIdVolumeDetail($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']];
$markIdDetailHTML = $markDetail->getMarkIdDetailHTML($markDetailId, $forestDFO . '/' . $forestName);
echo $markIdDetailHTML;
$oddrowcolor = "class='oddrow'";
$evenrowcolor = "class='evenrow'";
$colorcount = 0;
if (!isset($markList) || empty($markList)) {
    echo "<tr><td colspan=2 align='center'>No Record Entered";
} else {
    ?>
Exemplo n.º 2
0
    $i_year = '';
}
$arrMarkDetail = $common->getInfo('c_mark_detail', $markDetailId);
$forestId = $arrMarkDetail[0]['i_forest_id'];
$arrCondition = array('i_forest_id' => $forestId, 'i_tree_id' => $treeId);
$priceMaster = $common->selectCondition('m_price', $arrCondition);
$arrCondition = array('i_mark_id' => $markDetailId, 'i_tree_id' => $treeId);
$currentPrice = $common->selectCondition('c_marked_price', $arrCondition);
$unitPriceValue = 0;
$defaultPrice = $priceMaster[0]['price'];
if ($currentPrice != '' && $currentPrice[0]['i_value'] > 0) {
    $unitPriceValue = $currentPrice[0]['i_value'];
} else {
    $unitPriceValue = $priceMaster[0]['price'];
}
$markList = $markDetail->getMarkDetailSummarry($markDetailId, '', 'Y');
$voulmePrevDetail = $markDetail->getFellingPreviousConversionDetail($markDetailId, $progressID);
$arrAllcontractors = $common->getContractorWork($markDetailId, 1);
if ($fellingCharges == '') {
    $table = 'c_conversion_felling';
    $fellingCharges = $common->getConversionInfo($table, $forestId);
}
?>
<head>


<link rel="stylesheet" type="text/css" media="all"
	href="css/jsDatePick_ltr.min.css" />
<link rel="stylesheet" type="text/css" media="all"
	href="css/jqstyle.css" />
<style>
Exemplo n.º 3
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}");
    }