nimash3eshan / COMBook

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
2 years ago2 years old
Documentation comment not found for function declaration doAdjustment
257
258
259
260function doAdjustment(id, title, amount, form, type){261    if ((id==null) | (id ===""))return;
262    db.collection(type).doc(id).set({
263        id: id,
Documentation comment not found for function declaration deleteRecord
199        table.tBodies[0].innerHTML = '';
200}
201
202function  deleteRecord(id){203    colRecords.doc(id).delete().then(() => {
204        console.log("Document successfully deleted!");
205        updateRecords();
Documentation comment not found for function declaration addRecord
175    return document.getElementById(id);
176}
177
178function addRecord(id, date, type, status, description, amount){179
180    let table = getElementById("recordTable");
181
Documentation comment not found for function declaration getElementById
171    })
172}
173
174function getElementById(id){175    return document.getElementById(id);
176}
177
Documentation comment not found for function declaration updateRecords
155    });
156});
157
158function updateRecords(){159    clearTable("recordTable");
160    colRecords.get().then((querySnapshot) => {
161        querySnapshot.forEach((doc) => {