import React from 'react' import { Head, Link } from '@inertiajs/react' import { HiPencil } from 'react-icons/hi' import { useModalState } from '@/hooks' import { formatIDR, hasPermission } from '@/utils' import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout' import Pagination from '@/Components/Pagination' export default function Info(props) { const { query: { links, data }, auth, } = props const formModal = useModalState() const canUpdate = hasPermission(auth, 'update-customer-level') return (
{/* */}
{data.map((level) => ( ))}
Logo Name
logo alt {level.name} {canUpdate && (
Ubah
)}
) }