File tree Expand file tree Collapse file tree 5 files changed +18
-15
lines changed Expand file tree Collapse file tree 5 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 44 "private" : true ,
55 "type" : " module" ,
66 "dependencies" : {
7- "@churchapps/apphelper" : " ^0.4.47 " ,
7+ "@churchapps/apphelper" : " ^0.4.49 " ,
88 "@churchapps/apphelper-donations" : " ^0.4.47" ,
99 "@churchapps/apphelper-forms" : " ^0.4.47" ,
1010 "@churchapps/apphelper-login" : " ^0.4.47" ,
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ export const PersonEdit = memo((props: Props) => {
113113 case "nametagNotes" :
114114 p . nametagNotes = value ;
115115 break ;
116+ case "donorNumber" :
117+ p . donorNumber = value ;
118+ break ;
116119 case "anniversary" :
117120 p . anniversary = DateHelper . toDate ( value ) ;
118121 break ;
@@ -314,6 +317,11 @@ export const PersonEdit = memo((props: Props) => {
314317 < TextField inputProps = { { maxLength : 20 } } fullWidth name = "nametagNotes" label = { Locale . label ( "people.personEdit.nameNote" ) } id = "nametagnotes" value = { person . nametagNotes || "" } onChange = { handleChange } />
315318 </ Grid >
316319 </ Grid >
320+ < Grid container spacing = { 3 } >
321+ < Grid size = { { xs : 12 , md : 6 } } >
322+ < TextField fullWidth name = "donorNumber" label = { Locale . label ( "people.personEdit.donorNumber" ) } id = "donorNumber" value = { person . donorNumber || "" } onChange = { handleChange } data-testid = "donor-number-input" aria-label = "Donor number" />
323+ </ Grid >
324+ </ Grid >
317325 </ Grid >
318326 </ Grid >
319327 < Grid container spacing = { 3 } >
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const PairScreen = (props: Props) => {
2929
3030 const handleSave = ( ) => {
3131 if ( validate ( ) ) {
32- ApiHelper . get ( "/devices/pair/" + code , "MessagingApi " ) . then ( ( data ) => {
32+ ApiHelper . get ( "/devices/pair/" + code , "MembershipAPi " ) . then ( ( data ) => {
3333 if ( data . success ) props . updatedFunction ( ) ;
3434 else setErrors ( [ "Invalid pairing code." ] ) ;
3535 } ) ;
Original file line number Diff line number Diff line change 240240 marked "^16.1.2"
241241 material-symbols "^0.33.0"
242242
243- " @churchapps/apphelper@^0.4.47 " :
244- version "0.4.47 "
245- resolved "https://registry.npmjs.org/@churchapps/apphelper/-/apphelper-0.4.47 .tgz"
246- integrity sha512-i1qxhcy/+us3S8Cqfh8goQp+KI+SsUb6TmalMbggImfIk8NCWA66gnu/N7HHKqUIe6XgX7ej9gPqrA4pYqwWfg ==
243+ " @churchapps/apphelper@^0.4.47" , "@churchapps/apphelper@^0.4.49" :
244+ version "0.4.49 "
245+ resolved "https://registry.npmjs.org/@churchapps/apphelper/-/apphelper-0.4.49 .tgz"
246+ integrity sha512-Hq7xh51/G3IrZDlxz/jvU7pm3JJwsz8NAFvZW7tBlAELEwx0NLY7C+OrZAkxb7eaMXxfrBVbIQ6ShIxRwgvGMg ==
247247 dependencies :
248248 " @churchapps/helpers" " ^1.1.6"
249249 " @emotion/cache" " ^11.14.0"
13161316 resolved "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.46.2.tgz"
13171317 integrity sha512-gBgaUDESVzMgWZhcyjfs9QFK16D8K6QZpwAaVNJxYDLHWayOta4ZMjGm/vsAEy3hvlS2GosVFlBlP9/Wb85DqQ==
13181318
1319- " @rollup/rollup-win32-x64-msvc@^4.50.1 " :
1320- version "4.50.1"
1321- resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.1.tgz"
1322- integrity sha512-StxAO/8ts62KZVRAm4JZYq9+NqNsV7RvimNK+YM7ry//zebEH6meuugqW/P5OFUCjyQgui+9fUxT6d5NShvMvA==
1323-
13241319" @rollup/rollup-win32-x64-msvc@4.46.2 " :
13251320 version "4.46.2"
13261321 resolved "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.46.2.tgz"
You can’t perform that action at this time.
0 commit comments