Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1842 → Rev 1843

/branches/v3/impl/src/java/pt/estgp/estgweb/services/courses/CourseReportServices.java
192,6 → 192,7
if(unitSection.getCourseUnitEvaluation() != null)
{
 
uc.setCumprimentoProgramaPercent(unitSection.getCourseUnitEvaluation().getCumprimentoProgramaPercent());
uc.setAlunosInscritos(unitSection.getCourseUnitEvaluation().getNumAlunosInscritos());
 
uc.setAprovados1013(unitSection.getCourseUnitEvaluation().getNumAlunosAprov1013());
/branches/v3/impl/src/java/pt/estgp/estgweb/services/courseunits/courseunitevaluation.fo.xsl
326,6 → 326,10
<fo:table-cell xsl:use-attribute-sets="myBorder" padding="3pt"><fo:block font-family="monospace" wrap-option="wrap" linefeed-treatment="preserve" white-space-collapse="false" white-space-treatment="preserve" > <xsl:value-of select="//qualApreciacaoUC"/> </fo:block> </fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell xsl:use-attribute-sets="myBorder" display-align="center" padding="3pt"><fo:block font-weight="bold"> Percentage de cumprimento do programa da UC </fo:block> </fo:table-cell>
<fo:table-cell xsl:use-attribute-sets="myBorder" padding="3pt"><fo:block font-family="monospace" wrap-option="wrap" linefeed-treatment="preserve" white-space-collapse="false" white-space-treatment="preserve" > <xsl:value-of select="//cumprimentoProgramaPercent"/> </fo:block> </fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell xsl:use-attribute-sets="myBorder" display-align="center" padding="3pt"><fo:block font-weight="bold"> Apreciação do cumprimento do programa da UC (Adequação das metodologias de ensino/aprendizagem utilizadas; competências efetivamente adquiridas e cumprimento dos conteúdos planificados) </fo:block> </fo:table-cell>
<fo:table-cell xsl:use-attribute-sets="myBorder" padding="3pt"><fo:block font-family="monospace" wrap-option="wrap" linefeed-treatment="preserve" white-space-collapse="false" white-space-treatment="preserve" > <xsl:value-of select="//qualApreciacaoCumprimentoPrograma"/> </fo:block> </fo:table-cell>
</fo:table-row>
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/CourseUnitEvaluationImpl.java
41,6 → 41,8
}
public CourseUnitEvaluationImpl()
{
//by default
setCumprimentoProgramaPercent(100);
}
 
 
156,6 → 158,9
Element qualApreciacaoCumprimentoPrograma = elemCourseUnitEvaluationImpl.addElement("qualApreciacaoCumprimentoPrograma");
qualApreciacaoCumprimentoPrograma.setText(getQualApreciacaoCumprimentoPrograma()+"");
 
Element cumprimentoProgramaPercent = elemCourseUnitEvaluationImpl.addElement("cumprimentoProgramaPercent");
cumprimentoProgramaPercent.setText(getCumprimentoProgramaPercent()+"%");
 
Element qualConclusoes = elemCourseUnitEvaluationImpl.addElement("qualConclusoes");
qualConclusoes.setText(getQualConclusoes()+"");
 
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/views/CourseUnitEvaluationView.java
51,6 → 51,7
 
public void persistViewInObjectTeacher(CourseUnitEvaluation c)
{
c.setCumprimentoProgramaPercent(courseUnitEvaluation.getCumprimentoProgramaPercent());
c.setNumAlunosAprov1013(courseUnitEvaluation.getNumAlunosAprov1013());
c.setNumAlunosAprov1416(courseUnitEvaluation.getNumAlunosAprov1416());
c.setNumAlunosAprov1720(courseUnitEvaluation.getNumAlunosAprov1720());
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/CourseUnit.hbm.xml
368,7 → 368,7
<property name="numAlunosInscritos" type="int"/>
<property name="numAlunosSemElementosAvaliacao" type="int"/>
 
<property name="numAlunosAprovFrequencia" type="int"/>
<property name="numAlunosAprovFrequencia" type="int" />
<property name="numAlunosAprovNormal" type="int"/>
<property name="numAlunosAprovRecurso" type="int"/>
<property name="numAlunosAprovEspecial" type="int"/>
386,6 → 386,9
 
<property name="qualApreciacaoQuantitivos" type="text"/>
<property name="qualApreciacaoUC" type="text"/>
<property name="cumprimentoProgramaPercent" type="int">
<column name="cumprimentoProgramaPercent" default="100"/>
</property>
<property name="qualApreciacaoCumprimentoPrograma" type="text"/>
<property name="qualConclusoes" type="text"/>
 
/branches/v3/impl/src/web/user/courseunits/courseunitEvaluation.jsp
656,7 → 656,31
<html:textarea styleClass="form-control" style="width:100%;height: 200px" property="courseUnitEvaluationView.courseUnitEvaluation.qualApreciacaoUC"/>
</td>
</tr>
 
<tr>
<th>Percentagem de cumprimento do programa da UC<br/></th>
<td width="80%">
<html:select style="width: 100px;padding: 10px" styleClass="form-control chosenOff" property="courseUnitEvaluationView.courseUnitEvaluation.cumprimentoProgramaPercent">
<html:option value="100">100%</html:option>
<html:option value="95">95%</html:option>
<html:option value="90">90%</html:option>
<html:option value="85">85%</html:option>
<html:option value="80">80%</html:option>
<html:option value="75">75%</html:option>
<html:option value="70">70%</html:option>
<html:option value="60">65%</html:option>
<html:option value="60">60%</html:option>
<html:option value="50">50%</html:option>
<html:option value="40">40%</html:option>
<html:option value="30">30%</html:option>
<html:option value="20">20%</html:option>
<html:option value="10">10%</html:option>
<html:option value="0">0%</html:option>
</html:select>
</td>
</tr>
 
<tr>
<th>Apreciação do cumprimento do programa da UC<br/>
(Adequação das metodologias de ensino/aprendizagem utilizadas; competências efetivamente adquiridas e cumprimento dos conteúdos planificados)
</th>