<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\Budget $budget
 */
?>
<nav class="large-3 medium-4 columns" id="actions-sidebar">
    <ul class="side-nav">
        <li class="heading"><?= __('Actions') ?></li>
        <li><?= $this->Html->link(__('Edit Budget'), ['action' => 'edit', $budget->id]) ?> </li>
        <li><?= $this->Form->postLink(__('Delete Budget'), ['action' => 'delete', $budget->id], ['confirm' => __('Are you sure you want to delete # {0}?', $budget->id)]) ?> </li>
        <li><?= $this->Html->link(__('List Budget'), ['action' => 'index']) ?> </li>
        <li><?= $this->Html->link(__('New Budget'), ['action' => 'add']) ?> </li>
        <li><?= $this->Html->link(__('List Wl Schooltypes'), ['controller' => 'WlSchooltypes', 'action' => 'index']) ?> </li>
        <li><?= $this->Html->link(__('New Wl Schooltype'), ['controller' => 'WlSchooltypes', 'action' => 'add']) ?> </li>
        <li><?= $this->Html->link(__('List Wl Budgets'), ['controller' => 'WlBudgets', 'action' => 'index']) ?> </li>
        <li><?= $this->Html->link(__('New Wl Budget'), ['controller' => 'WlBudgets', 'action' => 'add']) ?> </li>
    </ul>
</nav>
<div class="budget view large-9 medium-8 columns content">
    <h3><?= h($budget->id) ?></h3>
    <table class="vertical-table">
        <tr>
            <th scope="row"><?= __('Wl Schooltype') ?></th>
            <td><?= $budget->has('wl_schooltype') ? $this->Html->link($budget->wl_schooltype->short, ['controller' => 'WlSchooltypes', 'action' => 'view', $budget->wl_schooltype->id]) : '' ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Snr') ?></th>
            <td><?= h($budget->snr) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Wl Budget') ?></th>
            <td><?= $budget->has('wl_budget') ? $this->Html->link($budget->wl_budget->wl_kurz_bezeichnung, ['controller' => 'WlBudgets', 'action' => 'view', $budget->wl_budget->id]) : '' ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Comment') ?></th>
            <td><?= h($budget->comment) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Year') ?></th>
            <td><?= h($budget->year) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Id') ?></th>
            <td><?= $this->Number->format($budget->id) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Count') ?></th>
            <td><?= $this->Number->format($budget->count) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Created') ?></th>
            <td><?= h($budget->created) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Modified') ?></th>
            <td><?= h($budget->modified) ?></td>
        </tr>
        <tr>
            <th scope="row"><?= __('Asd') ?></th>
            <td><?= $budget->asd ? __('Yes') : __('No'); ?></td>
        </tr>
    </table>
</div>
