2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/server/registerServerMethods.js
18alantom 1a8a23d2a2 build(electron): bump electron to 15.3.0
- refactor Common Js imports to ES6
2021-11-05 14:31:35 +05:30

15 lines
327 B
JavaScript

import frappe from 'frappejs';
import importCharts from '../accounting/importCOA';
import registerReportMethods from '../reports';
export default function registerServerMethods() {
registerReportMethods();
frappe.registerMethod({
method: 'import-coa',
async handler() {
await importCharts();
}
});
};