Skip to content

Commit 641a432

Browse files
committed
upfated financial button.
1 parent 12ff008 commit 641a432

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

companies.xlsx

9 Bytes
Binary file not shown.

company-details.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h2 class="text-xl font-semibold text-gray-800 mb-4">Contact Details</h2>
9191
<!-- Financial Info -->
9292
<div class="mt-6 bg-white border rounded-lg p-6">
9393
<h3 class="text-lg font-semibold text-gray-800 mb-3">Financial Information</h3>
94-
<a href="/financials" class="inline-block bg-white border rounded px-4 py-2 shadow-sm hover:shadow-md text-indigo-600">View Financials</a>
94+
<a id="financial_link" href="/financials" class="inline-block bg-white border rounded px-4 py-2 shadow-sm hover:shadow-md text-indigo-600">View Financials</a>
9595
</div>
9696

9797
<!-- Previous Details -->
@@ -162,6 +162,9 @@ <h4 class="text-lg font-semibold text-gray-800 mb-3">Business Description</h4>
162162
// business description
163163
document.getElementById("businesses_description").innerText = companyData["Business Discription"];
164164

165+
// Financial link update.
166+
document.getElementById("financial_link").href = companyData["Financial"];
167+
165168
console.log("Company Data:", companyData);
166169
} else {
167170
console.error("Company not found in localStorage:", key);

0 commit comments

Comments
 (0)