|
@@ -134,7 +134,7 @@ class Test extends Model {
|
|
|
|
|
|
|
|
// Attachments
|
|
// Attachments
|
|
|
$pdf_path = $this->getDirectory() . "/pdf.pdf";
|
|
$pdf_path = $this->getDirectory() . "/pdf.pdf";
|
|
|
- $pdf_name = implode(" - ", array_filter([$location->internal_id, date("jS M Y")]));
|
|
|
|
|
|
|
+ $pdf_name = implode(" - ", array_filter([$location->internal_id, date("jS M Y")])) . ".pdf";
|
|
|
|
|
|
|
|
// Build
|
|
// Build
|
|
|
$builder = new EmailBuilder;
|
|
$builder = new EmailBuilder;
|