<h4>Admin Accounts — User Details &amp; Company Details v7 Rebuild</h4>
<ul>
<li><strong>user_details.php</strong> — full rewrite from Bootstrap 3 portlet layout to v7 Bootstrap 5 card structure</li>
<li>Fixed null crash in <code>getUserDetails</code>: added <code>return</code> after usernotfound display when <code>msg == null</code></li>
<li>Fixed <code>Object.keys(null)</code> crash in <code>loadUsersOrgTable</code>, <code>loadUsersJoinTable</code>, <code>loadUsersLogs</code>, <code>loadUsersHacks</code> — null check now precedes property access</li>
<li>Fixed JS/HTML ID mismatches: aligned container IDs between HTML and JS selectors (<code>#websiteAreaContainer</code>, <code>#organizationAreaContainer</code>, <code>#logsAreaContainer</code>, <code>#hackAreaContainer</code>)</li>
<li>Fixed invoice toggle: replaced <code>hidden</code> attribute with <code>style="display:none"</code> + jQuery <code>show()</code>/<code>hide()</code></li>
<li>Fixed missing modal button handlers: added click handlers for <code>#joinWebsiteBtn</code> and <code>#joinOrganizationBtn</code> using Bootstrap 5 <code>.modal("show")</code></li>
<li><strong>company_details.php</strong> — left column rebuilt to v7 card structure (profile card, contact person card, members card)</li>
<li>Fixed <code>getCompanyDetails</code> null crash: moved null check before <code>msg.details</code> access, added <code>return</code></li>
<li>Fixed wrong object reference: <code>user_account.editTransaction</code> → <code>account.editTransaction</code> in billing transactions</li>
<li>Fixed invoice toggle: <code>removeAttr("hidden")</code>/<code>attr("hidden")</code> → <code>show()</code>/<code>hide()</code></li>
<li><strong>company_details/pages/main.php</strong> — full rewrite from portlet/BS3 to v7 Bootstrap 5 cards (Payment Method, Invoice Settings, Subscriptions, Billing, Websites, Clients, Subsidiaries, Affiliates)</li>
<li>Eliminated duplicate <code>id="bg-web"</code> and duplicate <code>id="userjointable"</code> bugs</li>
<li>Converted Add buttons from BS3 <code>data-toggle="modal"</code> to Bootstrap 5 <code>.modal("show")</code> via onclick</li>
</ul>