File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
bundles/ch.framsteg.elexis.labor.teamw/src/ch/framsteg/elexis/labor/teamw/views Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -236,9 +236,13 @@ private void updateControls(ICoverage coverage) {
236
236
}
237
237
238
238
if (coverage .getCostBearer () != null ) {
239
- txtCaseInsuranceEAN .setText (coverage .getCostBearer ()
240
- .getXid (getApplicationProperties ().getProperty (APP_CFG_XID_EAN )).getDomainId ());
239
+ txtCaseInsuranceEAN .setText (
240
+ coverage .getCostBearer ().getXid (getApplicationProperties ().getProperty (APP_CFG_XID_EAN )) != null
241
+ ? coverage .getCostBearer ().getXid (getApplicationProperties ().getProperty (APP_CFG_XID_EAN ))
242
+ .getDomainId ()
243
+ : "" );
241
244
}
245
+
242
246
if (txtCaseInsuranceEAN .getText ().isEmpty ()) {
243
247
txtCaseInsuranceEAN .setBackground (getMarkedBackgroundColor ());
244
248
txtCaseInsuranceEAN .setText (getMessagesProperties ().getProperty (MSG_EMPTY_FIELD ));
You can’t perform that action at this time.
0 commit comments