mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-01-22 16:48:41 +00:00
change layout
This commit is contained in:
parent
e2e9731267
commit
178b4ffac9
|
|
@ -76,6 +76,7 @@ return ['ItemManagement' => [
|
|||
'PriceUnit' => 'Stückpreis',
|
||||
'Productgroup' => 'Produktgruppe',
|
||||
'Production' => 'Produktion',
|
||||
'Profile' => 'Profil',
|
||||
'Properties' => 'Attribute',
|
||||
'Property' => 'Attribut',
|
||||
'Purchase' => 'Einkauf',
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ return ['ItemManagement' => [
|
|||
'PriceUnit' => 'Unit of price',
|
||||
'Productgroup' => 'Productgroup',
|
||||
'Production' => 'Production',
|
||||
'Profile' => 'Profile',
|
||||
'Properties' => 'Properties',
|
||||
'Property' => 'Property',
|
||||
'Purchase' => 'Purchase',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
@ -12,7 +10,11 @@ declare(strict_types=1);
|
|||
* @version 1.0.0
|
||||
* @link https://orange-management.org
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @var \Modules\ItemManagement\Models\Item $item
|
||||
*/
|
||||
$item = $this->getData('item');
|
||||
|
||||
echo $this->getData('nav')->render();
|
||||
|
|
@ -21,7 +23,7 @@ echo $this->getData('nav')->render();
|
|||
<div class="tabview tab-2">
|
||||
<div class="box wf-100 col-xs-12">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Master'); ?></label></li>
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Profile'); ?></label></li>
|
||||
<li><label for="c-tab-2"><?= $this->getHtml('Localization'); ?></label></li>
|
||||
<li><label for="c-tab-3"><?= $this->getHtml('Attributes'); ?></label></li>
|
||||
<li><label for="c-tab-4"><?= $this->getHtml('Sales'); ?></label></li>
|
||||
|
|
@ -39,168 +41,144 @@ echo $this->getData('nav')->render();
|
|||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-2"<?= $this->request->getUri()->getFragment() === 'c-tab-1' ? ' checked' : '' ?>>
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header>
|
||||
<h1><?= $this->getHtml('General'); ?></h1>
|
||||
</header>
|
||||
<div class="inner">
|
||||
<form id="item-edit" action="<?= \phpOMS\Uri\UriFactory::build('{/api}itemmgmt/item'); ?>" method="post">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-lg-3 last-lg">
|
||||
<section class="portlet">
|
||||
<form>
|
||||
<div class="portlet-body">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iId" name="id" type="text" value="<?= $this->printHtml($item->getNumber()); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iName1" name="name1" type="text" value="<?= $this->printHtml(''); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iName2" name="name2" type="text" value="<?= $this->printHtml(''); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iName3" name="name3" type="text" value="<?= $this->printHtml(''); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iName4"><?= $this->getHtml('Name4'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iName4" name="name4" type="text" value="<?= $this->printHtml(''); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iName5"><?= $this->getHtml('Name5'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iName5" name="name5" type="text" value="<?= $this->printHtml(''); ?>" disabled>
|
||||
<tr>
|
||||
<td><label for="iSSuccessor"><?= $this->getHtml('Successor'); ?></label>
|
||||
<tr>
|
||||
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iSource" name="source" type="text" placeholder=""></span>
|
||||
<tr>
|
||||
<td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<tr><td><label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||
<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" value="<?= $this->printHtml($item->getNumber()); ?>" disabled></span>
|
||||
<tr><td><label for="iName1"><?= $this->getHtml('Name1') ?></label>
|
||||
<tr><td><input type="text" id="iName1" name="name1" value="<?= $this->printHtml(''); ?>" required>
|
||||
<tr><td><label for="iName2"><?= $this->getHtml('Name2') ?></label>
|
||||
<tr><td><input type="text" id="iName2" name="name2" value="<?= $this->printHtml(''); ?>">
|
||||
<tr><td><label for="iName3"><?= $this->getHtml('Name3') ?></label>
|
||||
<tr><td><input type="text" id="iName3" name="name3" value="<?= $this->printHtml(''); ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"> <input type="submit" value="<?= $this->getHtml('Delete', '0', '0'); ?>">
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="portlet highlight-4">
|
||||
<div class="portlet-body">
|
||||
<textarea class="undecorated"></textarea>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header>
|
||||
<h1><?= $this->getHtml('Sales'); ?></h1>
|
||||
</header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('{/api}...'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><label for="iPType"><?= $this->getHtml('Status'); ?></label>
|
||||
<tr>
|
||||
<td><select id="iPType" name="ptye">
|
||||
<option>
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iPPriceUnit"><?= $this->getHtml('PriceUnit'); ?></label>
|
||||
<tr>
|
||||
<td><select id="iPPriceUnit" name="ppriceunit">
|
||||
<option value="0">
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iPQuantityUnit"><?= $this->getHtml('QuantityUnit'); ?></label>
|
||||
<tr>
|
||||
<td><select id="iPQuantityUnit" name="pquantityunit">
|
||||
<option value="0">
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iPTradingUnit"><?= $this->getHtml('TradingUnit'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iPTradingUnit" name="tradingunit" type="number" min="0" step="any" placeholder="">
|
||||
<tr>
|
||||
<td><label for="iPTracking"><?= $this->getHtml('Tracking'); ?></label>
|
||||
<tr>
|
||||
<td><select id="iPTracking" name="tracking">
|
||||
<option><?= $this->getHtml('None'); ?>
|
||||
<option><?= $this->getHtml('Lot'); ?>
|
||||
<option><?= $this->getHtml('SN'); ?>
|
||||
<option><?= $this->getHtml('Purchase'); ?>
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iPVariation"><?= $this->getHtml('Commission'); ?></label>
|
||||
<tr>
|
||||
<td><select id="iPVariation" name="pvariation">
|
||||
<option value="0">
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iPCustomsId"><?= $this->getHtml('CustomsID'); ?></label>
|
||||
<tr>
|
||||
<td><input id="iPCustomsId" name="customsid" type="text" placeholder="">
|
||||
<tr>
|
||||
<td><label for="iSInfo"><?= $this->getHtml('Info'); ?></label>
|
||||
<tr>
|
||||
<td><textarea id="iSInfo" name="sinfo"></textarea>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="box wf-100">
|
||||
<header>
|
||||
<h1><?= $this->getHtml('ID'); ?></h1>
|
||||
</header>
|
||||
<div class="inner">
|
||||
<form id="item-edit" action="<?= \phpOMS\Uri\UriFactory::build('{/api}itemmgmt/item'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><label for="iTypes"><?= $this->getHtml('Type'); ?></label>
|
||||
<tr>
|
||||
<td><!-- todo: eg. GTIN, customs id etc.. -->
|
||||
<select id="iTypes" name="settings_1000000020">
|
||||
<?php foreach ($languages as $code => $language) : ?>
|
||||
<option value="<?= $this->printHtml($code); ?>" <?= $this->printHtml(\strtolower($code) === \strtolower($settings[1000000020]) ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr>
|
||||
<td><label for="iLanguages"><?= $this->getHtml('ID'); ?></label>
|
||||
<tr>
|
||||
<div class="col-xs-12 col-lg-9 plain-grid">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-lg-4">
|
||||
<section class="portlet highlight-1">
|
||||
<div class="portlet-body">
|
||||
<table>
|
||||
<tr><td>YTD Sales:
|
||||
<td>
|
||||
<input type="text">
|
||||
<tr>
|
||||
<td><input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
|
||||
</table>
|
||||
</form>
|
||||
<tr><td>MTD Sales:
|
||||
<td>
|
||||
<tr><td>ILV:
|
||||
<td>
|
||||
<tr><td>MRR:
|
||||
<td>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<table id="groupTable" class="box table default">
|
||||
<caption><?= $this->getHtml('Groups') ?><i class="fa fa-download floatRight download btn"></i></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
<td class="wf-100"><?= $this->getHtml('Name') ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||
<tbody>
|
||||
<?php $c = 0;
|
||||
$l11ns = [];
|
||||
foreach ($l11ns as $key => $value) : ++$c;
|
||||
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="#"><i class="fa fa-times"></i></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getId()); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getName()); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($c === 0) : ?>
|
||||
<tr>
|
||||
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div class="col-xs-12 col-lg-4">
|
||||
<section class="portlet highlight-2">
|
||||
<div class="portlet-body">
|
||||
<table>
|
||||
<tr><td>Last Order:
|
||||
<td>
|
||||
<tr><td>Price Change:
|
||||
<td>
|
||||
<tr><td>Created:
|
||||
<td>
|
||||
<tr><td>Modified:
|
||||
<td>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-lg-4">
|
||||
<section class="portlet highlight-3">
|
||||
<div class="portlet-body">
|
||||
<table>
|
||||
<tr><td>Sales Price:
|
||||
<td>
|
||||
<tr><td>Purchase Price:
|
||||
<td>
|
||||
<tr><td>Margin:
|
||||
<td>
|
||||
<tr><td>Avg. Price:
|
||||
<td>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Notes</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Documents</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Invoices</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Customers</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Sales</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Regions</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">Margins</div>
|
||||
<div class="portlet-body"></div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user