Línea 1... |
Línea 1... |
1 |
import React, { useState } from 'react'
|
1 |
import React, { useState } from 'react'
|
2 |
import axios from "axios"
|
2 |
import axios from "axios"
|
3 |
import DeleteModal from '../../settings/company-sizes/view/DeleteModal';
|
3 |
import DeleteModal from '../../settings/company-sizes/view/DeleteModal';
|
4 |
import TableFilters from "../components/TableFilters"
|
4 |
import TableFilters from "../components/TableFilters"
|
Línea 5... |
Línea 5... |
5 |
|
5 |
|
Línea 6... |
Línea 6... |
6 |
const JobsTableView = ({ allowAdd, allowEdit, allowDelete, link_table, link_add }) => {
|
6 |
const JobsTableView = ({ allowAdd, allowEdit, allowDelete, link_add, link_table }) => {
|
7 |
|
7 |
|
8 |
const [companyData, setCompanyData] = useState({});
|
8 |
const [companyData, setCompanyData] = useState({});
|
9 |
const [showModal, setShowModal] = useState(false);
|
9 |
const [showModal, setShowModal] = useState(false);
|
- |
|
10 |
const [showDeleteModal, setShowDeleteModal] = useState(false);
|
10 |
const [showDeleteModal, setShowDeleteModal] = useState(false);
|
11 |
const [actionLink, setActionLink] = useState(link_add);
|
11 |
const [actionLink, setActionLink] = useState(link_add);
|
12 |
|
12 |
const headers = [
|
13 |
const headers = [
|
13 |
{ key: "last_date_of_application", label: "Último día de aplicación", isSorteable: true },
|
14 |
{ key: "last_date_of_application", label: "Último día de aplicación", isSorteable: true },
|
14 |
{ key: "title", label: "Título", isSorteable: true },
|
15 |
{ key: "title", label: "Título", isSorteable: true },
|