Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-akceZaciPohybyTableBody.latte--3c7405ed74.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceZaciPohybyTableBody.latte */ final class Template3c7405ed74 extends Latte\Runtime\Template { public function main(): array { extract($this->params); $iterations = 0; foreach ($body->pohyby as $pohyb) /* line 1 */ { echo ' <tr> '; $pridano = explode(' ', $pohyb->pridano); /* line 3 */; echo ' <td>'; echo LR\Filters::escapeHtmlText($pridano[0]) /* line 6 */; echo '</td> <td>'; if ($pohyb->pohybtyp == 'b') /* line 7 */ { echo 'převodem'; } else /* line 7 */ { echo 'pokladnou'; } echo '</td> <td class="text-end editable" >'; echo LR\Filters::escapeHtmlText(number_format($pohyb->castka, 2, ',', ' ')) /* line 8 */; echo '</td> '; if ($pohyb->pohybtyp == 'p') /* line 9 */ { echo ' <td id="edit-'; echo LR\Filters::escapeHtmlAttr($pohyb->id) /* line 10 */; echo '" class="text-center pointer " onclick="editPohyb('; echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($pohyb->id)) /* line 10 */; echo ')"><i class="fa-regular fa-pen-to-square text-primary"></i></td> <td id="delete-'; echo LR\Filters::escapeHtmlAttr($pohyb->id) /* line 11 */; echo '" class="text-center pointer confirm-delete"><i class="fa-regular fa-trash-can text-danger"></i></td> '; } else /* line 12 */ { echo ' <td> </td> <td> </td> '; } echo ' </tr> '; $iterations++; } $time = time() /* line 19 */; echo ' <script src="assets/js/global/confirmDelete.js?v='; echo LR\Filters::escapeHtmlAttr(LR\Filters::safeUrl($time)) /* line 20 */; echo '"></script>'; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['pohyb' => '1'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } } }