Open abdallahmaali opened 2 years ago
I'm trying to make a schedule from its contain list off the week days and for everyday there are working hours ,
how I can fill the default array of nested forms on creating for example to be auto-generated
`$days=[ ['available_on' => 'day_1', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_2', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_3', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_4', 'available_from' => '09:00', 'available_to' => '18:00'],
]`
try this ?
https://laravel-admin.org/docs/zh/1.x/model-grid-data
I'm trying to make a schedule from its contain list off the week days and for everyday there are working hours ,
how I can fill the default array of nested forms on creating for example to be auto-generated
`$days=[ ['available_on' => 'day_1', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_2', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_3', 'available_from' => '09:00', 'available_to' => '18:00'], ['available_on' => 'day_4', 'available_from' => '09:00', 'available_to' => '18:00'],
]`