Skip to content

Commit 9f3c836

Browse files
committed
feat: change term
1 parent 95c6131 commit 9f3c836

File tree

11 files changed

+13
-11
lines changed

11 files changed

+13
-11
lines changed

backend/src/app/partner/partner.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ export class PartnerService {
146146

147147
let currentRequests = await currentRequestsResponse.json();
148148

149+
console.log(currentRequests);
150+
149151
for (let request of currentRequests.results) {
150152
j += 1;
151153
this.logger.log(`${j}/${count.requestsCount} request`);

frontend/src/features/analytics/pages/AnalyticPage/AnalyticPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function AnalyticPage() {
4444
const analytic = useAnalytic();
4545

4646
const [year, setYear] = useState(2024);
47-
const [term, setTerm] = useState(1);
47+
const [term, setTerm] = useState(2);
4848
const [selectedPrograms, setPrograms] = useState([]);
4949
const [debSelectedPrograms, setDebPrograms] = useDebouncedState([], 2000);
5050

frontend/src/features/partners/components/PassportParseModal/PassportParseModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function PassportParseModal(props) {
1414
const [isLoading, setIsLoading] = useState(false);
1515
const [token, setToken] = useState(localStorage.getItem("PP-analyze-bearer") || "")
1616
const [year, setYear] = useState(2024)
17-
const [term, setTerm] = useState(1)
17+
const [term, setTerm] = useState(2)
1818
const [percent, setPercent] = useState(0)
1919

2020
const periods = usePeriods()

frontend/src/features/partners/components/RequestParseModal/RequestParseModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function RequestParseModal(props) {
1414
const [isLoading, setIsLoading] = useState(false);
1515
const [token, setToken] = useState(localStorage.getItem("PP-analyze-bearer") || "")
1616
const [year, setYear] = useState(2024)
17-
const [term, setTerm] = useState(1)
17+
const [term, setTerm] = useState(2)
1818
const [percent, setPercent] = useState(0)
1919

2020
const periods = usePeriods()

frontend/src/features/partners/pages/PartnersCusomerCompaniesPage/PartnersCustomerCompaniesPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function PartnersCustomerCompaniesPage() {
6464
)
6565

6666
const [year, setYear] = useState(2024)
67-
const [term, setTerm] = useState(1)
67+
const [term, setTerm] = useState(2)
6868
const periods = usePeriods()
6969

7070
const handleChangeYear = (value) => {

frontend/src/features/partners/pages/PartnersCusomerUsersPage/PartnersCustomerUsersPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function PartnersCustomerUsersPage() {
5757
)
5858

5959
const [year, setYear] = useState(2024)
60-
const [term, setTerm] = useState(1)
60+
const [term, setTerm] = useState(2)
6161

6262
const periods = usePeriods()
6363

frontend/src/features/partners/pages/PartnersPassportsPage/PartnersPassportsPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function PartnersPassportsPage() {
112112
);
113113

114114
const [year, setYear] = useState(2024);
115-
const [term, setTerm] = useState(1);
115+
const [term, setTerm] = useState(2);
116116
const [selectedPrograms, setPrograms] = useState([]);
117117
const [debSelectedPrograms, setDebPrograms] = useDebouncedState([], 2000);
118118

frontend/src/features/partners/pages/PartnersRequestsPage/PartnersRequestsPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function PartnersRequestsPage() {
100100
);
101101

102102
const [year, setYear] = useState(2024);
103-
const [term, setTerm] = useState(1);
103+
const [term, setTerm] = useState(2);
104104
const [selectedPrograms, setPrograms] = useState([]);
105105
const [debSelectedPrograms, setDebPrograms] = useDebouncedState([], 2000);
106106

frontend/src/features/teamproject/components/ParseModal/ParseModal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export default function ParseModal(props) {
1515
const dispatch = useDispatch();
1616
const [isLoading, setIsLoading] = useState(false);
1717
const [token, setToken] = useState(localStorage.getItem("PP-analyze-bearer") || "")
18-
const [year, setYear] = useState(2023)
19-
const [term, setTerm] = useState(1)
18+
const [year, setYear] = useState(2024)
19+
const [term, setTerm] = useState(2)
2020
const [percent, setPercent] = useState(0)
2121

2222
const periods = usePeriods()

frontend/src/features/teamproject/pages/TeamprojectProjectsPage/TeamprojectProjectsPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function TeamprojectProjectsPage() {
6868
const [isParseModalOpen, setIsParseModalOpen] = useState(false);
6969

7070
const [year, setYear] = useState(2024);
71-
const [term, setTerm] = useState(1);
71+
const [term, setTerm] = useState(2);
7272
const [selectedPrograms, setPrograms] = useState([]);
7373
const [debSelectedPrograms, setDebPrograms] = useDebouncedState([], 2000);
7474

0 commit comments

Comments
 (0)