File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/apps/wallet-admin/src/home/tabs/payments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
7878 totalPages : 0 ,
7979 } )
8080 const [ editState , setEditState ] = React . useState < {
81- description ?: string ;
8281 grossAmount ?: number ;
82+ description ?: string ;
8383 releaseDate ?: Date ;
8484 paymentStatus ?: string ;
8585 auditNote ?: string ;
@@ -206,8 +206,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
206206 const currentEditState = editStateRef . current
207207 // Send to server only the fields that have changed
208208 const updateObj = {
209- description : currentEditState . description !== undefined ? currentEditState . description : undefined ,
210209 auditNote : currentEditState . auditNote !== undefined ? currentEditState . auditNote : undefined ,
210+ description : currentEditState . description !== undefined ? currentEditState . description : undefined ,
211211 grossAmount : currentEditState . grossAmount !== undefined ? currentEditState . grossAmount : undefined ,
212212 paymentStatus : currentEditState . paymentStatus !== undefined ? currentEditState . paymentStatus : undefined ,
213213 releaseDate : currentEditState . releaseDate !== undefined ? currentEditState . releaseDate : undefined ,
@@ -225,8 +225,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
225225 }
226226
227227 const updates : {
228- description ?: string
229228 auditNote ?: string
229+ description ?: string
230230 paymentStatus ?: 'ON_HOLD_ADMIN' | 'OWED' | 'CANCELLED'
231231 releaseDate ?: string
232232 paymentAmount ?: number
You can’t perform that action at this time.
0 commit comments