|
@@ 387-393 (lines=7) @@
|
| 384 |
|
$worksheet->write($i, 1, $this->getGateway()->getDBQuery()->getFilter('text'), $format_italic); |
| 385 |
|
$i++; |
| 386 |
|
|
| 387 |
|
if ($this->getGateway()->getDbQuery()->checkFilter('product_id')) { |
| 388 |
|
$product = new Product($this->getKernel(), $this->getGateway()->getDbQuery()->getFilter('product_id')); |
| 389 |
|
|
| 390 |
|
$worksheet->write($i, 0, 'Produkt', $format_italic); |
| 391 |
|
$worksheet->write($i, 1, $product->get('name'), $format_italic); |
| 392 |
|
$i++; |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
if ($this->getGateway()->getDbQuery()->checkFilter('contact_id')) { |
| 396 |
|
$contact = new Contact($this->getKernel(), $this->getGateway()->getDbQuery()->getFilter('contact_id')); |
|
@@ 395-401 (lines=7) @@
|
| 392 |
|
$i++; |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
if ($this->getGateway()->getDbQuery()->checkFilter('contact_id')) { |
| 396 |
|
$contact = new Contact($this->getKernel(), $this->getGateway()->getDbQuery()->getFilter('contact_id')); |
| 397 |
|
|
| 398 |
|
$worksheet->write($i, 0, 'Kontakt', $format_italic); |
| 399 |
|
$worksheet->write($i, 1, $contact->address->get('name'), $format_italic); |
| 400 |
|
$i++; |
| 401 |
|
} |
| 402 |
|
|
| 403 |
|
$worksheet->write($i, 0, "Antal i søgningen", $format_italic); |
| 404 |
|
$worksheet->write($i, 1, count($posts), $format_italic); |