18 lines
736 B
JavaScript
18 lines
736 B
JavaScript
import "@nextcloud/dialogs/dist/index.css";
|
|
import "../css/mycss.css";
|
|
|
|
import { getAnnualTurnoverPerMonthNoVat, getStatArticleAnnuel, getStatSoinsThanatoAnnuel, getStatSoinsThanatoWeekend } from "./modules/ajaxRequest.mjs";
|
|
import { cur, globalConfiguration } from "./modules/mainFunction.mjs";
|
|
import "./listener/main_listener";
|
|
|
|
window.addEventListener("DOMContentLoaded", function () {
|
|
var currentDate = new Date();
|
|
var currentYear = currentDate.getFullYear();
|
|
var currentMonth = currentDate.getMonth();
|
|
|
|
globalConfiguration();
|
|
getAnnualTurnoverPerMonthNoVat(cur);
|
|
getStatArticleAnnuel(currentYear);
|
|
getStatSoinsThanatoAnnuel(currentYear);
|
|
getStatSoinsThanatoWeekend(currentYear, currentMonth+1);
|
|
}); |