Initial commit
This commit is contained in:
83
src/Template/WlBudgets/view.ctp
Normal file
83
src/Template/WlBudgets/view.ctp
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/**
|
||||
* @var \App\View\AppView $this
|
||||
* @var \App\Model\Entity\WlBudget $wlBudget
|
||||
*/
|
||||
?>
|
||||
<nav class="large-3 medium-4 columns" id="actions-sidebar">
|
||||
<ul class="side-nav">
|
||||
<li class="heading"><?= __('Actions') ?></li>
|
||||
<li><?= $this->Html->link(__('Edit Wl Budget'), ['action' => 'edit', $wlBudget->id]) ?> </li>
|
||||
<li><?= $this->Form->postLink(__('Delete Wl Budget'), ['action' => 'delete', $wlBudget->id], ['confirm' => __('Are you sure you want to delete # {0}?', $wlBudget->id)]) ?> </li>
|
||||
<li><?= $this->Html->link(__('List Wl Budgets'), ['action' => 'index']) ?> </li>
|
||||
<li><?= $this->Html->link(__('New Wl Budget'), ['action' => 'add']) ?> </li>
|
||||
<li><?= $this->Html->link(__('List Budget'), ['controller' => 'Budget', 'action' => 'index']) ?> </li>
|
||||
<li><?= $this->Html->link(__('New Budget'), ['controller' => 'Budget', 'action' => 'add']) ?> </li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="wlBudgets view large-9 medium-8 columns content">
|
||||
<h3><?= h($wlBudget->wl_kurz_bezeichnung) ?></h3>
|
||||
<table class="vertical-table">
|
||||
<tr>
|
||||
<th scope="row"><?= __('Wl Werteliste Nr') ?></th>
|
||||
<td><?= h($wlBudget->wl_werteliste_nr) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?= __('Wl Kurz Bezeichnung') ?></th>
|
||||
<td><?= h($wlBudget->wl_kurz_bezeichnung) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?= __('Schulart') ?></th>
|
||||
<td><?= h($wlBudget->schulart) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?= __('Id') ?></th>
|
||||
<td><?= $this->Number->format($wlBudget->id) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?= __('Created') ?></th>
|
||||
<td><?= h($wlBudget->created) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?= __('Modfied') ?></th>
|
||||
<td><?= h($wlBudget->modfied) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="related">
|
||||
<h4><?= __('Related Budget') ?></h4>
|
||||
<?php if (!empty($wlBudget->budget)): ?>
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th scope="col"><?= __('Id') ?></th>
|
||||
<th scope="col"><?= __('Wl Schooltype Id') ?></th>
|
||||
<th scope="col"><?= __('Snr') ?></th>
|
||||
<th scope="col"><?= __('Wl Budget Id') ?></th>
|
||||
<th scope="col"><?= __('Count') ?></th>
|
||||
<th scope="col"><?= __('Comment') ?></th>
|
||||
<th scope="col"><?= __('Year') ?></th>
|
||||
<th scope="col"><?= __('Created') ?></th>
|
||||
<th scope="col"><?= __('Modified') ?></th>
|
||||
<th scope="col" class="actions"><?= __('Actions') ?></th>
|
||||
</tr>
|
||||
<?php foreach ($wlBudget->budget as $budget): ?>
|
||||
<tr>
|
||||
<td><?= h($budget->id) ?></td>
|
||||
<td><?= h($budget->wl_schooltype_id) ?></td>
|
||||
<td><?= h($budget->snr) ?></td>
|
||||
<td><?= h($budget->wl_budget_id) ?></td>
|
||||
<td><?= h($budget->count) ?></td>
|
||||
<td><?= h($budget->comment) ?></td>
|
||||
<td><?= h($budget->year) ?></td>
|
||||
<td><?= h($budget->created) ?></td>
|
||||
<td><?= h($budget->modified) ?></td>
|
||||
<td class="actions">
|
||||
<?= $this->Html->link(__('View'), ['controller' => 'Budget', 'action' => 'view', $budget->id]) ?>
|
||||
<?= $this->Html->link(__('Edit'), ['controller' => 'Budget', 'action' => 'edit', $budget->id]) ?>
|
||||
<?= $this->Form->postLink(__('Delete'), ['controller' => 'Budget', 'action' => 'delete', $budget->id], ['confirm' => __('Are you sure you want to delete # {0}?', $budget->id)]) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user