Posts by Hugo Leonardo • 1 point
2 posts
-
-1
votes1
answer66
viewsA: PHP concatenation in the selection field
Solved: I optimized the query in the Controller module of the project in question follows the resolution code below: DB::raw('( CASE WHEN projects.situacao_project = "AA" THEN "Awaiting…
-
-2
votes1
answer66
viewsQ: PHP concatenation in the selection field
Follow my question regarding concatenation in PHP in the code below: <td>{{$projeto->situacao_projeto == 'AA' ? 'Aguardando Autorização' : 'AP' ? 'Aprovado' :'CS' ? 'Cancelado Suspenso' :…