@@ -122,6 +122,10 @@ |
||
| 122 | 122 | |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | + /** |
|
| 126 | + * @param boolean $response |
|
| 127 | + * @param string $templatePath |
|
| 128 | + */ |
|
| 125 | 129 | private function processPdf($response, $templatePath, $fieldData, $investment, $hash) |
| 126 | 130 | { |
| 127 | 131 | $pdf = new \FPDM($templatePath); |
@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | parent::beforeRender(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $name |
|
| 42 | + */ |
|
| 40 | 43 | public function createComponentForm($name) |
| 41 | 44 | { |
| 42 | 45 | $form = $this->createForm('form-submit', 'default', null); |
@@ -406,6 +409,9 @@ discard block |
||
| 406 | 409 | $this->sendPayload(); |
| 407 | 410 | } |
| 408 | 411 | |
| 412 | + /** |
|
| 413 | + * @param string $type |
|
| 414 | + */ |
|
| 409 | 415 | public function sendPdf($investment, $type) |
| 410 | 416 | { |
| 411 | 417 | $emailSender = new EmailSender($this->settings, $investment, $type); |