feat(frontend): update admin components
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -167,9 +167,9 @@
|
||||
completed: 'bg-green-100 text-green-800',
|
||||
client_cancelled: 'bg-red-100 text-red-800',
|
||||
we_cancelled: 'bg-rose-100 text-rose-800',
|
||||
're-schedule': 'bg-purple-100 text-purple-800',
|
||||
no_show: 'bg-gray-100 text-gray-800',
|
||||
no_deposit: 'bg-orange-100 text-orange-800'
|
||||
pending_release: 'bg-orange-100 text-orange-800',
|
||||
deposit_lapsed: 'bg-yellow-100 text-yellow-800'
|
||||
};
|
||||
return `${baseClasses} ${statusMap[status] || 'bg-gray-100 text-gray-800'}`;
|
||||
}
|
||||
@@ -182,9 +182,9 @@
|
||||
completed: 'bg-green-600',
|
||||
client_cancelled: 'bg-red-600',
|
||||
we_cancelled: 'bg-rose-600',
|
||||
're-schedule': 'bg-purple-600',
|
||||
no_show: 'bg-gray-600',
|
||||
no_deposit: 'bg-orange-600'
|
||||
pending_release: 'bg-orange-600',
|
||||
deposit_lapsed: 'bg-yellow-600'
|
||||
};
|
||||
return `mr-1 h-1.5 w-1.5 rounded-full ${statusMap[status] || 'bg-gray-600'}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user