Remove Approve/Reject actions from returns management view
Some checks failed
Beta CI/CD Pipeline / build-and-test (push) Failing after 42s
Beta CI/CD Pipeline / deploy-beta (push) Has been skipped

This commit is contained in:
vickytechkey 2026-08-12 21:09:27 +05:30
parent 8fc514bc45
commit f78cf6fe02

View file

@ -2370,7 +2370,6 @@ export default function App() {
<th>Customer</th>
<th>Reason Given</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@ -2387,10 +2386,6 @@ export default function App() {
<td>
<span className="badge badge-warning">{r.status}</span>
</td>
<td>
<button className="btn btn-primary" style={{ padding: '0.3rem 0.6rem', fontSize: '0.8rem', marginRight: '0.5rem', backgroundColor: 'var(--success)', border: 'none', color: 'white' }} onClick={() => handleReturnAction(r.id, 'Approved')}>Approve</button>
<button className="btn btn-primary" style={{ padding: '0.3rem 0.6rem', fontSize: '0.8rem', backgroundColor: 'var(--error)', border: 'none', color: 'white' }} onClick={() => handleReturnAction(r.id, 'Rejected')}>Reject</button>
</td>
</tr>
))}
</tbody>