I created a search filter for a table, in it I have Description, Model, Status, among others 'inputs' to make the search. But after the search is done, pagination does not track the result. Here is the code below:
Index:
@extends('admin/l...
I have the following JSON returned from a controller Laravel :
{
"id": 105,
"tratamento_id": "24",
"eim": null,
"oft": "12",
"codigo_produto": "CO009-1200-1200",
"descricao_produto": "COMPENSADO 9X1200X1200 ",
"t...
I'm learning the web language for creating my website and using the Laravel framework 5.4, and having trouble sending forms with ajax.
Every form I send, returns me the error:
Unprocessable Entity {"account": ["The account field is requ...
I was studying laravel 5.4 and I had a question. As a good programmer I researched google in many ways and found nothing like it.
Imagine the following case:
$prod = $this->product->create([
name -> 'produto 1',
valor -&g...
Hello, I have been able to solve a foreign key problem now and I came across a second, I have no idea how to retrieve in a select in the view the data of another table.
If anyone can give me a simple example, I would be grateful.
My create, store...
Good evening, ladies, I recently started a project in order to upgrade with laravel 5.4, I created a project and I'm using adminLTE to the layout. The thing is, this AdminLTe has a table template that I want to use. but I'm not able to use a...
I'm having a hard time trying to create a form in Laravel 5.4, at the time of loading View the following error appears:
"ErrorException in helpers.php line 532: htmlspecialchars () expects parameter 1 to be string, array give...
I have a relationship, where I try to get the name of a teacher, I can return the id of it, but when I try to return the name it gives me the message Trying to get property of non-object
My code looks like this:
Model Course.php
<?php...
Hello, I have a problem and I found a part of the solution here, I'm dealing with this in a different way in another question, however I decided to test a form I saw here from the user Vigilio about DomPDF
My case is as follows, I have course an...