Skip to content

Commit

Permalink
Merge pull request #303 from EyeSeeTea/development
Browse files Browse the repository at this point in the history
Release 1.6.20
  • Loading branch information
ifoche authored Oct 24, 2024
2 parents 7d5bbd9 + cc5bb45 commit 62fc1b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "glass",
"description": "DHIS2 Glass App",
"version": "1.6.19",
"version": "1.6.20",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ export class ImportRISIndividualFungalFile {
const sampleDateStr =
AMRDataStage.find(de => de.dataElement === AMR_GLASS_AMR_DET_SAMPLE_DATE)?.value ??
`01-01-${period}`;
const sampleDate = moment(new Date(sampleDateStr)).toISOString().split("T").at(0) ?? period;
const sampleDate = moment(new Date(sampleDateStr)).toISOString()?.split("T").at(0) ?? period;

const createdAt = moment(new Date()).toISOString().split("T").at(0) ?? period;
const createdAt = moment(new Date()).toISOString()?.split("T").at(0) ?? period;

const events: D2TrackerEvent[] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,6 @@ export class ProgramRuleValidationForBLEventProgram {

const enrollment = event.enrollmentId ? enrollmentsById[event.enrollmentId] : undefined;

console.debug(`Process event: ${event.eventId}`);

const selectedEntity: TrackedEntityAttributeValuesMap | undefined = tei
? _(tei.attributes)
.map(attr => [attr.attribute, attr.value] as [Id, string])
Expand Down Expand Up @@ -506,10 +504,6 @@ export class ProgramRuleValidationForBLEventProgram {
return undefined;
}

console.debug(
_.compact(["Get effects[results]:", `eventId=${event.eventId}`, `ASSIGNs: ${effects.length}`]).join(" ")
);

if (!_.isEmpty(effects)) {
const eventEffect: EventEffect = {
program,
Expand Down
2 changes: 1 addition & 1 deletion src/domain/utils/ModuleProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const moduleProperties = new Map<string, ModuleDetails>([
{
isbatchReq: false,
isQuestionnaireReq: true,
completeStatusChange: "DATASET",
completeStatusChange: "QUESTIONNAIRE",
isSecondaryFileApplicable: false,
isDryRunReq: false,
importLoadingMsg: {
Expand Down

0 comments on commit 62fc1b0

Please sign in to comment.