Add order booking completion confirmation resend route

This commit is contained in:
Jeppe B
2026-06-10 17:55:57 +02:00
parent e26034dfae
commit cb34b030c8
6 changed files with 203 additions and 1 deletions
+5 -1
View File
@@ -47,8 +47,12 @@ class pdf_store implements minio_pdfs_i
*/
public function download(string $file): string
{
if ($this->shouldUseLocalTestStorage()) {
return $this->getLocalTestObjectPath($file);
}
$path = '/tmp/' . $file;
$result = self::getS3Client()->getObject([
self::getS3Client()->getObject([
'Bucket' => self::getBucket(),
'Key' => $file,
'SaveAs' => $path