324 lines
14 KiB
Smarty
324 lines
14 KiB
Smarty
|
[{include file="headitem.tpl" title="D3_ORDERMANAGER_OVERVIEW"|oxmultilangassign}]
|
||
|
|
||
|
<style>
|
||
|
.ext_edittext {
|
||
|
padding: 2px;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
<!--
|
||
|
[{if $updatelist == 1}]
|
||
|
UpdateList('[{$oxid}]');
|
||
|
[{/if}]
|
||
|
|
||
|
function UpdateList( sID)
|
||
|
{
|
||
|
let oSearch = parent.list.document.getElementById("search");
|
||
|
oSearch.oxid.value=sID;
|
||
|
oSearch.fnc.value='';
|
||
|
oSearch.submit();
|
||
|
}
|
||
|
|
||
|
function EditThis( sID)
|
||
|
{
|
||
|
let oTransfer = document.getElementById("transfer");
|
||
|
oTransfer.oxid.value=sID;
|
||
|
oTransfer.cl.value='';
|
||
|
oTransfer.submit();
|
||
|
|
||
|
let oSearch = parent.list.document.getElementById("search");
|
||
|
oSearch.actedit.value = 0;
|
||
|
oSearch.oxid.value=sID;
|
||
|
oSearch.submit();
|
||
|
}
|
||
|
|
||
|
function _groupExp(el)
|
||
|
{
|
||
|
let _cur = el.parentNode;
|
||
|
|
||
|
if (_cur.className === "exp") _cur.className = "";
|
||
|
else _cur.className = "exp";
|
||
|
}
|
||
|
|
||
|
function selectAllListElems(el)
|
||
|
{
|
||
|
let aSelectLen = el.length;
|
||
|
for(let i = 0; i < aSelectLen; i++)
|
||
|
{
|
||
|
el.options[i].selected = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function selectNoListElems(el)
|
||
|
{
|
||
|
let aSelectLen = el.length;
|
||
|
for(let i = 0; i < aSelectLen; i++)
|
||
|
{
|
||
|
el.options[i].selected = false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-->
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
<!--
|
||
|
fieldset{
|
||
|
border: 1px inset black;
|
||
|
background-color: #F0F0F0;
|
||
|
}
|
||
|
|
||
|
legend{
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.groupExp dl dt{
|
||
|
font-weight: normal;
|
||
|
width: 40%;
|
||
|
padding-left: 10px;
|
||
|
}
|
||
|
|
||
|
.groupExp dl dd {
|
||
|
margin-left: 42%;
|
||
|
}
|
||
|
|
||
|
details, .restrictioninfo {
|
||
|
margin: 0 0 15px;
|
||
|
padding: 6px 9px 2px 18px;
|
||
|
border: 1px solid silver;
|
||
|
color: silver;
|
||
|
border-radius: .25rem;
|
||
|
border-left: .25rem #028fe8 solid;
|
||
|
}
|
||
|
details summary {
|
||
|
margin: 0 0 3px -12px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.restrictioninfo {
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.fixConfigError {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
-->
|
||
|
</style>
|
||
|
|
||
|
|
||
|
[{assign var="readonly" value="readonly disabled"}]
|
||
|
|
||
|
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||
|
[{$oViewConf->getHiddenSid()}]
|
||
|
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||
|
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||
|
<input type="hidden" name="actshop" value="[{$shop->id}]">
|
||
|
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||
|
</form>
|
||
|
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||
|
[{$oViewConf->getHiddenSid()}]
|
||
|
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||
|
<input type="hidden" name="fnc" value="setRequestData">
|
||
|
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||
|
<input type="hidden" name="sRequestData" value="">
|
||
|
<input type="hidden" name="editval[d3_cfg_mod__oxid]" value="[{$oxid}]">
|
||
|
[{/if}]
|
||
|
|
||
|
<table style="border: none; width: 100%">
|
||
|
[{if $edit->getId() && !$edit->getLicenseActive()}]
|
||
|
<tr>
|
||
|
<td style="vertical-align: top;" class="edittext" colspan="2">
|
||
|
<div class="extension_warning">[{oxmultilang ident="D3_ORDERMANAGER_ERROR_IEXECJOBSLIMIT"}]</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
[{/if}]
|
||
|
|
||
|
<tr>
|
||
|
<td style="vertical-align: top;" class="edittext">
|
||
|
|
||
|
<details>
|
||
|
<summary>[{oxmultilang ident="D3_GENERAL_ORDERMANAGER_DESCRIPTION"}]</summary>
|
||
|
[{oxmultilang ident="d3tbclordermanager_items_overview_desc"}]
|
||
|
</details>
|
||
|
|
||
|
[{if $edit->getBasicRestrictionSettings()}]
|
||
|
<div class="restrictioninfo">
|
||
|
[{oxmultilang ident="D3_GENERAL_ORDERMANAGER_BASICRESTRICTIONS"}]
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
|
||
|
[{if is_array($Errors.default) && count($Errors.default) > 0}]
|
||
|
<div class="fixConfigError errorbox" role="alert">
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_STAT_FIXSETTINGS"}]
|
||
|
</div>
|
||
|
[{else}]
|
||
|
<div class="groupExp">
|
||
|
<div class="exp">
|
||
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||
|
<b>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_STAT"}]
|
||
|
</b>
|
||
|
</a>
|
||
|
<dl>
|
||
|
<dt>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_FINISHED"}] [{oxinputhelp ident="D3_ORDERMANAGER_STAT_FINISHED_DESC"}]
|
||
|
</dt>
|
||
|
<dd>
|
||
|
[{assign var="mFinishedCount" value=$oView->getFinishedCount()}]
|
||
|
[{$mFinishedCount}]
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
<input type="hidden" name="finishedCount" value="[{$mFinishedCount}]">
|
||
|
[{if false == $oView->hasRequestedData('finishedCount', 'getFinishedCount')}]
|
||
|
<span style="float: left;">
|
||
|
<span class="d3modcfg_btn icon d3color-green">
|
||
|
<button type="submit" name="requestData" onclick="oForm = document.getElementById('myedit'); oForm.sRequestData.value='getFinishedCount'; oForm.submit();">
|
||
|
<i class="fa fa-check-circle fa-inverse"></i>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_REQUESTDATA"}]
|
||
|
</button>
|
||
|
</span>
|
||
|
</span>
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</dd>
|
||
|
<div class="spacer"></div>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_FINISHEDMONTH"}] [{oxinputhelp ident="D3_ORDERMANAGER_STAT_FINISHEDMONTH_DESC"}]
|
||
|
</dt>
|
||
|
<dd>
|
||
|
[{assign var="mFinishedMonthCount" value=$oView->getFinishedMonthCount()}]
|
||
|
[{$mFinishedMonthCount}]
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
<input type="hidden" name="finishedMonthCount" value="[{$mFinishedMonthCount}]">
|
||
|
[{if false == $oView->hasRequestedData('finishedMonthCount', 'getFinishedMonthCount')}]
|
||
|
<span style="float: left;">
|
||
|
<span class="d3modcfg_btn icon d3color-green">
|
||
|
<button type="submit" name="requestData" onclick="oForm = document.getElementById('myedit'); oForm.sRequestData.value='getFinishedMonthCount'; oForm.submit();">
|
||
|
<i class="fa fa-check-circle fa-inverse"></i>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_REQUESTDATA"}]
|
||
|
</button>
|
||
|
</span>
|
||
|
</span>
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</dd>
|
||
|
<div class="spacer"></div>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_TOFINISHED"}] [{oxinputhelp ident="D3_ORDERMANAGER_STAT_TOFINISHED_DESC"}]
|
||
|
</dt>
|
||
|
<dd>
|
||
|
[{assign var="mToFinishedCount" value=$oView->getToFinishedCount()}]
|
||
|
[{$mToFinishedCount}]
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
<input type="hidden" name="toFinishedCount" value="[{$mToFinishedCount}]">
|
||
|
[{if false == $oView->hasRequestedData('toFinishedCount', 'getToFinishedCount')}]
|
||
|
<span style="float: left;">
|
||
|
<span class="d3modcfg_btn icon d3color-green">
|
||
|
<button type="submit" name="requestData" onclick="oForm = document.getElementById('myedit'); oForm.sRequestData.value='getToFinishedCount'; oForm.submit();">
|
||
|
<i class="fa fa-check-circle fa-inverse"></i>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_REQUESTDATA"}]
|
||
|
</button>
|
||
|
</span>
|
||
|
</span>
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</dd>
|
||
|
<div class="spacer"></div>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_NOTFINISHED"}] [{oxinputhelp ident="D3_ORDERMANAGER_STAT_NOTFINISHED_DESC"}]
|
||
|
</dt>
|
||
|
<dd>
|
||
|
[{assign var="mNotFinishedCount" value=$oView->getNotFinishedCount()}]
|
||
|
[{$mNotFinishedCount}]
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
<input type="hidden" name="notFinishedCount" value="[{$mNotFinishedCount}]">
|
||
|
[{if false == $oView->hasRequestedData('notFinishedCount', 'getNotFinishedCount')}]
|
||
|
<span style="float: left;">
|
||
|
<span class="d3modcfg_btn icon d3color-green">
|
||
|
<button type="submit" name="requestData" onclick="oForm = document.getElementById('myedit'); oForm.sRequestData.value='getNotFinishedCount'; oForm.submit();">
|
||
|
<i class="fa fa-check-circle fa-inverse"></i>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_STAT_REQUESTDATA"}]
|
||
|
</button>
|
||
|
</span>
|
||
|
</span>
|
||
|
[{/if}]
|
||
|
[{/if}]
|
||
|
</dd>
|
||
|
<div class="spacer"></div>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</div>
|
||
|
[{/if}]
|
||
|
|
||
|
<div class="groupExp">
|
||
|
<div class="">
|
||
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||
|
<b>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_REQU"}]
|
||
|
</b>
|
||
|
</a>
|
||
|
|
||
|
[{assign var="aRequList" value=$oView->getRequirementList()}]
|
||
|
[{assign var="blActiveRequ" value=false}]
|
||
|
|
||
|
[{foreach from=$aRequList item="oRequ"}]
|
||
|
[{if $oRequ->isActive()}]
|
||
|
[{include file=$oRequ->getTplName()}]
|
||
|
[{assign var="blActiveRequ" value=true}]
|
||
|
[{/if}]
|
||
|
[{/foreach}]
|
||
|
|
||
|
[{if $blActiveRequ == false}]
|
||
|
<dl>
|
||
|
<dd>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_NOREQUEST" }]
|
||
|
</dd>
|
||
|
</dl>
|
||
|
[{/if}]
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="groupExp">
|
||
|
<div class="">
|
||
|
<a class="rc" onclick="_groupExp(this); return false;" href="#">
|
||
|
<b>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_ACTION"}]
|
||
|
</b>
|
||
|
</a>
|
||
|
|
||
|
[{assign var="aActionList" value=$oView->getActionList()}]
|
||
|
[{assign var="blActiveAction" value=false}]
|
||
|
|
||
|
[{foreach from=$aActionList item="oAction"}]
|
||
|
[{if $oAction->isActive()}]
|
||
|
[{include file=$oAction->getTplName()}]
|
||
|
[{assign var="blActiveAction" value=true}]
|
||
|
[{/if}]
|
||
|
[{/foreach}]
|
||
|
|
||
|
[{if $blActiveAction == false}]
|
||
|
<dl>
|
||
|
<dd>
|
||
|
[{oxmultilang ident="D3_ORDERMANAGER_OVERVIEW_NOACTION"}]
|
||
|
</dd>
|
||
|
</dl>
|
||
|
[{/if}]
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
[{if $oView->getDataOnDemand()}]
|
||
|
</form>
|
||
|
[{/if}]
|
||
|
|
||
|
[{include file="@d3modcfg_lib/admin/inc/inc.tpl"}]
|