LP1904036 Checkout specific due date persists until page/tab chages
authorBill Erickson <berickxx@gmail.com>
Wed, 18 Aug 2021 20:57:53 +0000 (16:57 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:36 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts

index 804adad..8d9ad2c 100644 (file)
@@ -188,13 +188,6 @@ export class CheckoutComponent implements OnInit, AfterViewInit {
     }
 
     resetForm() {
-
-        if (this.dueDateOptions < 2) {
-            // Due date is not configured to persist.
-            this.dueDateOptions = 0;
-            this.dueDate = null;
-        }
-
         this.checkoutBarcode = '';
         this.checkoutNoncat = null;
         this.focusInput();