skip to Main Content

Indirect modification of overloaded element of AppModels has no effect – Laravel

I’m getting this error: Indirect modification of overloaded element of AppModels has no effect, change ->get(); to ->first->toArray(); another error Call to a member function toArray() on null here the code $penjualan = Penjualan::find(session('id_penjualan')); $detail = PenjualanDetail::with('produk')->where('id_penjualan', session('id_penjualan'))->get(); $transaction =…

VIEW QUESTION

anchor do nothing after second index – Jquery

I have a django-qcm with sections that change when clicking on anchors and using the scroll snap type property. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <style> html{ scroll-behavior: smooth;…

VIEW QUESTION

Disable and enable gijgo datepicker – Jquery

I am using datepicker from gijgo 1.9.14. I would like to know how to disable and enable it from javascript $("#startDate").datepicker( { calendarWeeks: true, uiLibrary: 'bootstrap4', locale: 'pt-br', value : '<?=date('d/m/Y')?>', format:'dd/mm/yyyy', iconsLibrary: 'fontawesome', } ); When I try $("#startDate").prop('disabled',true)…

VIEW QUESTION
Back To Top
Search