Case fix!

This commit is contained in:
Dennis Eichhorn 2016-03-26 18:59:38 +01:00
parent 6748c04e03
commit 8f76db30cd
13 changed files with 643 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Navigation'] = [
'Accounting' => 'Accounting',
'AccountPostings' => 'Account Postings',
'Balance' => 'Balance',
'BatchPostings' => 'Batch Postings',
'CostCenters' => 'Cost Centers',
'CostObjects' => 'Cost Objects',
'Creditors' => 'Creditors',
'Debitors' => 'Debitors',
'Entries' => 'Entries',
'Postings' => 'Postings',
'Predefined' => 'Predefined',
];

View File

@ -0,0 +1,17 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG[1] = [
];

View File

@ -0,0 +1,49 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$MODLANG['Accounting'] = [
'Account' => 'Account',
'Accounts' => 'Accounts',
'BatchPostings' => 'Batch Postings',
'Charts' => 'Charts',
'ContraAccount' => 'Contra Account',
'CostCenter' => 'Cost Center',
'CostCenters' => 'Cost Centers',
'CostObject' => 'Cost Object',
'CostObjects' => 'Cost Objects',
'Created' => 'Created',
'Creator' => 'Creator',
'Credit' => 'Credit',
'Debit' => 'Debit',
'Due' => 'Due',
'Entries' => 'Entries',
'EntryDate' => 'Entry Date',
'Evaluation' => 'Evaluation',
'ExternalVoucher' => 'External Voucher',
'Incoming' => 'Incoming',
'GL' => 'GL',
'List' => 'List',
'Name' => 'Name',
'Outgoing' => 'Outgoing',
'Parent' => 'Parent',
'Receipt' => 'Receipt',
'ReceiptDate' => 'Receipt Date',
'Stack' => 'Stack',
'TAccount' => 'T-Account',
'Text' => 'Text',
'To' => 'To',
'Total' => 'Total',
'Type' => 'Type',
];

View File

@ -0,0 +1,179 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
//echo $this->getData('nav')->render();
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
?>
<section class="box w-100">
<div class="inner">
<form>
<table class="layout wf-100">
<tr>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['Account']; ?></label>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['CostCenter']; ?>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['CostObject']; ?>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['EntryDate']; ?>
<tr>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['To']; ?></label>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['To']; ?>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['To']; ?>
<td><label for="iAccountStart"><?= $this->l11n->lang['Accounting']['To']; ?>
<tr>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td colspan="4"><input type="submit" value="<?= $this->l11n->lang[0]['Search'] ?>">
</table>
</form>
</div>
</section>
<section class="box w-100">
<div class="tabular-2">
<ul class="tab-links">
<li><label for="c-tab2-1"><?= $this->l11n->lang['Accounting']['List']; ?></label></li>
<li><label for="c-tab2-2"><?= $this->l11n->lang['Accounting']['Evaluation']; ?></label></li>
<li><label for="c-tab2-3"><?= $this->l11n->lang['Accounting']['Charts']; ?></label></li>
</ul>
<div class="tab-content">
<input type="radio" id="c-tab2-1" name="tabular-2" checked>
<div class="tab">
<section class="wf-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['Entries'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Accounting']['EntryDate']; ?>
<td><?= $this->l11n->lang['Accounting']['Receipt']; ?>
<td><?= $this->l11n->lang['Accounting']['Debit']; ?>
<td><?= $this->l11n->lang['Accounting']['Credit']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Text']; ?>
<td><?= $this->l11n->lang['Accounting']['Account']; ?>
<td><?= $this->l11n->lang['Accounting']['ContraAccount']; ?>
<td><?= $this->l11n->lang['Accounting']['CostCenter']; ?>
<td><?= $this->l11n->lang['Accounting']['CostObject']; ?>
<td><?= $this->l11n->lang['Accounting']['ReceiptDate']; ?>
<td><?= $this->l11n->lang['Accounting']['ExternalVoucher']; ?>
<td><?= $this->l11n->lang['Accounting']['Creator']; ?>
<td><?= $this->l11n->lang['Accounting']['Created']; ?>
<tfoot>
<tr>
<td colspan="13"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>
<input type="radio" id="c-tab2-2" name="tabular-2">
<div class="tab tab-2">
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['Accounts'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Accounting']['Account']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Total']; ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table floatLeft">
<caption><?= $this->l11n->lang['Accounting']['CostCenter'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Accounting']['CostCenter']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Total']; ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['CostObject'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Accounting']['Account']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Total']; ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>
</div>
<input type="radio" id="c-tab2-3" name="tabular-2">
<div class="tab tab-3">
<section class="box w-50 floatLeft">
<div class="inner">
</div>
</section>
<section class="box w-50 floatLeft">
<div class="inner">
</div>
</section>
<section class="box w-50 floatLeft">
<div class="inner">
</div>
</section>
</div>
</div>
</div>
</section>

View File

@ -0,0 +1,33 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<h1><?= $this->l11n->lang['Accounting']['GL']; ?></h1>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iId"><?= $this->l11n->lang[0]['ID']; ?></label>
<tr><td><input type="text" id="iId" name="id">
<tr><td><label for="iName"><?= $this->l11n->lang['Accounting']['Name']; ?></label>
<tr><td><input type="text" id="iName" name="name">
<tr><td><label for="iParent"><?= $this->l11n->lang['Accounting']['Parent']; ?></label>
<tr><td><input type="text" id="iParent" name="parent">
<tr><td><input type="submit" value="<?= $this->l11n->lang[0]['Create']; ?>">
</table>
</form>
</div>
</section>

View File

@ -0,0 +1,52 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['GL']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,52 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['Journal']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,54 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['BatchPostings']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Creator']; ?>
<td><?= $this->l11n->lang['Accounting']['Created']; ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,38 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<h1><?= $this->l11n->lang['Accounting']['Stack']; ?></h1>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->lang['Accounting']['Name']; ?></label>
<tr><td><input id="iName" name="name" type="text">
<tr><td><label for="iType"><?= $this->l11n->lang['Accounting']['Type']; ?></label>
<tr><td><select id="iType" name="type">
<option value=""><?= $this->l11n->lang['Accounting']['TAccount']; ?>
<option value=""><?= $this->l11n->lang['Accounting']['Incoming']; ?>
<option value=""><?= $this->l11n->lang['Accounting']['Outgoing']; ?>
</select>
<tr><td><input name="submit" type="submit" value="<?= $this->l11n->lang[0]['Create']; ?>">
</table>
</form>
</div>
</section>

View File

@ -0,0 +1,16 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
echo $this->getData('nav')->render(); ?>

View File

@ -0,0 +1,54 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['BatchPostings']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Creator']; ?>
<td><?= $this->l11n->lang['Accounting']['Created']; ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

@ -0,0 +1,55 @@
<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(1 / 25);
$footerView->setPage(1);
$footerView->setResults(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Accounting']['BatchPostings']; ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang[0]['ID']; ?>
<td><?= $this->l11n->lang['Accounting']['Due']; ?>
<td class="wf-100"><?= $this->l11n->lang['Accounting']['Name']; ?>
<td><?= $this->l11n->lang['Accounting']['Creator']; ?>
<td><?= $this->l11n->lang['Accounting']['Created']; ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<td>
<td>
<td>
<?php endforeach; ?>
<?php if($c === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>