Skip to content

Commit

Permalink
Issue/#15 ledger (#35)
Browse files Browse the repository at this point in the history
* Removed Unused Code & Added Ledge Layouts

* Added Ledger Page

* Added Ledger Detail

* Added Debit , Credit , Balances

* Updated Client List Open Btn

* Added Print to Ledger Details

* Ledger 1

* Fix #30 - Client Mapping & #31 - Receivables show ing incorrect Values

* Fix #33 - Invoice not create on Date Change

* Fix Invoice No Change on Edit

* Fall Back if Bill Page doesn't Exist

* Add New Client

* Adjustments Added
  • Loading branch information
jainprashul committed Aug 20, 2022
1 parent 7a5ed99 commit 8a679d5
Show file tree
Hide file tree
Showing 30 changed files with 1,475 additions and 280 deletions.
82 changes: 49 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import AppBar from './shared/AppBar';
import { Container } from '@mui/material';
import { setCurrentRoute } from '../routes/routeSlice';
import { useLocation } from 'react-router-dom';
import { useAppDispatch, useAppSelector } from '../app/hooks';
import { URLParamstoObject } from '../utils'
import { useAppDispatch } from '../app/hooks';

type Props = {
children: React.ReactNode;
Expand All @@ -22,7 +21,7 @@ export default function Layout({ children }: Props) {
const dispatch = useAppDispatch();

React.useEffect(() => {
const { pathname, search } = location;
const { pathname } = location;
dispatch(setCurrentRoute(pathname));

}, [dispatch, location]);
Expand Down
Loading

0 comments on commit 8a679d5

Please sign in to comment.