feat: Implement Ratecard Drawer and Finance Table

This commit is contained in:
shancds
2025-05-14 22:20:50 +05:30
parent 19deef9298
commit 6847eec603
20 changed files with 1659 additions and 1 deletions

View File

@@ -0,0 +1,59 @@
type FinanceTableColumnsType = {
key: string;
name: string;
width: number;
type: 'string' | 'hours' | 'currency';
};
// finance table columns
export const financeTableColumns: FinanceTableColumnsType[] = [
{
key: 'task',
name: 'task',
width: 240,
type: 'string',
},
{
key: 'members',
name: 'members',
width: 160,
type: 'string',
},
{
key: 'hours',
name: 'hours',
width: 80,
type: 'hours',
},
{
key: 'cost',
name: 'cost',
width: 120,
type: 'currency',
},
{
key: 'fixedCost',
name: 'fixedCost',
width: 120,
type: 'currency',
},
{
key: 'totalBudget',
name: 'totalBudgetedCost',
width: 120,
type: 'currency',
},
{
key: 'totalActual',
name: 'totalActualCost',
width: 120,
type: 'currency',
},
{
key: 'variance',
name: 'variance',
width: 120,
type: 'currency',
},
];