Skip to content

Commit

Permalink
new contract
Browse files Browse the repository at this point in the history
  • Loading branch information
caldwellc1 committed Apr 26, 2021
1 parent d03ffe8 commit f84574b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion boost/boost.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

$proper_name = 'Internship Inventory';
$version = '1.1.1';
$version = '1.1.2';
$register = false;
$unregister = false;
$import_sql = true;
Expand Down
4 changes: 2 additions & 2 deletions class/DataProvider/Student/WebServiceDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ protected function plugStudentValues(&$student, \stdClass $data){
}

// Check if level exist, if not add it
if(isset($data->studentLevel) && LevelFactory::checkLevelExist($data->studentLevel) && $student->getStudentFlag()){
if(isset($data->studentLevel) && LevelFactory::checkLevelExist($data->studentLevel)){
$student->setLevel($data->studentLevel);
} else if(isset($data->studentLevel) && $student->getStudentFlag()) {
} else if(isset($data->studentLevel)) {
$newLevel = LevelFactory::saveNewCode($data->studentLevel);
$student->setLevel($newLevel);
}
Expand Down
2 changes: 1 addition & 1 deletion class/InternshipContractPdfView.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private function generatePdf()
$f = $this->internship->getFaculty();
//$subject = $this->internship->getSubject();

$this->pdf->setSourceFile(PHPWS_SOURCE_DIR . 'mod/intern/pdf/Acknowledgment_Updated_202110.pdf');
$this->pdf->setSourceFile(PHPWS_SOURCE_DIR . 'mod/intern/pdf/Acknowledgment_Updated_202120.pdf');
$tplidx = $this->pdf->importPage(1);
$this->pdf->addPage();
$this->pdf->useTemplate($tplidx);
Expand Down
1 change: 1 addition & 0 deletions class/Student.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Student {
// Person type flags
private $isStaff;
private $isStudent;
private $phone;

public function __construct() {
$this->majors = array();
Expand Down
Binary file removed pdf/Acknowledgment_Updated_202110.pdf
Binary file not shown.
Binary file added pdf/Acknowledgment_Updated_202120.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions templates/internshipView.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@

<div class="col-lg-8 col-lg-offset-3">
<div class="checkbox">
<label>{REMOTE}&nbsp;{REMOTE_LABEL_TEXT} </label><a href="#partModal" id="internship-remote-help-button" class="pull-right" data-toggle="modal"><i class="fa fa-question-circle"></i> Explanation</a>
<label>{REMOTE}&nbsp;{REMOTE_LABEL_TEXT} </label><a href="#remoteModal" id="internship-remote-help-button" class="pull-right" data-toggle="modal"><i class="fa fa-question-circle"></i> Explanation</a>
</div>
</div>
<!-- BEGIN remote-state -->
Expand All @@ -211,7 +211,7 @@
<!-- END remote-state -->

<!-- Informational Modal -->
<div id ="partModal" class="modal fade" role="dialog">
<div id ="remoteModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class = "modal-content">
<div class = "modal-header">
Expand Down

0 comments on commit f84574b

Please sign in to comment.