Questions tagged as 'laravel-5'

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
0
answers

Learning to use FPDF

You see, I am learning to use a library for PDF document development called Fpdf. I have this code: public function imprimir(Articulo $articulo){ $pdf=new Fpdf(); $pdf->AddPage(); $pdf->Image($articulo->foto->ruta(),...
asked by 26.10.2018 / 09:41
1
answer

Using Clone () in laravel

I'm trying to make a copy of both format and content (one input and 2 select), so that at the moment of pressing a button, that mini form appears, to put it some way below the original, I have researched and they tell me that with the .clone of...
asked by 26.10.2018 / 21:05
1
answer

doubt construction form

Good morning I have a form that I make inside a cell of a table, what I have there works well. link The problem is that I wanted to leave the button in a cell separately, but it is not possible, since this divides my form, therefore i...
asked by 25.10.2018 / 02:43
0
answers

Export to Excel 3.1, apply style and a report title

Someone knows some more complete documentation of Export Excel 3.1 I want to join cells for the name of my report and give them a style until now I just manage to put the header. public function headings(): array { return [...
asked by 25.10.2018 / 18:19
0
answers

Datatable does the search command but does not show the result

I managed to make him make the command to look up the data of a table, but he does not show them in the datatable, I do not know why. Does the query, but does not show it. I already asked this question 2 times, and nobody even tells you. I do...
asked by 25.10.2018 / 03:56
0
answers

Create a Checkbox

My question is the following as I can call from a mysql database in my view in laravel, and filling that data in a list with checkbox so that I can choose the user to whom I want to upload a file of type pdf or doc or txt if you could help me wi...
asked by 25.10.2018 / 19:32
0
answers

Learning to use scripts

You see, I have the following code: <script> function jmgModal(id, data, ok, cancel, input){ data=data || {}; id="modal-"+id; if(document.getElementById(id)==null){ var d=document.createElement("div"); d.c...
asked by 25.10.2018 / 21:47
0
answers

Print a document

You see, I have the following function to create a document in Word format: public function imprimir(Articulo $articulo){ $deciso='descargas/'.$articulo->titulo.'.docx'; if(!file_exists($deciso)){ $phpWord=new \PhpOffice\Php...
asked by 23.10.2018 / 17:01