Revision 29675d6b
Von Bernd Bleßmann vor etwa 7 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
211 | 211 |
} |
212 | 212 |
} |
213 | 213 |
if ($self->order->ordnumber && $::instance_conf->get_doc_storage) { |
214 |
SL::File->save( object_id => $self->order->id, |
|
214 |
eval { |
|
215 |
SL::File->save(object_id => $self->order->id, |
|
215 | 216 |
object_type => $self->type, |
216 | 217 |
mime_type => 'application/pdf', |
217 | 218 |
source => 'created', |
218 | 219 |
file_type => 'document', |
219 | 220 |
file_name => $pdf_filename, |
220 | 221 |
file_contents => $pdf); |
222 |
1; |
|
223 |
} or do { |
|
224 |
$self->js->flash('error', t8('Storing PDF in storage backend failed: #1', $@)); |
|
225 |
} |
|
221 | 226 |
} |
222 | 227 |
$self->js->render; |
223 | 228 |
} |
locale/de/all | ||
---|---|---|
2926 | 2926 |
'Storage Type for generated/imported PDF Documents' => 'Speichertyp für erzeugte oder importierte Dokumente', |
2927 | 2927 |
'Storage Type for images' => 'Speichertyp für Bilder', |
2928 | 2928 |
'Storage Type for shopimages' => 'Speichertyp für Shopbilder', |
2929 |
'Storing PDF in storage backend failed: #1' => 'Speichern der PDF-Datei im Datei-Speicher fehlgeschlagen: #1', |
|
2929 | 2930 |
'Storing PDF to webdav folder failed: #1' => 'Speichern der PDF im WebDAV Ordner fehlgeschlagen: #1', |
2930 | 2931 |
'Storing the emails in the journal is currently disabled in the client configuration.' => 'Das Speichern von versendeten E-Mails ist derzeit in der Mandantenkonfigurierung abgeschaltet.', |
2931 | 2932 |
'Storno' => 'Storno', |
locale/en/all | ||
---|---|---|
2909 | 2909 |
'Storage Type for generated/imported PDF Documents' => '', |
2910 | 2910 |
'Storage Type for images' => '', |
2911 | 2911 |
'Storage Type for shopimages' => '', |
2912 |
'Storing PDF in storage backend failed: #1' => '', |
|
2912 | 2913 |
'Storing PDF to webdav folder failed: #1' => '', |
2913 | 2914 |
'Storing the emails in the journal is currently disabled in the client configuration.' => '', |
2914 | 2915 |
'Storno' => '', |
Auch abrufbar als: Unified diff
Auftrags-Controller: Fehler beim Speichern im Dateimanagement abfangen und anzeigen