File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments