Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
MedShake committed Oct 8, 2019
2 parents 9bba526 + b45dbe1 commit 9d14028
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion class/msModMedgeDataCourrier.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public static function getCourrierDataCompleteModuleModele_modeleCourrierResumeV
$obj->setToID($d['patientID']);
if($liste=$obj->getListObjetsIdFromName('medGeCsVaccination')) {
foreach($liste as $id=>$date) {
$tab = $obj->getObjetAndSons($id, 'name');
$obj2=new msObjet;
$obj2->setObjetID($id);
$tab = $obj2->getObjetAndSons('name');
$date = new DateTime($date);
$rd[]='<li>'.$date->format('d/m/Y').' : <strong>'.$tab['medGeCsDivVaccinationVaccin']['value'].'</strong> (lot : '.$tab['medGeCsDivVaccinationLot']['value'].')</li>';
}
Expand Down
5 changes: 3 additions & 2 deletions class/msModMedgeObjetPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
*
* @author Bertrand Boutillier <[email protected]>
*
*/

class msModMedgeObjetPreview extends msModBaseObjetPreview
Expand All @@ -40,7 +40,8 @@ public function getPreviewMedGeCsVaccination() {
global $p;

$data = new msObjet();
$p['page']['dataVac'] = $data->getObjetAndSons($this->_objetID, 'name');
$data->setObjetID($this->_objetID);
$p['page']['dataVac'] = $data->getObjetAndSons('name');

$html = new msGetHtml;
$html->set_template('inc-ajax-medGeCsVaccination.html.twig');
Expand Down
2 changes: 1 addition & 1 deletion upgrade/medge/sqlInstall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -732,4 +732,4 @@ INSERT IGNORE INTO `forms` (`module`, `internalName`, `name`, `description`, `da

-- system
INSERT IGNORE INTO `system` (`name`, `groupe`, `value`) VALUES
('medge', 'module', 'v1.4.0');
('medge', 'module', 'v1.5.0');
2 changes: 2 additions & 0 deletions upgrade/medge/sqlUpgrade_v1.4.0_v1.5.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- upgrade n° de version
UPDATE `system` SET `value`='v1.5.0' WHERE `name`='medge';
2 changes: 1 addition & 1 deletion versionMedShakeEHR-medge.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.4.0
v1.5.0

0 comments on commit 9d14028

Please sign in to comment.