Posts by Felipe Nunes • 87 points
10 posts
-
0
votes1
answer110
viewsQ: @forelse within @forlese
Hello, I need to make one @forlese within a @forlese in Laravel: <div class="row"> <div class="col-md-12"> <h3>Contas cadastradas</h3> <table class="table…
-
0
votes1
answer1670
viewsA: Laravel only informs current date
Resolution: Failed to pass as parameter $emissao and $vencimento inside new \DateTime(); public function __construct($fornecedor, $emissao, $vencimento) { $this->fornecedor = $fornecedor;…
-
0
votes1
answer1670
viewsQ: Laravel only informs current date
Hello, I’m informing on Construct of my entity the date as follows: Entity: public function __construct($fornecedor, $emissao, $vencimento) { $this->fornecedor = $fornecedor; $this->emissao =…
-
0
votes1
answer1165
viewsQ: php function calling return from another function
Hi, I’m new to PHP OO and in the Doctrine. I would like to return the value of a function within another function. Is it possible? Both are within the same class. Function that will receive the…
-
1
votes1
answer267
viewsQ: Date update on Laravel
I would like to change the value of the date field at the time of a data edit. I can bring all values except the date. I’m using the Form:: of Laravel: {!! Form::label('dtemissao','Data de Emissão')…
-
3
votes1
answer786
viewsQ: findBy Doctrine
I would like to ask a question, I am using the command to make a filter: $FinContaspagar = $em->getRepository(FinContaspagar::class)->findBy(array('grupo' => '0')); However, I would like…
-
1
votes1
answer55
viewsQ: Laravel date error
I’m trying to bring the values of the database and present on the screen though he gives me the following error message: ErrorException in helpers.php line 531: htmlentities() expects parameter 1 to…
-
1
votes1
answer39
viewsA: Date with zero Doctrine value
I found the bug, I wrote the variable name inside the __Construct capital letter.
-
1
votes1
answer39
viewsQ: Date with zero Doctrine value
Good afternoon, I’m using the Doctrine In my project to control the bank. I am trying to enter a date but it does not return any value. If I use the $_POST I can see the value. Save function: public…
-
0
votes1
answer598
viewsQ: How to create entities with composite key in Doctrine?
I have a database that works with composite keys, and I am implementing the use of laravel framework. This is my bank’s structure: I’m using the Doctrine as ORM and discovered that I can not…