Skip to content

Commit 3e9e20e

Browse files
unknownunknown
authored andcommitted
#5-08-2024
1 parent 0506c88 commit 3e9e20e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appsTeacher/groups/app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ module.exports = function init(site) {
256256

257257
if (app.allowRouteAll) {
258258
site.post({ name: `/api/${app.name}/all`, require: { permissions: ["login"] } }, (req, res) => {
259+
259260
let setting = site.getSiteSetting(req.host);
260261
let where = req.body.where || {};
261262
let search = req.body.search || "";
@@ -320,12 +321,10 @@ module.exports = function init(site) {
320321
let result = {};
321322
if (_data.type == "validDay") {
322323
let date = site.getDate(_data.date);
323-
console.log(date,_data.date);
324324

325325
let index = doc.dayList.findIndex(
326326
(itm) => site.getDate(itm.date).getDate() === date.getDate() && site.getDate(itm.date).getMonth() === date.getMonth() && site.getDate(itm.date).getFullYear() === date.getFullYear() && !itm.isBook
327327
);
328-
console.log(doc.dayList);
329328

330329
if (index !== -1) {
331330
if (!doc.dayList[index].isBook) {

appsTeacher/groupsAmountsReports/site_files/js/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
app.controller("groupsAmountsReports", function ($scope, $http, $timeout) {
22
$scope.list = [];
33
$scope.search = {dateFrom : site.getDate()};
4+
45
$scope.baseURL = "";
56
$scope.getAll = function (search) {
67
const v = site.validated("#groupsAmountsReportsSearch");

0 commit comments

Comments
 (0)