Skip to content

Commit

Permalink
feat: add search status (#52)
Browse files Browse the repository at this point in the history
* feat: add search status

* bump: version
  • Loading branch information
shivanshuit914 authored Dec 1, 2022
1 parent a4aabfd commit 070746f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/search-validation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const appRefRegEx = /^AHWR-[\da-f]{4}-[\da-f]{4}$/i
const validStatus = ['agreed', 'applied', 'withdrawn', 'data inputted', 'claimed', 'check', 'accepted', 'rejected', 'paid', 'not agreed']
const validStatus = ['agreed', 'applied', 'withdrawn', 'data inputted', 'claimed', 'in check', 'accepted', 'rejected', 'paid', 'not agreed', 'ready to pay']
const sbiRegEx = /^[\0-9]{9}$/i

module.exports = (searchText) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffc-ahwr-backoffice",
"version": "1.14.4",
"version": "1.14.5",
"description": "Back office of the health and welfare of your livestock",
"homepage": "https://github.com/DEFRA/ffc-ahwr-backoffice",
"main": "app/index.js",
Expand Down

0 comments on commit 070746f

Please sign in to comment.