CakeAccounting/templates/DeAccountStatements/view.php

37 lines
1.8 KiB
PHP
Raw Normal View History

2025-08-09 21:07:39 +00:00
<?php
/**
* @var \App\View\AppView $this
* @var \Cake\Datasource\EntityInterface $deAccountStatement
*/
?>
<div class="row">
<aside class="column">
<div class="side-nav">
<h4 class="heading"><?= __('Actions') ?></h4>
<?= $this->Html->link(__('Edit De Account Statement'), ['action' => 'edit', $deAccountStatement->account_number], ['class' => 'side-nav-item']) ?>
<?= $this->Form->postLink(__('Delete De Account Statement'), ['action' => 'delete', $deAccountStatement->account_number], ['confirm' => __('Are you sure you want to delete # {0}?', $deAccountStatement->account_number), 'class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('List De Account Statements'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('New De Account Statement'), ['action' => 'add'], ['class' => 'side-nav-item']) ?>
</div>
</aside>
<div class="column column-80">
<div class="deAccountStatements view content">
<h3><?= h($deAccountStatement->Array) ?></h3>
<table>
<tr>
<th><?= __('De Account') ?></th>
<td><?= $deAccountStatement->hasValue('de_account') ? $this->Html->link($deAccountStatement->de_account->name, ['controller' => 'DeAccounts', 'action' => 'view', $deAccountStatement->de_account->id]) : '' ?></td>
</tr>
<tr>
<th><?= __('Closing Balance') ?></th>
<td><?= $this->Number->format($deAccountStatement->closing_balance) ?></td>
</tr>
<tr>
<th><?= __('Statement Date') ?></th>
<td><?= h($deAccountStatement->statement_date) ?></td>
</tr>
</table>
</div>
</div>
</div>