skip to Main Content

Laravel – Livewire dispatching event modal with a dynamic content

Im trying to show the user the times when he's available by days and display them in a modal. public function searchAvailability(){ $this->validate(); $doctor = Doctor::where('id',$this->selectedDoctor)->first(); $doctorTimes = DoctorTime::where('doctor_id',$this->selectedDoctor)->get(); $parsedDate = Carbon::parse($this->selectedDate); $dayName = $parsedDate->format('l'); if ($parsedDate->isFuture()) { foreach($doctorTimes as…

VIEW QUESTION

laravel 11 connect with mysql database

I want to connect with mysql database but here show the error like this at vendorlaravelframeworksrcIlluminateDatabaseConnection.php:813 809▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 810▕ ); 811▕ } 812▕ ➜ 813▕ throw new QueryException( 814▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 815▕ ); 816▕ }…

VIEW QUESTION

Laravel – DatePicker formatting filament v3

Package Version v3.0.0 DatePicker::make('reservation_date') ->label('Rezervasyon Tarihi') ->live(onBlur: true) I went to DatePicker component inside and add: public static string $defaultDateDisplayFormat = "d/m/Y"; However its still showing as "mm/dd/YYYY" on input before selection and after. Is there a solution for me…

VIEW QUESTION
Back To Top
Search