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

running commit #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 config/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let config = {
MONGO_URL: `mongodb://admin:[email protected].mongodb.net:27017,cluster0-shard-00-01.evrtj.mongodb.net:27017,cluster0-shard-00-02.evrtj.mongodb.net:27017/myFirstDatabase?ssl=true&replicaSet=atlas-xnzvxt-shard-0&authSource=admin&retryWrites=true&w=majority`,
MONGO_URL: `mongodb+srv://Anuj:[email protected].mongodb.net/test`,
DB_CONNECTION_RETTEMPT_LIMIT_NODE: 5,
SECRET_KEY: "jksdo"
}
Expand Down
4 changes: 2 additions & 2 deletions pages/landing/components/ChargesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ const ChargesList = (props) => {
<td>{TitleCaseFormatter(data.site_id?.alias_name)}</td>
<td>{TitleCaseFormatter(address)}</td>
<td>{rent}</td>
<td>{totalCharges}</td>
<td>{rent + totalCharges}</td>
<td>{totalCharges - rent}</td>
<td>{rent + totalCharges - rent}</td>
<td>
{data?.isPaid ? (
<button className="btn btn-success" disabled>
Expand Down
10 changes: 6 additions & 4 deletions pages/profile/components/Taskbar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Icons from "./Icons";
import Link from "next/link";
import LogOut from "./LogOut";

const Taskbar = () => {
return (
<div className="S_left">
Expand All @@ -20,15 +19,18 @@ const Taskbar = () => {
classprop="fal fa-home-lg-alt S_icon S_icon1"
path="/landing/tenant"
></Icons>
<Icons
{/* <Icons
classprop="fal fa-grip-lines-vertical S_icon S_icon2"
path="/charges/totalCharges"
></Icons>
></Icons> */}
<Icons
classprop="fal fa-rupee-sign S_icon S_icon3"
path="/transaction/TenantHistory"
></Icons>
<Link href="/landing/viewAllCharges">View Charges</Link>
<Icons
classprop="fal fa-grip-lines-vertical S_icon S_icon2"
path="/landing/viewAllCharges"
></Icons>
<LogOut classprop="fal fa-sign-out S_icon S_icon5"></LogOut>
</div>
);
Expand Down