Questions tagged as 'laravel'

1
answer

Show checkbox with "checked" when editing a record

I have a registration form with several checkboxes in the view I have it configured in this way: {!!Form::checkbox('admin','1',false,['id'=>'admin', 'class'=>'uk-checkbox'])!!} Administrator This is saved in the database wi...
asked by 27.11.2017 / 05:13
1
answer

How to record several laravel php records

Well I'm making an attendance list and I want to record of all the people at once. I spent all day without solving it. Sight code @extends('layouts.docen') @section ('contenido') <div class="row"> <div class="col-lg-6 col-md-6...
asked by 29.11.2017 / 06:52
0
answers

Laravel 5.5 Middlewares

I hope you can help me, I need to make a filter (middleware) say, that only the person who created it can edit a record. It seems easy but I'm new to the subject. I was reading a lot, but they all talk about the user logged in the system, that's...
asked by 27.01.2018 / 01:17
1
answer

Select just grab last value

I have this select . <select name="" id="" class="form-control" > @foreach($sede as $user) @if($user->idSede != $coordinadorAdm->Sede) <option value="{{$user->idSede}}">{{$user->nombre}}</...
asked by 01.12.2017 / 07:43
0
answers

MySql query for 1 TB database

Good morning, I am faced with the problem that because of the size of the query, it is impossible for me to execute it, and it is not feasible to cut it into very small pieces because it would never end. I'm using the Laravel 5.5 framework, but...
asked by 01.12.2017 / 10:09
1
answer

How to delete a record of a collection?

At the time of returning the result of a query I want to debug the result, my intention is, if it does not comply with the condition that is eliminated from the matrix, however all are eliminated, this is an example of the result: { "0": {...
asked by 15.11.2017 / 17:44
0
answers

JqueryUI: Maintain the style of the table by doing a drag and drop

I have a table in which I move the rows using the draggable function of JqueryUI. The size in width is set with percentages for each cell, but when performing the drag and drop these percentages are altered, in addition you can 'take' the row...
asked by 13.11.2017 / 13:05
1
answer

JWT for the web cookie?

Good guys. I am creating an application, where the login is made in a service for both api and the web. For the api there is no problem because it is sent in the header, but I do not understand how I use it on the web. If I make a request...
asked by 13.11.2017 / 19:08
1
answer

Saving shopping cart in laravel database

good day community. I am developing a shopping cart system with laravel and the following library: https://github.com/Crinsane/LaravelShoppingcart but I have a problem or rather a doubt, when I want to finalize the purchase. The...
asked by 14.11.2017 / 16:40
3
answers

Does not recognize the UsersController

! [ReflectionException (-1) Class App \ Http \ Controllers \ Admin \ UsersController does not exist] 1 Does anyone know why the controller does not recognize me? I just created the admin folder, I added the "Admin /" as the documentation s...
asked by 10.11.2017 / 05:59