Add utils and tests for calculating membership status

This commit is contained in:
2020-01-19 03:00:05 +00:00
parent f9c21b7001
commit 0fe999ca97
5 changed files with 442 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ export function LoginForm(props) {
return (
<Form onSubmit={handleSubmit}>
<Header size='medium'>Login to Spaceport</Header>
<Header size='medium'>Log In to Spaceport</Header>
<Form.Input
label='Username'
name='username'
@@ -45,7 +45,7 @@ export function LoginForm(props) {
error={error.password}
/>
<Form.Button loading={loading} error={error.non_field_errors}>
Login
Log In
</Form.Button>
</Form>
);

View File

@@ -32,7 +32,7 @@ export function TransactionEditor(props) {
];
const sourceOptions = [
{ key: '0', text: 'Web', value: 'Web' },
{ key: '0', text: 'Web (Spaceport)', value: 'Web' },
{ key: '1', text: 'Database Edit', value: 'DB Edit' },
{ key: '2', text: 'System', value: 'System' },
{ key: '3', text: 'Receipt or Statement', value: 'Receipt or Stmt' },