import { useMutation } from '@tanstack/react-query';
import fakturApi from '../utils/api';

const useCetakPdfFakturPK = (options?: any) =>
  useMutation({
    mutationFn: async (params: any) => fakturApi.cetakPdfDetail(params),
    ...options,
  });

export default useCetakPdfFakturPK;
