time tracking

This commit is contained in:
2024-08-03 05:38:46 +03:00
parent 2ae47287a2
commit 8736fe475b
6 changed files with 1 additions and 10 deletions

View File

@@ -61,14 +61,11 @@ const useWorkTableColumns = ({month, onUpdate, data}: Props) => {
{
header: "Всего часов",
Cell: ({row}) => {
const v = Object.entries(row.original).reduce((acc, [key, value]) => {
return Object.entries(row.original).reduce((acc, [key, value]) => {
if (isNaN(parseInt(key)) || !isNumber(value)) return acc;
console.log("dobro")
acc += value;
return acc;
}, 0);
console.log(`V: ${v}`)
return v;
},
},
{

View File

@@ -38,7 +38,6 @@ const AddDealProductModal = ({
services: validateServices
}
});
console.log(form.values);
const onClose = () => {
context.closeContextModal(id);

View File

@@ -33,7 +33,6 @@ const ProductServiceFormModal = ({
const onClose = () => {
context.closeContextModal(id);
}
console.log(innerProps)
return (
<BaseFormModal
{...innerProps}