Exemplo n.º 1
0
echo '</tr>';
echo '</table>';
// Attached Files
echo Radix::block('file-list', $this->FileList);
// Buttons & Hiddden
echo '<div class="bf">';
echo Form::hidden('id', $this->AccountJournalEntry['id']);
echo '<button accesskey="s" class="good" name="a" type="submit" value="save">Save</button>';
echo '<button class="good" name="a" type="submit" value="save-copy">Save & Copy</button>';
// echo '<input class="good" accesskey="s" name="a" type="submit" value="Save">';
// echo Form::submit('c','Apply');
// echo Form::button('a', 'Save');
echo '<button accesskey="n" class="info" onclick="addLedgerEntryLine();" type="button">Add Line</button>';
// Can Memorize New
if (empty($this->AccountJournalEntry['id'])) {
    echo Form::submit('a', 'Memorize');
}
if ($this->AccountJournalEntry['id']) {
    echo '<input class="fail" name="a" type="submit" value="Delete">';
}
echo '</div>';
// File
echo '<table>';
echo '<tr><td class="l">Attach:</td><td><input name="file" type="file">&nbsp;' . $this->FileMax . '</td></tr>';
echo '</table>';
// @todo Email Notify Field Here?
echo '</form>';
// History
$args = array('list' => $this->AccountJournalEntry->getHistory());
echo Radix::block('diff-list', $args);
?>
Exemplo n.º 2
0
<?php

/**
	Select an Account Period

	@copyright	2002 Edoceo, Inc
	@package    edoceo-imperium
	@link       http://imperium.edoceo.com
	@since      File available since Release 1013
*/
namespace Edoceo\Imperium;

use Edoceo\Radix;
use Edoceo\Radix\HTML\Form;
echo '<div class="bf c">';
echo Form::select('m', $_GET['m'], Radix::$view->MonthList);
//null,$this->data['month'],null,false); // Month
echo Form::select('y', $_GET['y'], Radix::$view->YearList);
//null,$this->data['year'],null,false); // Year
echo Form::select('p', $_GET['p'], Radix::$view->PeriodList);
//null,$this->data['period'],null,false); // Period
echo Form::submit('c', 'View');
echo '<div class="bf c">';
echo '<label for="xc">&nbsp;' . Form::checkbox('xc', 'true', 'true' == $_GET['xc'] ? array('checked' => 'checked') : null) . '&nbsp;Exclude Closing Transactions</label>';
echo '&nbsp;';
echo '<label for="xz">&nbsp;' . Form::checkbox('xz', 'true', 'true' == $_GET['xz'] ? array('checked' => 'checked') : null) . '&nbsp;Exclude Zero Balance Accounts</label>';
echo '</div>';
echo '</div>';