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

Issue settings tabs navigation #808

Merged
merged 6 commits into from
Nov 15, 2023
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
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ This command will install all the required packages specified in the package.jso
While still in the /backend directory of the project, execute the following command to run the setup script:

```bash
node setup/setup.js
npm run setup
```

This setup script may perform necessary database migrations or any other initialization tasks required for the project.
Expand Down Expand Up @@ -134,7 +134,7 @@ npm install
After installing the frontend dependencies, run the following command in the same terminal to start the frontend server:

```bash
npm run start
npm run dev
```

This command will start the frontend server, and you'll be able to access the website on localhost:3000 in your web browser.
Expand Down Expand Up @@ -203,13 +203,6 @@ Now you should be all set to run the project locally on your machine and explore

7.[Questions](https://github.com/idurar/idurar-erp-crm/blob/master/CONTRIBUTING.md#questions)

## Star History

Here you can see the proxy of our growth on the platform and that we're only getting started.

But if you'd like to check it out more news and website you can always check it out on: https://www.idurarapp.com/.

[![](image.png)](https://star-history.com/#idurar/idurar-erp-crm)

## License

Expand Down
36 changes: 20 additions & 16 deletions frontend/src/pages/Settings/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,43 +39,47 @@ export default function Settings() {
{
key: 'generalSettings',
label: (
<span onClick={() => handleTabChange('generalSettings')}>
{translate('General Settings')}
</span>
<div onClick={() => handleTabChange('generalSettings')}>
<SettingOutlined />
<span> {translate('General Settings')}</span>
</div>
),
icon: <SettingOutlined />,
},
{
key: 'appSettings',
label: (
<span onClick={() => handleTabChange('appSettings')}>{translate('App Settings')}</span>
<div onClick={() => handleTabChange('appSettings')}>
<SettingOutlined />
<span>{translate('App Settings')}</span>
</div>
),
icon: <SettingOutlined />,
},
{
key: 'moneyFormatSettings',
label: (
<span onClick={() => handleTabChange('moneyFormatSettings')}>
{translate('Currency Settings')}
</span>
<div onClick={() => handleTabChange('moneyFormatSettings')}>
<DollarOutlined />
<span>{translate('Currency Settings')}</span>
</div>
),
icon: <DollarOutlined />,
},
{
key: 'paymentSettings',
label: (
<span onClick={() => handleTabChange('paymentSettings')}>
{translate('Finance Settings')}
</span>
<div onClick={() => handleTabChange('paymentSettings')}>
<CreditCardOutlined />
<span>{translate('Finance Settings')}</span>
</div>
),
icon: <CreditCardOutlined />,
},
{
key: 'invoiceSettings',
label: (
<span onClick={() => handleTabChange('invoiceSettings')}>{translate('Crm Settings')}</span>
<div onClick={() => handleTabChange('invoiceSettings')}>
<FileTextOutlined />
<span>{translate('Crm Settings')}</span>
</div>
),
icon: <FileTextOutlined />,
},
];
const [tabKey, setTabKey] = useState(items[0].key);
Expand Down