Skip to content

Commit

Permalink
added: coming soon status option for collections
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgobich committed Jul 14, 2024
1 parent ab6dd70 commit 683d095
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Enums/Status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ enum Status {
IN_PROGRESS = 1,
COMPLETE = 2,
OUTDATED = 3,
ARCHIVED = 4
ARCHIVED = 4,
COMING_SOON = 5
}

export const StatusDesc = {
1: 'In Progress',
2: 'Completed',
3: 'Outdated',
4: 'Archived',
5: 'Coming Soon'
}

export default Status;
export default Status
1 change: 1 addition & 0 deletions resources/views/studio/collections/createOrEdit.edge
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
errors: flashMessages.get('errors.statusId'),
readonly: !isOwner
})
<option value="{{ statuses.COMING_SOON }}">Coming Soon</option>
<option value="{{ statuses.IN_PROGRESS }}">In-Progress</option>
<option value="{{ statuses.COMPLETE }}">Completed</option>
<option value="{{ statuses.ARCHIVED }}">Archived</option>
Expand Down

0 comments on commit 683d095

Please sign in to comment.