|
@@ 114-121 (lines=8) @@
|
| 111 |
|
$color = 0; |
| 112 |
|
|
| 113 |
|
for ($i = 0, $max = count($items); $i < $max; $i++) { |
| 114 |
|
if ($color == 1) { |
| 115 |
|
$this->doc->setColor(0.8, 0.8, 0.8); |
| 116 |
|
$this->doc->filledRectangle($this->doc->get("margin_left"), $this->doc->get('y') - $this->doc->get("font_spacing"), $this->doc->get("right_margin_position") - $this->doc->get("margin_left"), $this->doc->get("font_spacing")); |
| 117 |
|
$this->doc->setColor(0, 0, 0); |
| 118 |
|
$color = 0; |
| 119 |
|
} else { |
| 120 |
|
$color = 1; |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
$this->doc->setY('-'.($this->doc->get("font_size") + $this->doc->get("font_padding_top"))); |
| 124 |
|
|
|
@@ 140-147 (lines=8) @@
|
| 137 |
|
$items = $reminder->item->getList("reminder"); |
| 138 |
|
|
| 139 |
|
for ($i = 0, $max = count($items); $i < $max; $i++) { |
| 140 |
|
if ($color == 1) { |
| 141 |
|
$this->doc->setColor(0.8, 0.8, 0.8); |
| 142 |
|
$this->doc->filledRectangle($this->doc->get("margin_left"), $this->doc->get('y') - $this->doc->get("font_spacing"), $this->doc->get("right_margin_position") - $this->doc->get("margin_left"), $this->doc->get("font_spacing")); |
| 143 |
|
$this->doc->setColor(0, 0, 0); |
| 144 |
|
$color = 0; |
| 145 |
|
} else { |
| 146 |
|
$color = 1; |
| 147 |
|
} |
| 148 |
|
|
| 149 |
|
$this->doc->setY('-'.($this->doc->get("font_size") + $this->doc->get("font_padding_top"))); |
| 150 |
|
$this->doc->addText($apointX["text"], $this->doc->get('y'), $this->doc->get("font_size"), "Rykkkergebyr fra tidligere rykker"); |
|
@@ 163-170 (lines=8) @@
|
| 160 |
|
} |
| 161 |
|
|
| 162 |
|
if ($reminder->get("reminder_fee") > 0) { |
| 163 |
|
if ($color == 1) { |
| 164 |
|
$this->doc->setColor(0.8, 0.8, 0.8); |
| 165 |
|
$this->doc->filledRectangle($this->doc->get("margin_left"), $this->doc->get('y') - $this->doc->get("font_spacing"), $this->doc->get("right_margin_position") - $this->doc->get("margin_left"), $this->doc->get("font_spacing")); |
| 166 |
|
$this->doc->setColor(0, 0, 0); |
| 167 |
|
$color = 0; |
| 168 |
|
} else { |
| 169 |
|
$color = 1; |
| 170 |
|
} |
| 171 |
|
|
| 172 |
|
$this->doc->setY('-'.($this->doc->get("font_size") + $this->doc->get("font_padding_top"))); |
| 173 |
|
$this->doc->addText($apointX["text"], $this->doc->get('y'), $this->doc->get("font_size"), "Rykkergebyr p�lagt denne rykker"); |