Beispiel #1
0
									<div class="controls">
										<input type="number" required="required" class="span2 typeahead" id="typeahead" step="1" min="1" max='3'
											data-provide="typeahead" data-items="4" name="grupo"
											value="<?php 
echo $acompanhamento->getGrupo();
?>
">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="typeahead"><b>Reembolso </b></label>
									<div class="controls">
										<input type="number" required="required" class="span2 typeahead" id="typeahead" step="0.01" min="0"
											data-provide="typeahead" data-items="4" name="reembolso"
											value="<?php 
echo $acompanhamento->getReembolso();
?>
">
									</div>
								</div>
								
								<div class="control-group">
								<label class="control-label" for="typeahead"><b>Remunera&ccedil;&atilde;o </b></label>
								<div class="controls">
									<input type="number" required="required" class="span2 typeahead" id="typeahead" step="0.01" min="0"
										data-provide="typeahead" data-items="4" name="remuneracao"
										value="<?php 
echo $acompanhamento->getRemuneracao();
?>
">
							  </div>
Beispiel #2
0
	font-size: 10px;
	
	}
	 </style>
</head>
<body>
	
	<?php 
if ($acompanhamento->getAno() != null) {
    foreach ($acompanhamento->getAno() as $ano) {
        $resultado = $DAO->Listar($query . " AND ano = '" . $ano . "' AND mes IN (1,2,3,4,5,6) GROUP BY mes ORDER BY ano, mes, grupo ASC");
        if ($acompanhamento->getRemuneracao() != null) {
            $serie1 = new XYDataSet();
            $serie3 = new XYDataSet();
        }
        if ($acompanhamento->getReembolso() != null) {
            $serie2 = new XYDataSet();
            $serie4 = new XYDataSet();
        }
        if ($acompanhamento->getReembolso() == null && $acompanhamento->getRemuneracao() == null) {
            $serie1 = new XYDataSet();
            $serie2 = new XYDataSet();
            $serie3 = new XYDataSet();
            $serie4 = new XYDataSet();
        }
        $ano_grafico = '';
        /*
         * Aqui e aplicado o select por grupo separado.
         */
        foreach ($resultado as $item) {
            $mes = $acompanhamento->nomeMes($item['mes'], 3);