#134 - fill users data for resume #144

Merged
Baakoma merged 34 commits from #134-fill-users-data-for-resume into main 2022-05-18 08:50:41 +02:00
Showing only changes of commit 3864b5394c - Show all commits

View File

@@ -98,10 +98,15 @@ class ResumeGenerator
"start_date#{$index}" => Carbon::create($project["startDate"])->toDisplayString(),
"end_date#{$index}" => Carbon::create($project["endDate"])->toDisplayString(),
"description#{$index}" => $project["description"],
"tasks#{$index}" => $project["tasks"],
"tasks#{$index}" => $this->withNewLines($project["tasks"]),
];
}
protected function withNewLines(string $text): string
{
return Str::replace("\n", "</w:t><w:br/><w:t>", $text);
}
protected function getProjectTechnologies(array $project, int $index): array
{
$technologies = new Collection($project["technologies"] ?? []);