Skip to content
Advertisement

I am beginner trying to update status on view table laravel but i am getting controller error that (Attempt to read property “status” on null)

invoices/index.blade.php

JavaScript

/TemplateContorller

JavaScript

web.php

JavaScript

View

view for table

error

enter image description here

Advertisement

Answer

Try this :

JavaScript

And also in your controller you have to change :-

JavaScript

Hope this will work for you.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement