Skip to content

Commit df9314b

Browse files
committed
Make the code ignore the SaveButton.
Fixing the saved date.
1 parent 9b28e6b commit df9314b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ eFormAPI/eFormApi.Integration.Tests/obj/*
100100
eFormAPI/eFormApi.Tests/obj/*
101101
eFormAPI/eFormAPI/content/JasperExporter.jar
102102
eFormAPI/eFormAPI.Common/content/JasperExporter.jar
103+
JasperExporter.jar

eFormAPI/eFormAPI/Infrastructure/Helpers/CaseUpdateHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static List<string> GetFieldValuesByRequestField(CaseEditRequestField edi
8181
DateTime currentDate = (DateTime)dateFirst.Value;
8282
if (currentDate != null)
8383
{
84-
string val = $"{dateFirst.FieldId}|{currentDate:MM-dd-yyyy}";
84+
string val = $"{dateFirst.FieldId}|{currentDate:yyyy-MM-dd}";
8585
list.Add(val);
8686
}
8787
}

eform-client/src/app/modules/cases/components/case-edit-switch/case-edit-switch.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ng-container *ngIf="dataItemList">
22
<ng-container *ngFor="let dataItem of dataItemList; let i = index">
3-
<tr [style.backgroundColor]="getStyleColorFromDataItem(dataItem)" *ngIf="dataItem.fieldType != 'FieldContainer'">
3+
<tr [style.backgroundColor]="getStyleColorFromDataItem(dataItem)" *ngIf="dataItem.fieldType != 'FieldContainer' && dataItem.fieldType != 'SaveButton'">
44
<td>
55
<strong>{{dataItem.label}}</strong>
66
</td>

0 commit comments

Comments
 (0)