Skip to content
GitLab
Erkunden
Anmelden
Registrieren
Primärnavigation
Suchen oder aufrufen …
Projekt
erp
Verwalten
Aktivität
Mitglieder
Labels
Planen
Tickets
20
Ticketübersichten
Meilensteine
Wiki
Code
Merge Requests
0
Repository
Branch
Commits
Tags
Repository-Diagramm
Revisionen vergleichen
Build
Pipelines
Aufgaben
Pipeline-Zeitpläne
Artefakte
Bereitstellung
Releases
Betreiben
Umgebungen
Überwachen
Vorfälle
Service-Desk
Analysieren
Wertschöpfungskettenanalyse
Mitwirkenden-Analyse
CI/CD-Analyse
Repository-Analysen
Hilfe
Hilfe
Support
GitLab-Dokumentation
GitLab-Pläne vergleichen
Community-Forum
Zu GitLab beitragen
Feedback geben
Tastenkürzel
?
Code-Schnipsel
Gruppen
Projekte
Show more breadcrumbs
QUIQQER
erp
Merge Requests
!165
fix(ArticleListUnique): no longer format already formatted totals
Code
Änderungen prüfen
Branch auschecken
Herunterladen
Patches
Unformatierter Diff
Zusammengeführt
fix(ArticleListUnique): no longer format already formatted totals
next-3.x
nach
main
Übersicht
1
Commits
1
Pipelines
1
Änderungen
1
Zusammengeführt
Henning Leutz
schlägt
vor 2 Monaten
vor,
next-3.x
in
main
zu mergen.
Übersicht
1
Commits
1
Pipelines
1
Änderungen
1
Aufklappen
0
0
Merge Request-Berichte
Vergleiche
main
main (basis)
und
neuste Version
neuste Version
172ec904
1 Commit,
vor 2 Monaten
1 Datei
+
14
−
12
In der Reihe
Änderungen vergleichen
Nebeneinander
In der Reihe
Leerzeichenänderungen anzeigen
Eine Datei nach der anderen anzeigen
src/QUI/ERP/Accounting/ArticleListUnique.php
+
14
−
12
Optionen
@@ -418,21 +418,23 @@ public function toHTML(
}
// price display
foreach
(
$vatArray
as
$key
=>
$vat
)
{
$vatArray
[
$key
][
'sum'
]
=
$Currency
->
format
(
$vat
[
'sum'
]);
}
if
(
is_numeric
(
$this
->
calculations
[
'sum'
]))
{
foreach
(
$vatArray
as
$key
=>
$vat
)
{
$vatArray
[
$key
][
'sum'
]
=
$Currency
->
format
(
$vat
[
'sum'
]);
}
$this
->
calculations
[
'sum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'sum'
]);
$this
->
calculations
[
'subSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'subSum'
]);
$this
->
calculations
[
'sum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'sum'
]);
$this
->
calculations
[
'subSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'subSum'
]);
// Fallback for older unique article lists
if
(
!
isset
(
$this
->
calculations
[
'grandSubSum'
]))
{
$this
->
calculations
[
'grandSubSum'
]
=
$this
->
calculations
[
'sum'
];
}
// Fallback for older unique article lists
if
(
!
isset
(
$this
->
calculations
[
'grandSubSum'
]))
{
$this
->
calculations
[
'grandSubSum'
]
=
$this
->
calculations
[
'sum'
];
}
$this
->
calculations
[
'grandSubSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'grandSubSum'
]);
$this
->
calculations
[
'nettoSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'nettoSum'
]);
$this
->
calculations
[
'nettoSubSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'nettoSubSum'
]);
$this
->
calculations
[
'grandSubSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'grandSubSum'
]);
$this
->
calculations
[
'nettoSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'nettoSum'
]);
$this
->
calculations
[
'nettoSubSum'
]
=
$Currency
->
format
(
$this
->
calculations
[
'nettoSubSum'
]);
}
$articles
=
[];