Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Canceled Field to Withdraws #33

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/SimplePagination/SimplePagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SimplePagination = ({paginate, length}) => {
}

return (
<nav aria-label="Page navigation example">
<nav aria-label="Page navigation">
<ul className="pagination justify-content-center">
<li className={`page-item ${paginate.page === 1 ? "disabled" : ""}`}>
<button className="page-link" onClick={pervPage}>Previous</button>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Withdraws/Withdraws.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ const Withdraws = () => {
defaultChecked={status === "REJECTED"} id="REJECTED"/>
<label className="form-check-label" htmlFor="REJECTED">Rejected</label>
</div>
<div className="form-check form-check-inline">
<input className="form-check-input primary-bg" type="radio" name="status" value="CANCELED"
defaultChecked={status === "CANCELED"} id="CANCELED"/>
<label className="form-check-label" htmlFor="CANCELED">Canceled</label>
</div>
</div>
<div className="d-flex flex-column justify-content-between align-items-center" style={{width: "100%"}}>
<table className="table table-bordered rounded text-center col-12 striped">
Expand Down
Loading