import { BASE_URL } from 'src/config/erpnext'

export function erpPdfUrl (name) {
  return `${BASE_URL}/api/method/frappe.utils.print_format.download_pdf?doctype=Sales%20Invoice&name=${encodeURIComponent(name)}&format=Facture%20TARGO`
}
