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

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

export default useCetakPdfFakturPM;
