efril #7
@ -107,14 +107,16 @@ const DebouncedInput = ({
|
||||
// Status color mapping
|
||||
const getStatusColor = (status: string) => {
|
||||
switch (status) {
|
||||
case 'Draft':
|
||||
case 'draft':
|
||||
return 'secondary'
|
||||
case 'Disetujui':
|
||||
case 'approved':
|
||||
return 'primary'
|
||||
case 'Dikirim Sebagian':
|
||||
case 'sent':
|
||||
return 'warning'
|
||||
case 'Selesai':
|
||||
case 'received':
|
||||
return 'success'
|
||||
case 'cancelled':
|
||||
return 'error'
|
||||
default:
|
||||
return 'default'
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user