Skip to content

Commit

Permalink
LIMS-1287: Dont allow 'Other' for red/yellow shipments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Williams committed Jan 7, 2025
1 parent 17bfd0b commit de117f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/js/modules/shipment/views/shipmentadd.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,16 @@ define(['marionette', 'views/form',
this.ui.udc.prop('disabled', false)
this.ui.responsive.prop('disabled', false)
this.ui.imaging.prop('disabled', false)
this.ui.other.prop('disabled', false)
} else {
this.ui.udc.prop('disabled', true)
this.ui.udc.prop('checked', false)
this.ui.responsive.prop('disabled', true)
this.ui.responsive.prop('checked', false)
this.ui.imaging.prop('disabled', true)
this.ui.imaging.prop('checked', false)
this.ui.other.prop('disabled', true)
this.ui.other.prop('checked', false)
this.updateDynamicSchedule()
}
},
Expand Down

0 comments on commit de117f1

Please sign in to comment.