Your IP : 3.143.244.58


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-akceVyberyTridaTisk.latte--ea3e83ecac.php

<?php

use Latte\Runtime as LR;

/** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/akceVyberyTridaTisk.latte */
final class Templateea3e83ecac extends Latte\Runtime\Template
{
	protected const BLOCKS = [
		['tisk' => 'blockTisk'],
	];


	public function main(): array
	{
		extract($this->params);
		echo '

';
		if ($this->getParentName()) {
			return get_defined_vars();
		}
		$this->renderBlock('tisk', get_defined_vars()) /* line 4 */;
		return get_defined_vars();
	}


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


	/** {block tisk} on line 4 */
	public function blockTisk(array $ʟ_args): void
	{
		extract($this->params);
		extract($ʟ_args);
		unset($ʟ_args);
		echo '<div class="text-end small">tisk: ';
		echo LR\Filters::escapeHtmlText(($this->filters->date)(date('d.m.Y'), 'd.m.Y')) /* line 5 */;
		echo '</div>
<div class="d-flex h2 mb-3 mt-1 pb-2 border-bottom border-top border-dark">
    <div class="">';
		echo LR\Filters::escapeHtmlText($akce) /* line 7 */;
		echo '</div>
    <div class="ms-auto">';
		echo LR\Filters::escapeHtmlText($trida) /* line 8 */;
		echo '</div>
</div>

<div class="row w-100">
    <div class="col-6">
        <table class="table table-sm table-bordered" style="max-width: 40rem;">
            <thead>
                <tr>
                    <th>#</th>
                    <th>žák</th>
                    <th>částka</th>
                </tr>
            </thead>
            <tbody>
';
		$i = 0;
		$platilo = 0 /* line 22 */;
		$iterations = 0;
		foreach ($zaci as $zak) /* line 23 */ {
			$i++ /* line 24 */;
			echo '        ';
			if ($zak->castka) /* line 25 */ {
				$platilo++ /* line 25 */;
			}
			echo "\n";
			if ($i == 16) /* line 26 */ {
				echo '            </tbody>
        </table>     
    </div>    
    <div class="col-6">       
        <table class="table table-sm table-bordered" style="max-width: 40rem;">
            <thead>
                <tr>
                    <th>#</th>
                    <th>žák</th>
                    <th>částka</th>
                </tr>
            </thead>
            <tbody>
';
			}
			echo '                    <tr>
                        <td class="text-end">';
			echo LR\Filters::escapeHtmlText($i) /* line 42 */;
			echo '</td>
                        <td class="text-nowrap">';
			echo LR\Filters::escapeHtmlText($zak->prijmeni) /* line 43 */;
			echo ' ';
			echo LR\Filters::escapeHtmlText($zak->jmeno) /* line 43 */;
			echo '</td>
                        <td class="text-end" style="width: 25%">';
			echo LR\Filters::escapeHtmlText(number_format($zak->castka, 2, ',', ' ')) /* line 44 */;
			echo '</td>
                        
                    </tr>
';
			$iterations++;
		}
		echo '            </tbody>
        </table>
    </div>
    <div class="d-flex">
        <div class="me-3">Celkem: ';
		echo LR\Filters::escapeHtmlText($i) /* line 52 */;
		echo '</div>
        <div>Platilo: ';
		echo LR\Filters::escapeHtmlText($platilo) /* line 53 */;
		echo '</div>
    </div>    
</div>    
';
	}

}