Skip to content

Commit 6978e15

Browse files
committed
HTML-870 - Hide date activated section when discontinuing
1 parent e090ba0 commit 6978e15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

omod/src/main/webapp/resources/orderWidget.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@
293293
orderWidget.enableDateWidgets(config, $orderForm, encDate);
294294

295295
if (action === 'DISCONTINUE') {
296+
$orderForm.find('.order-dateActivated').hide();
296297
var $discontinueReasonSelect = $orderForm.find('.order-field-widget.order-discontinueReason').find('select');
297298
if ($discontinueReasonSelect.find('option').length > 1) {
298299
$orderForm.find('.order-discontinueReason').show();

0 commit comments

Comments
 (0)