69 Commits

Author SHA1 Message Date
vchikalkin
f451af545a repo: move elements to packages/ui 2022-12-20 12:01:31 +03:00
vchikalkin
eff67858dc repo: move UIKit to packages/ui 2022-12-20 11:33:18 +03:00
vchikalkin
7b9dbdaeb5 add turborepo
move ./Elements to packages/elements
2022-12-19 19:08:32 +03:00
Chika
f03ba9d979 pages/index: revert getOwnerData back to server 2022-11-08 12:04:37 +03:00
Chika
6f1cfab8f5 process/init: fix get-data fetched multiple times 2022-11-07 22:59:25 +03:00
Chika
222b0b0e74 pages: add CRM graphql connection error
pages: use fetch data hooks (fetch all gql data on client)
mocks: use process.env variables
2022-11-07 17:43:14 +03:00
Chika
85e1115de8 pages: use Elements/Result in error pages 2022-11-07 11:18:14 +03:00
Chika
f6c351d39e pages: create Error Component 2022-11-06 14:00:22 +03:00
Chika
0569d45972 process: add type ReactionsContext 2022-11-03 12:25:32 +03:00
Chika
391f9039f7 merge branch migration/agents 2022-11-02 21:36:48 +03:00
Chika
caaf09fee7 merge branch migrate/dyn-899_finGAP 2022-09-30 14:26:18 +03:00
Chika
3c9154a963 pages: convert _app to jsx 2022-09-17 14:43:35 +03:00
Chika
9545095662 pages/_app: beautify apollo & query clients usages 2022-08-31 16:39:01 +03:00
Chika
7bbde70631 project: rename services -> api
api/user: get domainName from auth service
2022-08-31 16:18:10 +03:00
Chika
8b9c261783 packages: add @tanstack/react-query
stores: remove user store
2022-08-31 12:50:25 +03:00
Chika
183d7f71cb process/init: move inject-reactions from page 2022-07-18 13:37:36 +03:00
Chika
ea3f4bb52e process/init: split requests to files 2022-07-18 13:26:45 +03:00
Chika
698ab9eb96 page/index: separate data requests 2022-07-18 13:03:02 +03:00
Chika
7c0ca4feb3 merge branch release/build-docker 2022-07-17 13:32:42 +03:00
Chika
a24b62739d new process/agents 2022-07-14 12:07:24 +03:00
vchikalkin
df5037d873 process/lead-opportunity:
Если lead содержит данные, то в opportunity подгружается значение из поля Интереса
   * Лизинговая сделка (lead.evo_opportunityid → opportunity),
   * и в списке для выбора только эта ЛС указывается
   * Иначе  ничего не указывается
2022-07-12 17:29:30 +03:00
vchikalkin
a3fe3a5621 pages/index: margin for laptop-hd 2022-07-12 11:03:01 +03:00
Chika
a4fdcc7c62 process: reexport reactions 2022-07-11 17:33:30 +03:00
Chika
351949ff23 beautify prev commit 2022-07-11 16:44:01 +03:00
Chika
c01162eeef insurance-table: fetch data from gql 2022-07-11 16:34:11 +03:00
Chika
b72afae4c7 stores/hydate: pass default data in page 2022-07-11 13:29:03 +03:00
Chika
f485ba9659 pages/index: move GQL queries to process 2022-07-11 12:45:30 +03:00
Chika
6d7dbd42bd pages/index: hydrate store data 2022-07-11 12:21:59 +03:00
Chika
18f4ee5c0c ssr: fix prop did not match 2022-07-09 20:10:16 +03:00
Chika
1df138c51f validation: block btnCalculate if errors 2022-07-09 15:31:51 +03:00
Chika
441f9aadbd validation: show tables errors
payments: generate table on changing leasingPeriod
2022-07-09 15:10:21 +03:00
Chika
8075047103 pages/index: beautify get cookie in getServerSideProps 2022-07-09 14:11:21 +03:00
Chika
8b5b0246ed pages/index: revert to tsx 2022-07-09 14:04:05 +03:00
Chika
bb741b7cb2 pages/index: fetch transaction currencies 2022-07-08 21:23:53 +03:00
Chika
04b87c44e4 graphql: use aliases for options request 2022-07-08 20:55:04 +03:00
Chika
0befd824e6 pages/index: component props types 2022-07-08 10:57:16 +03:00
Chika
0382e8429d pages/index: constant GetOwnerData query 2022-07-07 18:56:16 +03:00
Chika
504ee4a04b process: add lead-url reaction 2022-07-07 17:06:06 +03:00
Chika
3db098b5c7 pages/index: fetch opportunities by domainname 2022-07-07 15:58:52 +03:00
Chika
61d3827614 pages/index: fetch owner-data from graphql 2022-07-07 14:57:22 +03:00
Chika
f3f97d8062 Components: rename Output, Results 2022-06-30 09:48:16 +03:00
Chika
90b5f4d3a3 Components: move Results from Calculation 2022-06-29 18:26:43 +03:00
Chika
2b383695fa Calculation/Insurance: add FinGAP table 2022-06-29 13:30:06 +03:00
Chika
dfcbf2e49e Calculation: refactor store & hydrate data 2022-06-23 16:35:57 +03:00
Chika
f4f66ebca4 project: move Calculation layout to page 2022-06-23 15:51:12 +03:00
Chika
824e10dcba Calculation/InsuranceTable: add statuses 2022-06-23 15:25:38 +03:00
Chika
c6f73b6b8f Calculation: add InsuranceTable 2022-06-22 22:19:12 +03:00
Chika
6264a94df3 html: add app title 2022-06-14 13:01:32 +03:00
Chika
8d1d3fed7c Components: create Calculation Component
add Calculation Component to Home page
2022-06-01 20:49:46 +03:00
Chika
b62e31e6ef eslint: follow unicorn plugin rules in project 2022-05-29 21:24:14 +03:00