From 3b691596cc16a9b034a67bd4f22ae8033cd77e13 Mon Sep 17 00:00:00 2001 From: aweso Date: Thu, 15 Jan 2026 17:09:54 +0900 Subject: [PATCH] =?UTF-8?q?Looka=20vs=20Brandmark=20=EB=B9=84=EA=B5=90=20?= =?UTF-8?q?=EB=A7=88=ED=81=AC=EB=8B=A4=EC=9A=B4=20=EB=AC=B8=EC=84=9C?= =?UTF-8?q?=EB=A5=BC=20=EC=84=B8=EB=A0=A8=EB=90=9C=20=EB=94=94=EC=9E=90?= =?UTF-8?q?=EC=9D=B8=EC=9D=98=20PHP=20=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C?= =?UTF-8?q?=20=ED=8E=98=EC=9D=B4=EC=A7=80=EB=A1=9C=20=EB=B3=80=ED=99=98=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .cursorrules | 4 + {eaccount => barobill/eaccount}/README.md | 0 .../eaccount}/api/account_status.php | 4 +- .../eaccount}/api/accounts.php | 0 .../eaccount}/api/barobill_account_config.php | 4 +- .../eaccount}/api/barobill_card_config.php | 4 +- {eaccount => barobill/eaccount}/api/cards.php | 0 .../eaccount}/api/check_api_config.php | 0 .../eaccount}/api/debug_accounts.php | 4 +- .../eaccount}/api/get_tenants.php | 4 +- .../eaccount}/api/set_tenant.php | 4 +- .../eaccount}/api/transactions.php | 0 {eaccount => barobill/eaccount}/api/usage.php | 4 +- {eaccount => barobill/eaccount}/index.php | 206 +++++---- {ecard => barobill/ecard}/README.md | 0 .../ecard}/api/barobill_card_config.php | 0 {ecard => barobill/ecard}/api/cards.php | 0 {ecard => barobill/ecard}/api/debug_raw.php | 0 {ecard => barobill/ecard}/api/usage.php | 0 {ecard => barobill/ecard}/index.php | 257 +++++++---- {ecard => barobill/ecard}/์นด๋“œ์‚ฌ์šฉ๋‚ด์—ญ์กฐํšŒ.md | 0 {etax => barobill/etax}/README_DB.md | 0 {etax => barobill/etax}/api/API_URL_GUIDE.md | 0 {etax => barobill/etax}/api/README.md | 0 .../etax}/api/barobill_config.php | 4 +- {etax => barobill/etax}/api/debug_test.php | 12 +- {etax => barobill/etax}/api/delete.php | 0 {etax => barobill/etax}/api/deleted_ids.json | 0 {etax => barobill/etax}/api/invoices.php | 0 .../etax}/api/invoices_data.json | 28 ++ {etax => barobill/etax}/api/issue.php | 0 {etax => barobill/etax}/api/status.php | 0 {etax => barobill/etax}/barobill_api_info.php | 45 +- {etax => barobill/etax}/dev.md | 0 {etax => barobill/etax}/index.php | 157 ++++--- barobill/index.php | 430 ++++++++++++++++-- .../registration}/api.php | 6 +- .../registration}/index.php | 103 +++-- .../registration}/init_db.php | 6 +- {tenant => barobill/tenant}/api.php | 2 +- {tenant => barobill/tenant}/index.php | 96 ++-- company/index.php | 148 ++++++ company/looka/index.php | 266 +++++++++++ company/loudsourcing/index.php | 426 +++++++++++++++++ index.php | 37 +- lib/meta_common.php | 33 ++ price/index.php | 55 +-- salesmanagement/index.php | 34 +- 48 files changed, 1899 insertions(+), 484 deletions(-) rename {eaccount => barobill/eaccount}/README.md (100%) rename {eaccount => barobill/eaccount}/api/account_status.php (99%) rename {eaccount => barobill/eaccount}/api/accounts.php (100%) rename {eaccount => barobill/eaccount}/api/barobill_account_config.php (99%) rename {eaccount => barobill/eaccount}/api/barobill_card_config.php (99%) rename {eaccount => barobill/eaccount}/api/cards.php (100%) rename {eaccount => barobill/eaccount}/api/check_api_config.php (100%) rename {eaccount => barobill/eaccount}/api/debug_accounts.php (99%) rename {eaccount => barobill/eaccount}/api/get_tenants.php (97%) rename {eaccount => barobill/eaccount}/api/set_tenant.php (93%) rename {eaccount => barobill/eaccount}/api/transactions.php (100%) rename {eaccount => barobill/eaccount}/api/usage.php (99%) rename {eaccount => barobill/eaccount}/index.php (92%) rename {ecard => barobill/ecard}/README.md (100%) rename {ecard => barobill/ecard}/api/barobill_card_config.php (100%) rename {ecard => barobill/ecard}/api/cards.php (100%) rename {ecard => barobill/ecard}/api/debug_raw.php (100%) rename {ecard => barobill/ecard}/api/usage.php (100%) rename {ecard => barobill/ecard}/index.php (86%) rename {ecard => barobill/ecard}/์นด๋“œ์‚ฌ์šฉ๋‚ด์—ญ์กฐํšŒ.md (100%) rename {etax => barobill/etax}/README_DB.md (100%) rename {etax => barobill/etax}/api/API_URL_GUIDE.md (100%) rename {etax => barobill/etax}/api/README.md (100%) rename {etax => barobill/etax}/api/barobill_config.php (99%) rename {etax => barobill/etax}/api/debug_test.php (69%) rename {etax => barobill/etax}/api/delete.php (100%) rename {etax => barobill/etax}/api/deleted_ids.json (100%) rename {etax => barobill/etax}/api/invoices.php (100%) rename {etax => barobill/etax}/api/invoices_data.json (91%) rename {etax => barobill/etax}/api/issue.php (100%) rename {etax => barobill/etax}/api/status.php (100%) rename {etax => barobill/etax}/barobill_api_info.php (91%) rename {etax => barobill/etax}/dev.md (100%) rename {etax => barobill/etax}/index.php (88%) rename {barobill_registration => barobill/registration}/api.php (95%) rename {barobill_registration => barobill/registration}/index.php (82%) rename {barobill_registration => barobill/registration}/init_db.php (84%) rename {tenant => barobill/tenant}/api.php (99%) rename {tenant => barobill/tenant}/index.php (84%) create mode 100644 company/index.php create mode 100644 company/looka/index.php create mode 100644 company/loudsourcing/index.php create mode 100644 lib/meta_common.php diff --git a/.cursorrules b/.cursorrules index 8bddb0a..6d26690 100644 --- a/.cursorrules +++ b/.cursorrules @@ -35,3 +35,7 @@ g "์ž‘์—… ์š”์•ฝ ๋‚ด์šฉ" - ๋‹จ์ง€ ์ œ์•ˆ๋งŒ ํ•˜์„ธ์š” - ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€๋Š” ์ž‘์—… ๋‚ด์šฉ์„ ์ •ํ™•ํžˆ ๋ฐ˜์˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค +## ๋ฌธ์„œ ์ž‘์„ฑ ๊ทœ์น™ +1. **ํ•œ๊ตญ์–ด ์‚ฌ์šฉ**: `.md` (Markdown) ํŒŒ์ผ์„ ์ž‘์„ฑํ•  ๋•Œ๋Š” ํ•ญ์ƒ ํ•œ๊ตญ์–ด๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”. +2. **๋ช…ํ™•ํ•œ ๊ตฌ์กฐ**: ๋ฌธ์„œ์˜ ๊ฐ€๋…์„ฑ์„ ์œ„ํ•ด ํ—ค๋”, ๋ชฉ๋ก, ์ฝ”๋“œ ๋ธ”๋ก ๋“ฑ์„ ์ ์ ˆํžˆ ์‚ฌ์šฉํ•˜์—ฌ ๊ตฌ์กฐํ™”ํ•˜์„ธ์š”. + diff --git a/eaccount/README.md b/barobill/eaccount/README.md similarity index 100% rename from eaccount/README.md rename to barobill/eaccount/README.md diff --git a/eaccount/api/account_status.php b/barobill/eaccount/api/account_status.php similarity index 99% rename from eaccount/api/account_status.php rename to barobill/eaccount/api/account_status.php index 79fa3d6..3f49013 100644 --- a/eaccount/api/account_status.php +++ b/barobill/eaccount/api/account_status.php @@ -5,8 +5,8 @@ */ header('Content-Type: application/json; charset=utf-8'); -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); require_once('barobill_account_config.php'); require_once(getenv('DOCUMENT_ROOT') . '/session.php'); diff --git a/eaccount/api/accounts.php b/barobill/eaccount/api/accounts.php similarity index 100% rename from eaccount/api/accounts.php rename to barobill/eaccount/api/accounts.php diff --git a/eaccount/api/barobill_account_config.php b/barobill/eaccount/api/barobill_account_config.php similarity index 99% rename from eaccount/api/barobill_account_config.php rename to barobill/eaccount/api/barobill_account_config.php index a1053c7..9613946 100644 --- a/eaccount/api/barobill_account_config.php +++ b/barobill/eaccount/api/barobill_account_config.php @@ -15,8 +15,8 @@ // ์ธ์ฆ์„œ ํ‚ค(CERTKEY) ํŒŒ์ผ ๊ฒฝ๋กœ // load .env file -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); // ์ธ์ฆ์„œ ํ‚ค(CERTKEY) ํŒŒ์ผ ๊ฒฝ๋กœ $documentRoot = getenv('DOCUMENT_ROOT'); diff --git a/eaccount/api/barobill_card_config.php b/barobill/eaccount/api/barobill_card_config.php similarity index 99% rename from eaccount/api/barobill_card_config.php rename to barobill/eaccount/api/barobill_card_config.php index f6801bc..8aeae46 100644 --- a/eaccount/api/barobill_card_config.php +++ b/barobill/eaccount/api/barobill_card_config.php @@ -15,8 +15,8 @@ // ์ธ์ฆ์„œ ํ‚ค(CERTKEY) ํŒŒ์ผ ๊ฒฝ๋กœ // load .env file -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); // ์ธ์ฆ์„œ ํ‚ค(CERTKEY) ํŒŒ์ผ ๊ฒฝ๋กœ $documentRoot = getenv('DOCUMENT_ROOT'); diff --git a/eaccount/api/cards.php b/barobill/eaccount/api/cards.php similarity index 100% rename from eaccount/api/cards.php rename to barobill/eaccount/api/cards.php diff --git a/eaccount/api/check_api_config.php b/barobill/eaccount/api/check_api_config.php similarity index 100% rename from eaccount/api/check_api_config.php rename to barobill/eaccount/api/check_api_config.php diff --git a/eaccount/api/debug_accounts.php b/barobill/eaccount/api/debug_accounts.php similarity index 99% rename from eaccount/api/debug_accounts.php rename to barobill/eaccount/api/debug_accounts.php index 54719b0..5d564ec 100644 --- a/eaccount/api/debug_accounts.php +++ b/barobill/eaccount/api/debug_accounts.php @@ -5,8 +5,8 @@ */ header('Content-Type: application/json; charset=utf-8'); -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); require_once('barobill_account_config.php'); require_once(getenv('DOCUMENT_ROOT') . '/session.php'); diff --git a/eaccount/api/get_tenants.php b/barobill/eaccount/api/get_tenants.php similarity index 97% rename from eaccount/api/get_tenants.php rename to barobill/eaccount/api/get_tenants.php index 1123c0f..5d2f199 100644 --- a/eaccount/api/get_tenants.php +++ b/barobill/eaccount/api/get_tenants.php @@ -5,8 +5,8 @@ */ header('Content-Type: application/json; charset=utf-8'); -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); require_once(getenv('DOCUMENT_ROOT') . '/session.php'); require_once(getenv('DOCUMENT_ROOT') . '/lib/mydb.php'); diff --git a/eaccount/api/set_tenant.php b/barobill/eaccount/api/set_tenant.php similarity index 93% rename from eaccount/api/set_tenant.php rename to barobill/eaccount/api/set_tenant.php index 2fb49e5..c4a286b 100644 --- a/eaccount/api/set_tenant.php +++ b/barobill/eaccount/api/set_tenant.php @@ -5,8 +5,8 @@ */ header('Content-Type: application/json; charset=utf-8'); -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); require_once(getenv('DOCUMENT_ROOT') . '/session.php'); require_once(getenv('DOCUMENT_ROOT') . '/lib/mydb.php'); diff --git a/eaccount/api/transactions.php b/barobill/eaccount/api/transactions.php similarity index 100% rename from eaccount/api/transactions.php rename to barobill/eaccount/api/transactions.php diff --git a/eaccount/api/usage.php b/barobill/eaccount/api/usage.php similarity index 99% rename from eaccount/api/usage.php rename to barobill/eaccount/api/usage.php index 17648bc..17d6614 100644 --- a/eaccount/api/usage.php +++ b/barobill/eaccount/api/usage.php @@ -16,8 +16,8 @@ header('Content-Type: application/json; charset=utf-8'); // load .env -require_once __DIR__ . '/../../lib/DotEnv.php'; -(new DotEnv(__DIR__ . '/../../.env'))->load(); +require_once __DIR__ . '/../../../lib/DotEnv.php'; +(new DotEnv(__DIR__ . '/../../../.env'))->load(); require_once('barobill_card_config.php'); diff --git a/eaccount/index.php b/barobill/eaccount/index.php similarity index 92% rename from eaccount/index.php rename to barobill/eaccount/index.php index 218fde4..90eb288 100644 --- a/eaccount/index.php +++ b/barobill/eaccount/index.php @@ -70,31 +70,47 @@ ), - arrowUp: () => ( - - - - - ), - arrowDown: () => ( - - - - - ), - search: () => ( + building: () => ( - - + + + + + + + + + + + ), - fileText: () => ( + creditCard: () => ( - - - - - + + + + ), + receipt: () => ( + + + + + + + ), + users: () => ( + + + + + + + ), + bookOpen: () => ( + + + ), home: () => ( @@ -103,26 +119,10 @@ ), - chevronsLeft: () => ( + search: () => ( - - - - ), - chevronLeft: () => ( - - - - ), - chevronRight: () => ( - - - - ), - chevronsRight: () => ( - - - + + ), download: ({ className }) => ( @@ -139,18 +139,16 @@ ), - receipt: ({ className }) => ( - - - - - + arrowUp: () => ( + + + ), - creditCard: ({ className }) => ( - - - + arrowDown: () => ( + + + ), x: ({ className }) => ( @@ -158,27 +156,40 @@ + ), + fileText: () => ( + + + + + + + ) }; // Header Component - const Header = ({ activeTab, onTabChange, tenants, currentTenantId, onTenantChange }) => ( -
+ const Header = ({ activeTab, onTabChange, tenants, currentTenantId, onTenantChange, onOpenApiInfo }) => ( +
-
-
-
- ๐Ÿฆ +
+
+
+ +
+
+

๊ณ„์ขŒ ์ž…์ถœ๊ธˆ๋‚ด์—ญ

+

Bank Transaction History

-

๊ณ„์ขŒ ์ž…์ถœ๊ธˆ๋‚ด์—ญ

-
+ +
{/* ํ…Œ๋„ŒํŠธ ์„ ํƒ ๋“œ๋กญ๋‹ค์šด */} {tenants.length > 0 && ( )} - - - ๊ณ„์ขŒ์กฐํšŒ - - - ์นด๋“œ๋‚ด์—ญ - - - ํ…Œ๋„ŒํŠธ๊ด€๋ฆฌ - - - ํšŒ์›๊ด€๋ฆฌ - - - API์ •๋ณด - -
+
+ + ๊ณ„์ขŒ์กฐํšŒ + + + ์นด๋“œ๋‚ด์—ญ + + + ํ…Œ๋„ŒํŠธ + + + ๋ฐ”๋กœ๋นŒ ํšŒ์›๊ด€๋ฆฌ + + +
- - ์„ธ๊ธˆ๊ณ„์‚ฐ์„œ +
+ +
+ ์„ธ๊ธˆ๊ณ„์‚ฐ์„œ - - ํ™ˆ + + ํ™ˆ
@@ -435,6 +448,32 @@ ); }; + const ApiInfoModal = ({ isOpen, onClose }) => { + if (!isOpen) return null; + return ( +
+
e.stopPropagation()}> +
+

+ + ๋ฐ”๋กœ๋นŒ API ์ƒ์„ธ ์ •๋ณด +

+ +
+
+ +
+