finish bills , po , jobcards relational fields creation
This commit is contained in:
@@ -6,7 +6,7 @@ import { useQuery } from "@tanstack/react-query"
|
||||
import { RefreshCw } from "lucide-react"
|
||||
|
||||
import { useAuthApi } from "@/shared/useApi"
|
||||
import { AUTO_GENERATE_ROUTES } from "@garage/api"
|
||||
import { AUTO_GENERATE_ROUTES, Tables } from "@garage/api"
|
||||
import { FieldShell } from "../field-shell"
|
||||
import { Input } from "@/shared/components/ui/input"
|
||||
import { Button } from "@/shared/components/ui/button"
|
||||
@@ -21,7 +21,7 @@ type RhfAutoGenerateFieldProps<
|
||||
required?: boolean
|
||||
disabled?: boolean
|
||||
placeholder?: string
|
||||
table: string
|
||||
table: Tables
|
||||
/** When true, fetches the next code immediately on mount */
|
||||
autoFetch?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user