Skip to content

Commit

Permalink
Drop comments that bring no value
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Sep 9, 2024
1 parent 0e1dff9 commit 18b7200
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion htdocs/general/screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export function setCurrentTabElement(element) {
currentTabElement = element;
}

// changeTab
function changeTab(newElement, sign) {
stillMoving = true;

Expand Down
10 changes: 0 additions & 10 deletions htdocs/general/server-requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export function ServerInitialize() {
}

export const Requests = {
// login
login: function (pwd) {
//console.log("LOGIN");

Expand Down Expand Up @@ -291,7 +290,6 @@ export const Requests = {
});
},

// getBookablesList
getBookablesList: function (elem = $('inputTabCahierEquipmentElementsInputSearch')) {
let order;
if (
Expand Down Expand Up @@ -560,7 +558,6 @@ export const Requests = {
});
},

// getBookableByCode
getBookableByCode: function (elem, nbr = 0) {
let t = true;

Expand Down Expand Up @@ -637,7 +634,6 @@ export const Requests = {
}
},

// getBookableInfos
getBookableInfos: function (nbr, bookableId, elem) {
const filter = {
filter: {
Expand Down Expand Up @@ -1150,7 +1146,6 @@ export const Requests = {
});
},

// getBookingsNbrBetween
getBookingsNbrBetween: function (start, end, bookableId = '%', elem = document.body, writeIfOne = true) {
const filter = {
filter: {
Expand Down Expand Up @@ -1286,7 +1281,6 @@ export const Requests = {
});
},

// getStats
getStats: function (start, end, elem) {
const f = {
filter: {
Expand Down Expand Up @@ -1361,7 +1355,6 @@ export const Requests = {
});
},

// getBookingWithBookablesInfos
getBookingWithBookablesInfos: function (_booking, which, elem) {
const filter = {
filter: {
Expand Down Expand Up @@ -1410,7 +1403,6 @@ export const Requests = {
}
},

// terminateCreateAndUpdateBookings
terminateCreateAndUpdateBookings: function (
idsToFinish = [],
commentsToFinish = [],
Expand Down Expand Up @@ -1445,7 +1437,6 @@ export const Requests = {
}
},

// createAndUpdateBookings
createAndUpdateBookings: function (inputsToCreate = [], idsToUpdate = [], inputsToUpdate = []) {
// filter the input to only keep the allowed fields, append the id to it, and the actual startDate
const extendInput = function (id, input) {
Expand Down Expand Up @@ -1493,7 +1484,6 @@ export const Requests = {
}
},

// getServerInputsForBookingCreating
getServerInputsForBookingCreating: function (booking = Cahier.bookings[0], startDate = null) {
const bookingInputs = [];
for (let i = 0; i < booking.bookables.length; i++) {
Expand Down

0 comments on commit 18b7200

Please sign in to comment.