Questions tagged as 'laravel'

0
answers

Join with three tables Laravel QueryBuilder

I'm trying to do a join with three tables I have a table with county code, a table with the name of the county and a table with the names of the states I need to get the name of the municipality of one table and the name of the state in an...
asked by 18.08.2018 / 20:14
1
answer

Problems with return of the query in laravel 5

Hello, I'm having problems with my laravel search function class PesquisaController extends Controller { public function pesquisaMonitoramento(Request $request, Monitoramento $mot) { $mot = $mot->newQuery(); if($request-&...
asked by 10.08.2018 / 16:08
0
answers

Get every month the balance of the previous month dynamically

How do I get the previous month dynamically; I have the Entries and Exits tables. In my report I show the Balance of the month , then I show the balance of the previous month , this works for up to 2 months, in the third month the sum is w...
asked by 09.08.2018 / 20:45
1
answer

What do I have to configure in the httpd.conf file, so I do not give 404 more in Laravel 5.6?

What do I have to configure here in the httpd.conf file, so I do not give the error of page not found in laravel 5.6 anymore? <Directory /> AllowOverride none Require all denied </Directory>     
asked by 09.08.2018 / 13:01
0
answers

Error php Paste Column Database

The name of my column in the database is DATE PASSAGE (with that space between the words), when I try to access the html of the error below: I am in doubt, how can I make php identify this space without changing the name in the databas...
asked by 08.08.2018 / 20:05
1
answer

Laravel Validation Unique

I have a registration form, and there is information for popular two tables: User (User); Shipper (Sender). I created the Request of Laravel to isolate the validation rule from the controller form. I have cloquei unique in...
asked by 07.08.2018 / 03:36
1
answer

Doubt relationship One to Many

You talk, guys? Next, to head with the seed of my BD in laravel, I believe that anyone with more experience with the framework knows how to solve. I have the model Person with relationship One to Many for other two (Professional and Client)....
asked by 13.08.2018 / 21:27
1
answer

Problems sending form in modal bootstrap

Hello, I am sending a form that is in a modal within a page, but the modal simply does not send, it is inside a page that is a return of an ajax (a search in the case), I do not know if it influences . <div class="modal fade" id="finalizarM...
asked by 13.08.2018 / 19:06
2
answers

Custom Login Laravel [duplicate]

I'm trying to log in to Laravel 5.5, I can authenticate the user, but when I go to another page it loses the reference of the authenticated user and redirects to the login screen again. My LoginController class: public function attemp...
asked by 03.08.2018 / 15:03
0
answers

How to create a migrate and add a calculated column to a table already in the database?

I have the table evaluations that have the columns nota1, nota2, nota3, nota4 created in the database and wanted to create a media column that already calculated the media automatically, how to create this column calculate using migrate from lar...
asked by 03.08.2018 / 16:50