Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
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
agplv3
kohinos-tav
Commits
430458f3
Commit
430458f3
authored
3 years ago
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue with export operations
parent
f3b60d71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
FluxController.php
src/Controller/FluxController.php
+9
-9
No files found.
src/Controller/FluxController.php
View file @
430458f3
...
...
@@ -188,7 +188,7 @@ class FluxController extends AbstractController
'Type parent'
=>
'flux.parenttype'
,
'Type'
=>
'flux.type'
,
'Moyen'
=>
'flux.moyen'
,
'Référence'
=>
'reference'
,
'Référence'
=>
'
flux.
reference'
,
];
$source
=
new
DoctrineORMQuerySourceIterator
(
$query
,
$fields
);
...
...
@@ -198,10 +198,10 @@ class FluxController extends AbstractController
$format
);
foreach
(
$
this
->
source
as
$data
)
{
$data
[
'
createdAt'
]
=
(
new
\Datetime
(
$data
[
'createdAt
'
]))
->
format
(
'd/m/Y H:i:s'
);
$data
[
'
flux.type'
]
=
$this
->
translator
->
trans
(
$data
[
'flux.t
ype'
],
[],
'flux'
);
$data
[
'
montant'
]
=
number_format
(
$number
,
2
,
'.'
,
$data
[
'montant'
]
);
foreach
(
$source
as
$data
)
{
$data
[
'
Date'
]
=
(
new
\Datetime
(
$data
[
'Date
'
]))
->
format
(
'd/m/Y H:i:s'
);
$data
[
'
Type'
]
=
$this
->
translator
->
trans
(
$data
[
'T
ype'
],
[],
'flux'
);
$data
[
'
Montant'
]
=
number_format
(
$data
[
'Montant'
],
2
,
'.'
,
''
);
}
return
$this
->
getResponse
(
...
...
@@ -261,10 +261,10 @@ class FluxController extends AbstractController
$format
);
foreach
(
$
this
->
source
as
$data
)
{
$data
[
'
createdAt'
]
=
(
new
\Datetime
(
$data
[
'createdAt
'
]))
->
format
(
'd/m/Y H:i:s'
);
$data
[
'
type'
]
=
$this
->
translator
->
trans
(
$data
[
't
ype'
],
[],
'flux'
);
$data
[
'
montant'
]
=
number_format
(
$number
,
2
,
'.'
,
$data
[
'montant'
]
);
foreach
(
$source
as
$data
)
{
$data
[
'
Date'
]
=
(
new
\Datetime
(
$data
[
'Date
'
]))
->
format
(
'd/m/Y H:i:s'
);
$data
[
'
Type'
]
=
$this
->
translator
->
trans
(
$data
[
'T
ype'
],
[],
'flux'
);
$data
[
'
Montant'
]
=
number_format
(
$data
[
'Montant'
],
2
,
'.'
,
''
);
}
return
$this
->
getResponse
(
...
...
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