Closed hanneskod closed 7 years ago
Adds validation on all input and re-asks questions when validation fails...
One notable change is that AddCommand
now defaults payer number to personal id, if no other payer number is specified. The purpose is to make it easier when you manually add a payer and the payer number is the personal id - you then won't have to type i twice, just hit enter..
The drawback is that if you script adding a donor, and you omit the payer number setting then you will no longer get an error, instead it will default to the personal id.
Are you fine with that @nonbinary?
With this addition this pr will close #49 as well as #56.
Decision time. Merge. Possible to revert default payer number later if needed...
Will fix #56
Close #49. See discussion..