LP1904036 Apply default address type
authorBill Erickson <berickxx@gmail.com>
Thu, 6 May 2021 16:24:50 +0000 (12:24 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:34 +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/edit.component.ts

index 66bfff1..373a6d8 100644 (file)
@@ -761,6 +761,9 @@ export class EditComponent implements OnInit, AfterViewInit {
         patron.mailing_address(addr);
         patron.addresses([addr]);
 
+        this.strings.interpolate('circ.patron.edit.default_addr_type')
+        .then(msg => addr.address_type(msg));
+
         this.patron = patron;
         this.addWaiver();
     }