|
|
@ -1,8 +1,7 @@
|
|
|
|
import React, { useEffect, useState } from 'react'
|
|
|
|
import React, { useEffect, useState } from 'react'
|
|
|
|
import { router } from '@inertiajs/react'
|
|
|
|
import { Link, router } from '@inertiajs/react'
|
|
|
|
import { usePrevious } from 'react-use'
|
|
|
|
import { usePrevious } from 'react-use'
|
|
|
|
import { Head } from '@inertiajs/react'
|
|
|
|
import { Head } from '@inertiajs/react'
|
|
|
|
import { Dropdown } from 'flowbite-react'
|
|
|
|
|
|
|
|
import { HiEye } from 'react-icons/hi2'
|
|
|
|
import { HiEye } from 'react-icons/hi2'
|
|
|
|
|
|
|
|
|
|
|
|
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout'
|
|
|
|
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout'
|
|
|
@ -12,7 +11,6 @@ import SearchInput from '@/Components/SearchInput'
|
|
|
|
export default function Index(props) {
|
|
|
|
export default function Index(props) {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
query: { links, data },
|
|
|
|
query: { links, data },
|
|
|
|
auth,
|
|
|
|
|
|
|
|
} = props
|
|
|
|
} = props
|
|
|
|
|
|
|
|
|
|
|
|
const [search, setSearch] = useState('')
|
|
|
|
const [search, setSearch] = useState('')
|
|
|
@ -131,20 +129,16 @@ export default function Index(props) {
|
|
|
|
{customer.referral_code}
|
|
|
|
{customer.referral_code}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td className="py-4 px-6 flex justify-center">
|
|
|
|
<td className="py-4 px-6 flex justify-center">
|
|
|
|
<div
|
|
|
|
<Link
|
|
|
|
|
|
|
|
href={route(
|
|
|
|
|
|
|
|
'customer-verification.edit',
|
|
|
|
|
|
|
|
customer
|
|
|
|
|
|
|
|
)}
|
|
|
|
className="flex space-x-1 items-center hover:underline"
|
|
|
|
className="flex space-x-1 items-center hover:underline"
|
|
|
|
onClick={() => {
|
|
|
|
|
|
|
|
router.get(
|
|
|
|
|
|
|
|
route(
|
|
|
|
|
|
|
|
'customer-verification.edit',
|
|
|
|
|
|
|
|
customer
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<HiEye />
|
|
|
|
<HiEye />
|
|
|
|
<div>Lihat</div>
|
|
|
|
<div>Lihat</div>
|
|
|
|
</div>
|
|
|
|
</Link>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|