2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/server/registerServerMethods.js

15 lines
344 B
JavaScript
Raw Normal View History

2018-10-21 12:49:33 +00:00
const frappe = require('frappejs');
const registerReportMethods = require('../reports');
module.exports = function registerServerMethods() {
registerReportMethods();
frappe.registerMethod({
method: 'import-coa',
async handler() {
2019-12-26 18:07:26 +00:00
const importCOA = require('../accounting/importCOA');
await importCOA();
2018-10-21 12:49:33 +00:00
}
});
};