CakeAccounting/templates/DeAccountTransactions/view.php

45 lines
2.2 KiB
PHP
Raw Normal View History

2025-08-09 21:07:39 +00:00
<?php
/**
* @var \App\View\AppView $this
* @var \Cake\Datasource\EntityInterface $deAccountTransaction
*/
?>
<div class="row">
<aside class="column">
<div class="side-nav">
<h4 class="heading"><?= __('Actions') ?></h4>
<?= $this->Html->link(__('Edit De Account Transaction'), ['action' => 'edit', $deAccountTransaction->ledger_id], ['class' => 'side-nav-item']) ?>
<?= $this->Form->postLink(__('Delete De Account Transaction'), ['action' => 'delete', $deAccountTransaction->ledger_id], ['confirm' => __('Are you sure you want to delete # {0}?', $deAccountTransaction->ledger_id), 'class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('List De Account Transactions'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
<?= $this->Html->link(__('New De Account Transaction'), ['action' => 'add'], ['class' => 'side-nav-item']) ?>
</div>
</aside>
<div class="column column-80">
<div class="deAccountTransactions view content">
<h3><?= h($deAccountTransaction->transaction_type_code) ?></h3>
<table>
<tr>
<th><?= __('De Transaction') ?></th>
<td><?= $deAccountTransaction->hasValue('de_transaction') ? $this->Html->link($deAccountTransaction->de_transaction->ledger_transaction_type_code, ['controller' => 'DeTransactions', 'action' => 'view', $deAccountTransaction->de_transaction->ledger_id]) : '' ?></td>
</tr>
<tr>
<th><?= __('Transaction Type Code') ?></th>
<td><?= h($deAccountTransaction->transaction_type_code) ?></td>
</tr>
<tr>
<th><?= __('De Code') ?></th>
<td><?= h($deAccountTransaction->de_code) ?></td>
</tr>
<tr>
<th><?= __('Account Number') ?></th>
<td><?= h($deAccountTransaction->account_number) ?></td>
</tr>
<tr>
<th><?= __('Submitted At') ?></th>
<td><?= h($deAccountTransaction->submitted_at) ?></td>
</tr>
</table>
</div>
</div>
</div>