feat: comment out edit and journal tab buttons on investment detail page

This commit is contained in:
sazzadulalambd
2026-05-14 22:26:27 +06:00
parent d54e270fb4
commit e57118d040

View File

@@ -78,7 +78,7 @@ export default function InvestmentDetailPage({ params }: { params: Promise<{ id:
<button className="px-4 py-2 border border-slate-200 text-slate-600 rounded-lg text-sm font-medium hover:bg-white flex items-center gap-2"> <button className="px-4 py-2 border border-slate-200 text-slate-600 rounded-lg text-sm font-medium hover:bg-white flex items-center gap-2">
<Download className="w-4 h-4" /> Statement <Download className="w-4 h-4" /> Statement
</button> </button>
<button onClick={() => { {/* <button onClick={() => {
setEditForm({ setEditForm({
planName: investment.planName, planName: investment.planName,
planType: investment.planType, planType: investment.planType,
@@ -88,7 +88,7 @@ export default function InvestmentDetailPage({ params }: { params: Promise<{ id:
setShowEditModal(true); setShowEditModal(true);
}} className="px-4 py-2 bg-investor text-white rounded-lg text-sm font-medium hover:bg-investor-dark flex items-center gap-2"> }} className="px-4 py-2 bg-investor text-white rounded-lg text-sm font-medium hover:bg-investor-dark flex items-center gap-2">
<Edit className="w-4 h-4" /> Edit <Edit className="w-4 h-4" /> Edit
</button> </button> */}
</div> </div>
</div> </div>
@@ -153,12 +153,12 @@ export default function InvestmentDetailPage({ params }: { params: Promise<{ id:
> >
P&L Statement P&L Statement
</button> </button>
<button {/* <button
onClick={() => setActiveTab('journals')} onClick={() => setActiveTab('journals')}
className={`px-4 py-2 text-sm font-medium rounded-lg transition-colors ${activeTab === 'journals' ? 'bg-investor text-white' : 'text-slate-600 hover:bg-slate-100'}`} className={`px-4 py-2 text-sm font-medium rounded-lg transition-colors ${activeTab === 'journals' ? 'bg-investor text-white' : 'text-slate-600 hover:bg-slate-100'}`}
> >
Journals Journals
</button> </button> */}
</div> </div>
<div className="p-5"> <div className="p-5">