From 56b72b92bf6a6f7c67db8a35b4af0523a18dfad8 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 16 Dec 2025 11:06:15 +0100 Subject: [PATCH] wait #7902 @0.5 --- .../Commands/HemsleyListAllFluidbooks.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/Console/Commands/HemsleyListAllFluidbooks.php diff --git a/app/Console/Commands/HemsleyListAllFluidbooks.php b/app/Console/Commands/HemsleyListAllFluidbooks.php new file mode 100644 index 000000000..24ab4ed8a --- /dev/null +++ b/app/Console/Commands/HemsleyListAllFluidbooks.php @@ -0,0 +1,22 @@ +orderBy('id', 'ASC')->get(); + $csv = '#;Title' . "\r\n"; + foreach ($fluidbooks as $fluidbook) { + $csv .= $fluidbook->id . ';"' . utf8_decode($fluidbook->c_title) . '"' . "\r\n"; + } + file_put_contents(Files::mkdir(protected_path('hemsleyfraser')) . 'allfluidbook.csv', $csv); + + } +} -- 2.39.5