How to add data (description) for each day or exception?
Hi, thanks for a great looking plugin.
I'm looking for a way to customise the message of each day or exception. In spatie documentation i found that the json structure can hold a key data
My question: is there a way to add data in definitions of day or exception?
$openingHours = OpeningHours::create([ 'monday' => [ 'data' => 'Typical Monday', '09:00-12:00', '13:00-18:00', ], 'tuesday' => [ '09:00-12:00', '13:00-18:00', [ '19:00-21:00', 'data' => 'Extra on Tuesday evening', ], ], 'exceptions' => [ '2016-12-25' => [ 'data' => 'Closed for Christmas', ], ], ]);
Hi, thanks for your question 🙂
Actually that's not impemented, but I am open for PR.
Package is not actively developed for the reason, I dont have access/licence to actual Nova. 😢
Is there a way to get it just for local dev purposes/package development?