fix: Assign branch in categorize bank transaction

This commit is contained in:
Ahmed Bouhuolia
2024-06-09 20:05:15 +02:00
parent 8862810706
commit dc4cdb2a8f
13 changed files with 98 additions and 16 deletions

View File

@@ -0,0 +1,18 @@
// @ts-nocheck
import { FSuggest } from '../Forms';
interface BranchSuggestFieldProps {
items: any[];
}
export function BranchSuggestField({ ...props }: BranchSuggestFieldProps) {
return (
<FSuggest
valueAccessor={'id'}
labelAccessor={'code'}
textAccessor={'name'}
inputProps={{ placeholder: 'Select a branch' }}
{...props}
/>
);
}