Your IP : 18.117.74.96


Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/
Upload File :
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-akceVyberyZaci.latte--cfaa17a35a.php

<?php

use Latte\Runtime as LR;

/** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceVyberyZaci.latte */
final class Templatecfaa17a35a extends Latte\Runtime\Template
{

	public function main(): array
	{
		extract($this->params);
		echo '        <table class="table table-striped table-sm table-bordered" style="max-width: 40rem;">
            <thead class="sticky-top top-0  bg-white">
                <tr>
                    <th>';
		echo LR\Filters::escapeHtmlText($trida) /* line 4 */;
		echo '</th>
                    <th>částka</th>
                    <th>pohyby</th>
                    <th>cash</th>
                </tr>
            </thead>
';
		$iterations = 0;
		foreach ($zaci as $zak) /* line 11 */ {
			echo '                    <tr>
                        <td class="text-nowrap">';
			echo LR\Filters::escapeHtmlText($zak->prijmeni) /* line 13 */;
			echo ' ';
			echo LR\Filters::escapeHtmlText($zak->jmeno) /* line 13 */;
			echo '</td>
                        <td class="text-end" style="width: 25%">';
			echo LR\Filters::escapeHtmlText(number_format($zak->castka, 2, ',', ' ')) /* line 15 */;
			echo '</td>
                        <td class="text-center p-0" style="width: 3rem">
                            <button id="btn-zaci-pohyby-';
			echo LR\Filters::escapeHtmlAttr($zak->id) /* line 17 */;
			echo '" class="btn border-0" onclick="akceZaciPohyby(';
			echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($zak->id)) /* line 17 */;
			echo ')"><i class="fa-solid fa-arrow-right-arrow-left"></i></button>
                        </td>
                        <td class="text-center p-0" style="width: 3rem">
                            <button id="btn-zaci-cash-';
			echo LR\Filters::escapeHtmlAttr($zak->id) /* line 20 */;
			echo '" class="btn text-primary border-0" onclick="akceZaciCash(';
			echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($zak->id)) /* line 20 */;
			echo ')"><i class="fa-solid fa-cash-register"></i></button>
                        </td>
                        
                    </tr>
';
			$iterations++;
		}
		echo '            <tbody>

            </tbody>
        </table>';
		return get_defined_vars();
	}


	public function prepare(): void
	{
		extract($this->params);
		if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") {
			foreach (array_intersect_key(['zak' => '11'], $this->params) as $ʟ_v => $ʟ_l) {
				trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l");
			}
		}
		
	}

}