Posts by Ronaldo Adriano • 61 points
11 posts
-
0
votes1
answer55
viewsQ: Layout Laravel 5.6
Expensive, I’m developing a Dashboard report via Windows 5.6 with bootstrap, but I came across something I don’t know how to solve in the layout. This is the problematic layout This is the excel I’m…
-
0
votes0
answers519
viewsQ: Group data - Laravel Collection
I need to group the data of an SQL function in Indicators and Data, but in my attempt to group, I’m only getting by date(Column), for this reason the data is repeated. Model: public static function…
-
1
votes1
answer136
viewsQ: Redirect fault Laravel
Expensive, Can you help me with this portable redirect? I created a method where it re-evaluates the data and redirects, on the other hand when redirecting I get the Route error…
-
0
votes0
answers668
viewsQ: local.ERROR: SQLSTATE[23000]: Integrity Constraint Violation: 1452
Expensive, You can help me with this mistake: local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails…
-
0
votes2
answers1415
viewsA: Error using whereRaw in Laravel
For the next ones who have the same doubt follows resolution. //Recupera e soma Notas $notas = DB::table('clima.tbl_resposta_super') ->select(DB::raw('sum(nota_original) as…
-
2
votes2
answers1415
viewsQ: Error using whereRaw in Laravel
What am I doing wrong in this queryRaw? The goal is to display the summed values if ID = ID, but I’m getting the total sum of the column. Excerpt from *query made on Controller: //Show public…
-
1
votes2
answers77
viewsA: Help Query Sum
Marcelo Zapatta, worked, performed as follows. $receb = Receptivo::makeAbertura( $data->format( 'Ymd' ), $carteira, $servico, $segmento ) ->whereIn('FAIXA_HORARIO', range(8, 20))…
-
0
votes2
answers77
viewsQ: Help Query Sum
I’m trying to retrieve a column and make a sum - using the SUM - according to the time zone, but without success. You can help me with this issue? Detail: I’m not using exactly a table, but perform…
-
0
votes1
answer362
viewsQ: cannot add or update a Child Row a Foreign key Constraint fails Laravel
Guys, I have this error in my system: cannot add or update a child row a foreign key constraint fails laravel It informs that the ID does not exist, only that it exists. Even when I try to manually…
-
0
votes0
answers83
viewsQ: Undefined variable: institutions (View:
Expensive, I have a very boring and persistent mistake. Undefined variable: institutions (View: I have searched several times and do not know why the data is not passed to the form. Controller…
-
0
votes1
answer1180
viewsQ: Laravel Invalidargumentexception
People can help me with this error... Invalidargumentexception in Routeregistrar.php line 75: Attribute [when] does not exist. I’m learning Laravel and this mistake this boring. Follow Route(web)…