Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-mlc
kohinos
Commits
fb315506
Commit
fb315506
authored
6 years ago
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug transfert adherent presta
parent
94c2f465
master
…
dev
update-from-kohinos-repo
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
UserAdherentController.php
src/Controller/UserAdherentController.php
+3
-0
No files found.
src/Controller/UserAdherentController.php
View file @
fb315506
...
@@ -6,10 +6,12 @@ use App\Entity\Adherent;
...
@@ -6,10 +6,12 @@ use App\Entity\Adherent;
use
App\Entity\Cotisation
;
use
App\Entity\Cotisation
;
use
App\Entity\Geoloc
;
use
App\Entity\Geoloc
;
use
App\Entity\TransactionAdherentAdherent
;
use
App\Entity\TransactionAdherentAdherent
;
use
App\Entity\TransactionAdherentPrestataire
;
use
App\Entity\Usergroup
;
use
App\Entity\Usergroup
;
use
App\Form\Type\AdherentInfosFormType
;
use
App\Form\Type\AdherentInfosFormType
;
use
App\Form\Type\AdhererFormType
;
use
App\Form\Type\AdhererFormType
;
use
App\Form\Type\TransactionAdherentAdherentFormType
;
use
App\Form\Type\TransactionAdherentAdherentFormType
;
use
App\Form\Type\TransactionAdherentPrestataireFormType
;
use
Doctrine\ORM\EntityManagerInterface
;
use
Doctrine\ORM\EntityManagerInterface
;
use
FOS\UserBundle\Model\UserManagerInterface
;
use
FOS\UserBundle\Model\UserManagerInterface
;
use
Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted
;
use
Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted
;
...
@@ -55,6 +57,7 @@ class UserAdherentController extends AbstractController
...
@@ -55,6 +57,7 @@ class UserAdherentController extends AbstractController
{
{
$entity
=
new
TransactionAdherentPrestataire
();
$entity
=
new
TransactionAdherentPrestataire
();
$entity
->
setOperateur
(
$this
->
getUser
());
$entity
->
setOperateur
(
$this
->
getUser
());
$entity
->
setExpediteur
(
$this
->
getUser
()
->
getAdherent
());
$form
=
$this
->
createForm
(
TransactionAdherentPrestataireFormType
::
class
,
$entity
);
$form
=
$this
->
createForm
(
TransactionAdherentPrestataireFormType
::
class
,
$entity
);
$form
->
handleRequest
(
$request
);
$form
->
handleRequest
(
$request
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment