Questions tagged as 'laravel'

1
answer

Laravel and the pivot tables

I have a form which you can see in Image 1: This form is called requests, it is a form where requests for authorization are received to be able to repair certain medical equipment, after that request is received an authorization is issued...
asked by 06.02.2018 / 09:14
1
answer

Error showing data in handlebars-js

I'm trying to access the id of this element sent by json in handlebars.js { "status":"success", "message": { "message":"sdasdasasd", "type":"photo", "post_id":55, "title":"", "description":"",...
asked by 15.03.2016 / 22:08
1
answer

use Like with multiple columns

I am looking in one form or another for data in my columns $search = Notificaciones:: where('canal', 'LIKE', '%'.$canal.'%') ->where('region','LIKE', '%'.$region.'%') ->where('cadena','LIKE...
asked by 18.12.2018 / 23:19
1
answer

Does not work @click de vue in datatables

I am using datatables server side of Yajra for Laravel and I have the following: var table = $("#dt_user_draw").DataTable({ destroy: true, processing: true, responsive: true, serverSide: true, ordering: false, "ajax": { "meth...
asked by 06.08.2018 / 15:45
1
answer

Create an array with date and time data in php

I have to create an array in PHP with information that comes from a json. Currently I have my code that creates an array where it keeps the date "10-15-2018" with its total number of messages. Now I need to modify my array to be able to ca...
asked by 22.10.2018 / 03:07
1
answer

I can not run php artisan serve

I have been trying to run my site that is published on the web but I was giving this error:    chdir error (): No such file or directory (errno 2) however I did what I got in this post from SO , I ran again% e_co% and now it shows me ano...
asked by 06.10.2018 / 19:39
1
answer

Using Highcharts with Laravel (Blade) and MySQL

How do I pass parameters, data from the database? According to the documentation, the examples are with static value arrays, but I would like to obtain this information from a data source, register people by their sex and age, and then graph it....
asked by 11.06.2016 / 05:47
1
answer

Laravel / Eloquent query between unrelated tables (Many to many)

My problem is that I have a many to many relationship between the subject and teacher table, therefore, I have a detail or intermediate table ( teacherSubject ). I must show in Teacher the subject blade teacher that they are related...
asked by 14.06.2018 / 00:08
2
answers

How do I access a file created in the storage_path () folder in laravel?

I create a pdf with the package barryvdh / laravel-dompdf as follows: public function generarPdf(Request $req) { $datos = $req->data; Debugbar::info($datos); $archivo = storage_path().'\pdf\equipos\'.$datos[1].'-'.$datos[2]....
asked by 23.06.2017 / 09:23
3
answers

Authentication with another laravel table 5.4

I have a project in Laravel 5.4 and I want to use the authentication system that it brings, but with the information that is found in another table that has already been created through the migrations. The truth is that I have surfed all over...
asked by 07.06.2017 / 23:38