34 lines
1.3 KiB
PHP
34 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* @var \App\View\AppView $this
|
|
* @var \Cake\Datasource\EntityInterface $deJournalItem
|
|
* @var \Cake\Collection\CollectionInterface|string[] $deJournalEntries
|
|
*/
|
|
?>
|
|
<div class="row">
|
|
<aside class="column">
|
|
<div class="side-nav">
|
|
<h4 class="heading"><?= __('Actions') ?></h4>
|
|
<?= $this->Html->link(__('List De Journal Items'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
|
|
</div>
|
|
</aside>
|
|
<div class="column column-80">
|
|
<div class="deJournalItems form content">
|
|
<?= $this->Form->create($deJournalItem) ?>
|
|
<fieldset>
|
|
<legend><?= __('Add De Journal Item') ?></legend>
|
|
<?php
|
|
echo $this->Form->control('account_number_credit');
|
|
echo $this->Form->control('account_number_debit');
|
|
echo $this->Form->control('external_account_number_credit');
|
|
echo $this->Form->control('external_account_number_debit');
|
|
echo $this->Form->control('de_journal_entry_id', ['options' => $deJournalEntries]);
|
|
echo $this->Form->control('amount');
|
|
?>
|
|
</fieldset>
|
|
<?= $this->Form->button(__('Submit')) ?>
|
|
<?= $this->Form->end() ?>
|
|
</div>
|
|
</div>
|
|
</div>
|