Questions tagged as 'symfony'

0
answers

FullCalendar add holidays automatically.

Is there any way to add to fullcalendar, in this case I use the laravel framework, national holidays in an "automatic" way? I know I can create arrays, and I know how to add them, let's say inserting from a button, but I would like to know if th...
asked by 18.06.2018 / 16:37
0
answers

Counting and filtering of database content using PHP and mySQL

I need to generate statistics for my ticketing system. I have a database called tickets , where everything is linked to other tables using the primary keys of these. When a technician is assigned a ticket, it specifies which company to vis...
asked by 13.06.2018 / 00:09
1
answer

Count the number of records in my BD ManyToMany

I do not know how to explain to me so that they understand me, I even think that I asked the question badly, let's see, I need to know how (I better put examples), I have a reservation table, and a food table, their relationship is much To much,...
asked by 05.06.2018 / 21:05
0
answers

Test in sonata admin bundle

I'm trying to verify that a form with children objects works in sonata admin bundle. The problem is that the form I want to check has associated children objects. $form = $crawler->selectButton('Crear y editar')->form(array()); parse_...
asked by 31.05.2018 / 09:51
1
answer

How to control a heavy process in a command

I need to send hundreds or thousands of emails with or without attachments. For this I have thought about using a ContainerAwareCommand that I can launch from the cron and to monitor it using the same console or that I keep certain values in bd...
asked by 29.05.2018 / 23:53
1
answer

How to show the age of a person in Symfony with twig

I have this PHP code that works but I would like to be able to use the same but within twig in symfony. <?php $cumpleanos = new DateTime("1982-06-03"); $hoy = new DateTime(); $annos = $hoy->diff($cumpleanos); echo $annos-...
asked by 31.05.2018 / 01:07
0
answers

Save data in BD with synfony and Javascript

I have some doubts when it comes to saving in my database. I have a dynamic table to which I add the rows that I want and I put some data. I am using symfony to save the data in the database, but at the time of doing the submit it only saves...
asked by 29.05.2018 / 09:48
0
answers

Save data in database using synfony 3.4 and dynamic table

good afternoon. I have some doubts when it comes to how to save data in the database. I am using the synfony 3.4 framework to save the data with the form in my database, but I have found a problem. When making a delivery note I need to add diffe...
asked by 28.05.2018 / 18:07
0
answers

Symfony Sonata Admin: ask_confirmation template

It is possible to change the confirmation template (ask_confirm = > true) or if there is a way to change the buttons and be able to customize them In code what I do is $actions['changeStatus'] = array( 'label' =&g...
asked by 24.05.2018 / 13:46
1
answer

QueryBuilder generates Error: Expected Literal, got 'SELECT'

How are you? I am developing a program with symfony 3.4, xampp and mariadb 10. I must make a query with a nested subquery: I must go through an APPLICATION table looking for if there is not a certain PERSON that I am looking for with your ID...
asked by 26.05.2018 / 00:02