Exemplo n.º 1
0
                    $st .= DateModules::miladi_to_shamsi($ValuesStore[$res[$i]]);
                    break;
                default:
                    $st .= $ValuesStore[$res[$i]];
            }
        } else {
            if (isset($TplItemsStore[$res[$i]]["FieldName"])) {
                $st .= $ContractRecord[$TplItemsStore[$res[$i]]["FieldName"]];
            }
        }
    } else {
        $st .= $res[$i];
    }
}
//---------------------------------------------------------
$signs = CNT_ContractSigns::Get(" AND ContractID=?", array($CntObj->ContractID));
?>
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>	
	<link rel="stylesheet" type="text/css" href="/generalUI/fonts/fonts.css">
    <style media="print">
        .noPrint {display:none;}
		@page  
		{ 
			size: auto;   /* auto is the initial value */ 

			/* this affects the margin in the printer settings */ 
			margin: 10mm 0mm 10mm 0mm;  
		} 
    </style>
    <style type="text/css">
Exemplo n.º 2
0
function DeleteSign()
{
    $obj = new CNT_ContractSigns();
    $obj->SignID = $_POST["SignID"];
    $result = $obj->Remove();
    echo Response::createObjectiveResponse($result, ExceptionHandler::GetExceptionsToString());
    die;
}