Skip to content

Commit

Permalink
fixed column not marked as currency correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
StvL97 committed Oct 2, 2024
1 parent 8ccf158 commit 3d337f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public function applyColumnFormat(): void

//needed for currencies
if (null !== ($formatCode = $formatter->getFormatCode())) {
$format['formatCode'] = $formatCode;
$format['numberFormat']['formatCode'] = $formatCode;
}

$sheet->getStyle($column->getName() . ':' . $column->getName())
Expand Down

0 comments on commit 3d337f6

Please sign in to comment.