I dont want a tab system bruh,
Add a import from CSV button at the top rather,
Remove the dark theme toggling
Enhance the form to provide the exact form model as below with restriction applicable:
model Schedule {
id String @id @default(auto()) @map("_id") @db.ObjectId
startDate DateTime
endDate DateTime
duration Int
startTime String
endTime String
mode String
enrollments Int? @default(0)
stock Int? @default(0)
price_usd Price
price_cad Price
price_gbp Price
price_eur Price
price_aed Price
price_inr Price
price_aud Price
price_sgd Price
coupon String?
discount Float?
}
type Price {
regular Float
sale String
}
I understand. I'll remove the tab system, add an import from CSV button, remove the dark theme toggling, and enhance the form to match the provided model. Here's the updated version:
I'll update the layout to make it a professional admin form without a grid layout, remove default values, and implement the edit and delete functionality. Let's make these changes:
These changes should provide a more professional admin form layout without default values, and with functional edit and delete capabilities.