Case fix!

This commit is contained in:
Dennis Eichhorn 2016-03-26 18:59:38 +01:00
parent 88e5821925
commit 01349bb0cf
9 changed files with 249 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?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'] = [
'Analysis' => 'Analysis',
'Create' => 'Create',
'Events' => 'Events',
'Marketing' => 'Marketing',
'Promotions' => 'Promotions',
];

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,31 @@
<?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['Marketing'] = [
'Budget' => 'Budget',
'Description' => 'Description',
'Expenses' => 'Expenses',
'End' => 'End',
'Event' => 'Event',
'Events' => 'Events',
'Limit' => 'Limit',
'Location' => 'Location',
'Promotion' => 'Promotion',
'Sales' => 'Sales',
'Start' => 'Start',
'Status' => 'Status',
'Title' => 'Title',
'Type' => 'Type',
];

View File

@ -0,0 +1,41 @@
<?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['Marketing']['Event'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iTitle"><?= $this->l11n->lang['Marketing']['Type'] ?></label>
<tr><td colspan="2"><select></select>
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Title']; ?></label>
<tr><td colspan="2"><input type="text">
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Description']; ?></label>
<tr><td colspan="2"><textarea></textarea>
<tr><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['Start'] ?></label><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['End'] ?></label>
<tr><td><input type="datetime-local"><td><input type="datetime-local">
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Budget']; ?></label>
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder="">
</table>
</form>
</div>
</section>

View File

@ -0,0 +1,48 @@
<?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
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
<td><?= $this->l11n->lang['Marketing']['Type']; ?>
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
<td><?= $this->l11n->lang['Marketing']['End']; ?>
<td><?= $this->l11n->lang['Marketing']['Location']; ?>
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
<tfoot>
<tr>
<td colspan="9"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="9" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File

View File

@ -0,0 +1,44 @@
<?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['Marketing']['Promotion'] ?></h1>
<div class="inner">
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iTitle"><?= $this->l11n->lang['Marketing']['Type'] ?></label>
<tr><td colspan="2"><select></select>
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Title']; ?></label>
<tr><td colspan="2"><input type="text">
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Description']; ?></label>
<tr><td colspan="2"><textarea></textarea>
<tr><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['Start'] ?></label><td><label for="iTitle"><?= $this->l11n->lang['Marketing']['End'] ?></label>
<tr><td><input type="datetime-local"><td><input type="datetime-local">
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Budget']; ?></label>
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder="">
<tr><td colspan="2"><label for="iBudget"><?= $this->l11n->lang['Marketing']['Limit']; ?></label>
<tr><td colspan="2"><input type="text">
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->lang[0]['Create'] ?>">
</table>
</form>
</div>
</section>

View File

@ -0,0 +1,46 @@
<?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
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<section class="box w-100">
<table class="table">
<caption><?= $this->l11n->lang['Marketing']['Events'] ?></caption>
<thead>
<tr>
<td><?= $this->l11n->lang['Marketing']['Status']; ?>
<td class="wf-100"><?= $this->l11n->lang['Marketing']['Title']; ?>
<td><?= $this->l11n->lang['Marketing']['Start']; ?>
<td><?= $this->l11n->lang['Marketing']['End']; ?>
<td><?= $this->l11n->lang['Marketing']['Expenses']; ?>
<td><?= $this->l11n->lang['Marketing']['Sales']; ?>
<td><?= $this->l11n->lang['Marketing']['Budget']; ?>
<tfoot>
<tr>
<td colspan="7"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="7" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
<?php endif; ?>
</table>
</section>

View File