Questions tagged as 'laravel'

1
answer

Save several records from a range of dates [closed]

I have 2 datepicker (Start date and End date), If the Start date is different from the final date placed in the datepicker's, as I do to create in the database a record for each day within the range of selected dates     
asked by 07.11.2018 / 14:31
3
answers

Multiple validation Regex in Laravel

I have a function that validates everything at Frontend level with Javascript but I also need to validate it in Backend with Laravel and Regex. The function is as follows: $('input[type=password]').keyup(function() { //Captura el valo...
asked by 07.11.2018 / 11:56
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

How to make redirect with request has ajax laravel

I have the following driver: public function store(HolRegRequest $request, RecHoliday $reghol) { $reghol->save(); if ($request->has('ajax_submit')) { $response = ['message' => trans('messages.holext') . ' ' . trans('mes...
asked by 31.10.2018 / 14:25
0
answers

put an arrangement in a text to be sent in laravel with a file

Good afternoon in the following my query is about the following, I have a table that has a checkbox in which I already map () and get the data I want to obtain, also formed as a kind of arrangement. What I have considered is the possibility of s...
asked by 30.10.2018 / 20:45
0
answers

How can I use MD5 CON SALT in Laravel

I am working on an application in laravel that connects to a database of another platform that is in MOODLE. Anyway .. I'm trying to make a login, for that I point my model User.php to the table mdl_user .. This login I had already done one time...
asked by 29.10.2018 / 17:48
0
answers

Post from Google Chrome Extension to API in Laravel

I would like to know if someone has an example of a post sent from Chrome Extension to a webservice made with Laravel. The problem is that I do not know how to send the laravel kernel token from javascript, it is specific from a Chrome extens...
asked by 29.10.2018 / 19:11
0
answers

Do not work popup menu in Bootstrap 4 in Laravel

I'm trying to make a drop-down menu to change the language of the application but I have not succeeded. In this file app.blade.php cargo Bootstrap, jquery and the drop-down menu. <!DOCTYPE html> <html lang="{{ str_replace('_...
asked by 29.10.2018 / 20:51
0
answers

How to configure the CONFIRMATION path of Payu to update a database with PHP - LARAVEL?

I'm integrating the PAYU payment gateway webcheckout. I can now send the purchase data to the payu platform through the form provided by payu webcheckout in the documentation. It's the next ... <form method="post" action="https://sandbox...
asked by 29.10.2018 / 20:47
2
answers

Too few arguments to function, 1 passed and exactly 2 expected "

Hello apparently I have an error in my collection controller which already tried everything but still can not find the error, if they could help me it would be a good gesture: /. I am trying to create a collection of an employee so I need your i...
asked by 27.10.2018 / 09:32