Merge pull request #31 from lora322/ai-dev

added Open Orders table
This commit is contained in:
lora322 2025-09-23 20:59:06 -04:00 committed by GitHub
commit 5579b74e7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import BaseIcon from '../components/BaseIcon';
import { getPageTitle } from '../config';
import Link from 'next/link';
import { useTranslation } from 'next-i18next';
import TableOrders from '../components/TableOrders';
import { hasPermission } from '../helpers/userPermissions';
import { fetchWidgets } from '../stores/roles/rolesSlice';
@ -137,6 +138,13 @@ const Dashboard = () => {
>
{''}
</SectionTitleLineWithButton>
{/* Welcome message under page title */}
{currentUser?.first_name && (
<p className="text-lg font-medium mt-2 mb-6">
Welcome to VRES, {currentUser.first_name}!
</p>
)}
{hasPermission(currentUser, 'CREATE_ROLES') && (
<WidgetCreator
@ -612,6 +620,7 @@ const Dashboard = () => {
)}
</div>
</SectionMain>
<TableOrders filterStatus="open" />
</>
);
};

View File

@ -54,7 +54,7 @@ module.exports = {
blue: '#244E5E',
green: '#00B448',
orange: '#FFAA00',
red: '#F20041',
red: '#BD021E',
900: '#141F2A',
800: '#4b5b66',
700: '#5e7785',