Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
feat: remove uncessesary new noticication_email field.
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble committed Jun 27, 2024
1 parent 6279b39 commit ff6324e
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions module/Admin/src/Form/Model/Fieldset/LocalAuthorityDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ class LocalAuthorityDetails
public $txcName = null;

/**
* @Form\Attributes({"id":"emailAddress", "readonly":"true", "disabled":"disabled"})
* @Form\Options({
* "label": "Email Address (Ready only)",
* })
* @Form\Required(true)
* @Form\Attributes({"id":"emailAddress","placeholder":"","class":"medium", "required":false})
* @Form\Options({"label":"Email Address"})
* @Form\Type("Text")
* @Form\Filter("Laminas\Filter\StringTrim")
* @Form\Validator("Dvsa\Olcs\Transfer\Validators\EmailAddress")
*/
public $emailAddress = null;

Expand All @@ -45,14 +47,4 @@ class LocalAuthorityDetails
* @Form\Validator("Laminas\Validator\StringLength", options={"max":255})
*/
public $description = null;

/**
* @Form\Required(true)
* @Form\Attributes({"id":"email","placeholder":"","class":"medium", "required":false})
* @Form\Options({"label":"Notification Email"})
* @Form\Type("Text")
* @Form\Filter("Laminas\Filter\StringTrim")
* @Form\Validator("Dvsa\Olcs\Transfer\Validators\EmailAddress")
*/
public $notificationEmail = null;
}

0 comments on commit ff6324e

Please sign in to comment.