Questions tagged as 'laravel-blade'

1
answer

multi language with Laravel 5.2

Greetings to everyone in the community I have a problem when I want to try to place a multi-language site, I have downloaded the language packs and put them in the resources / lang folder of Laravel 5.2 I have configured my view like this:...
asked by 09.11.2018 / 14:44
0
answers

Field byte type in postgresql show it in a Laravel view

Good afternoon I have been working with Laravel 5.6 and I must pass an image that is inserted in a postgresql 10 database as a byte field type made embedded php code in view to be able to pull the data and present it but I did not succeed this i...
asked by 26.10.2018 / 16:25
0
answers

Problems reading an array and presenting it in the view in Laravel 5.6

Good afternoon I have been working with Laravel 5.6 and I have a problem reading an array that passed from the controller to the view, the array that passes from the controller arrives in the following way: array:5 [▼ 0 => {#357 ▼ +...
asked by 19.10.2018 / 17:04
3
answers

Problem with route show function LARAVEL

After a lot of searching for google and not finding a solution to my problem, I decided to ask the wisdom of the internet: These are my routes: Route::get('/customers', 'CustomerController@index') ->name('customerIndex'); Route::get('/...
asked by 16.10.2018 / 17:09
1
answer

Show buttons

I have a table in which it is filled with a foreach and in a column it shows buttons to delete or edit that row @foreach($clock as $r) <tr class="text-center {{ ($r->hours > 480) ? 'bg-warning-soft' : '' }} {{ ($r->hour...
asked by 12.10.2018 / 21:50
0
answers

Is it possible to create a single login for multiple tables in Laravel, ie different models?

I am new to the world of Laravel and I am doing an application where I have 3 direct models, with their respective drivers and migrations, I wanted to create a login that depending on the type of user redirects me to other views, I have 3 tables...
asked by 25.09.2018 / 10:25
1
answer

Blade - Go through two arrays

I have a function that collects the data of a user and also collects the rols that are in the system, the idea is to compare what is in the system with the user is assigned and check them with a checkbox The method that collects the roles of...
asked by 08.08.2018 / 12:14
0
answers

Insert order detail in laravel

Good evening I'm working with laravel 5.4 the problem is that I have two tables an order and detail of order I made a shopping cart is all good with session to what I'm going is that when I want to insert the order table and order detail does no...
asked by 24.07.2018 / 03:49
0
answers

Laravel - call ajax to an api

from a blade template I try to make an ajax call to an api the code I have is this @section('custom-js') <script type="text/javascript"> $(document).ready(function(){ alert('test'); $('#edit').on('submit...
asked by 11.07.2018 / 13:36
1
answer

Error uploading to local hosting.ERROR: Can not end to section without first starting one

Dear I am trying to upload my app from laravel to a hosting with cpanel, but when verifying that the page is displayed correctly I get an error internal server 500, when reviewing the host's log it tells me the next thing local.ERROR: Can not en...
asked by 20.06.2018 / 20:42