| Zeile 1... |
Zeile 1... |
| 1 |
{include file="header.tpl"}
|
1 |
{include file="header.tpl"}
|
| 2 |
<!-- $Id: single_order.tpl 1315 2016-11-05 23:15:28Z lars $ BEGIN -->
|
2 |
<!-- $Id: single_order.tpl 1316 2016-11-05 23:19:38Z lars $ BEGIN -->
|
| 3 |
<link rel="stylesheet" href="/backend/css/bestellung.css" />
|
3 |
<link rel="stylesheet" href="/backend/css/bestellung.css" />
|
| 4 |
<script src="/backend/js/common.js"></script>
|
4 |
<script src="/backend/js/common.js"></script>
|
| 5 |
<script>
|
5 |
<script>
|
| 6 |
$(function(){
|
6 |
$(function(){
|
| 7 |
{if $order.kk_info.anbieter=="Amazon"}
|
7 |
{if $order.kk_info.anbieter=="Amazon"}
|
| Zeile 1575... |
Zeile 1575... |
| 1575 |
</td>
|
1575 |
</td>
|
| 1576 |
</tr>
|
1576 |
</tr>
|
| 1577 |
{/if}
|
1577 |
{/if}
|
| Zeile 1578... |
Zeile 1578... |
| 1578 |
|
1578 |
|
| 1579 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_read)}
|
1579 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_read)}
|
| 1580 |
{section loop=$daten.dokumente name=d_ind}
|
1580 |
{section loop=$order.dokumente name=d_ind}
|
| 1581 |
<tr>
|
1581 |
<tr>
|
| 1582 |
<td class="links noprint">Dokument {$daten.dokumente[d_ind].nr}</td>
|
1582 |
<td class="links noprint">Dokument {$order.dokumente[d_ind].nr}</td>
|
| 1583 |
<td class="rechts" colspan="2">
|
1583 |
<td class="rechts" colspan="2">
|
| 1584 |
<div class="tabelle dokumente">
|
1584 |
<div class="tabelle dokumente">
|
| 1585 |
<div class="links {if $daten.dokumente[d_ind].storniert == 1}stornoGrau{/if}">
|
1585 |
<div class="links {if $order.dokumente[d_ind].storniert == 1}stornoGrau{/if}">
|
| 1586 |
<div class="ersteZelle">
|
1586 |
<div class="ersteZelle">
|
| 1587 |
<span class="unread_docs_helper noprint" id="unread_docs_{$order.ID}_{$daten.dokumente[d_ind].id}_helper"></span>
|
1587 |
<span class="unread_docs_helper noprint" id="unread_docs_{$order.ID}_{$order.dokumente[d_ind].id}_helper"></span>
|
| 1588 |
{html_image file=$daten.dokumente[d_ind].icon alt="Dateityp: {$daten.dokumente[d_ind].type}" class="noprint" style="vertical-align:middle;"}
|
1588 |
{html_image file=$order.dokumente[d_ind].icon alt="Dateityp: {$order.dokumente[d_ind].type}" class="noprint" style="vertical-align:middle;"}
|
| 1589 |
{if $daten.dokumente[d_ind].type == "link"}
|
1589 |
{if $order.dokumente[d_ind].type == "link"}
|
| 1590 |
<a href="{$daten.dokumente[d_ind].link}" target="{$daten.dokumente[d_ind].target}" id="doc_link_{$daten.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
1590 |
<a href="{$order.dokumente[d_ind].link}" target="{$order.dokumente[d_ind].target}" id="doc_link_{$order.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
| 1591 |
{$daten.dokumente[d_ind].name}
|
1591 |
{$order.dokumente[d_ind].name}
|
| 1592 |
</a>
|
1592 |
</a>
|
| 1593 |
{else}
|
1593 |
{else}
|
| 1594 |
<a href="{$daten.dokPath}{$daten.dokumente[d_ind].name}" target="_blank" id="doc_link_{$daten.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
1594 |
<a href="{$daten.dokPath}{$order.dokumente[d_ind].name}" target="_blank" id="doc_link_{$order.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
| 1595 |
{$daten.dokumente[d_ind].name|basename} ({$daten.dokumente[d_ind].size|fsize_format:'':2:',':'.'})
|
1595 |
{$order.dokumente[d_ind].name|basename} ({$order.dokumente[d_ind].size|fsize_format:'':2:',':'.'})
|
| 1596 |
</a>
|
1596 |
</a>
|
| 1597 |
{/if}
|
1597 |
{/if}
|
| 1598 |
{if isset($web_rechte.Warenwirtschaft.bestellung.re_zahhlungsstatusinfo)}
|
1598 |
{if isset($web_rechte.Warenwirtschaft.bestellung.re_zahhlungsstatusinfo)}
|
| Zeile 1599... |
Zeile 1599... |
| 1599 |
{assign var="capital" value=$daten.dokumente[d_ind].name|substr:0:1}
|
1599 |
{assign var="capital" value=$order.dokumente[d_ind].name|substr:0:1}
|
| 1600 |
|
1600 |
|
| 1601 |
{if $capital=="R" || $capital=="G"}
|
1601 |
{if $capital=="R" || $capital=="G"}
|
| 1602 |
{if $capital == "G"}
|
1602 |
{if $capital == "G"}
|
| 1603 |
{assign var="r" value="R"}
|
1603 |
{assign var="r" value="R"}
|
| 1604 |
{assign var="nameOhneErstenBuchstaben" value=$daten.dokumente[d_ind].name|substr:1}
|
1604 |
{assign var="nameOhneErstenBuchstaben" value=$order.dokumente[d_ind].name|substr:1}
|
| 1605 |
{assign var="name" value=$r|cat:$nameOhneErstenBuchstaben}
|
1605 |
{assign var="name" value=$r|cat:$nameOhneErstenBuchstaben}
|
| 1606 |
{else}
|
1606 |
{else}
|
| 1607 |
{assign var="name" value=$daten.dokumente[d_ind].name}
|
1607 |
{assign var="name" value=$order.dokumente[d_ind].name}
|
| Zeile 1608... |
Zeile 1608... |
| 1608 |
{/if}
|
1608 |
{/if}
|
| 1609 |
<span id="bezahlstatus_{$rechnung[$name]['rechnungsnummer']}" style="float:right;padding-right:10px;cursor:{if $rechnung[$name]['bezahlstatus']=="offen"}pointer{else if $rechnung[$name]['bezahlstatus']!=""}help{/if};" {if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch)}ondblclick = "buildSelectBox('{$rechnung[$name]['rechnungsnummer']}','{$rechnung[$name]['bezahlstatus']}');"{/if}
|
1609 |
<span id="bezahlstatus_{$rechnung[$name]['rechnungsnummer']}" style="float:right;padding-right:10px;cursor:{if $rechnung[$name]['bezahlstatus']=="offen"}pointer{else if $rechnung[$name]['bezahlstatus']!=""}help{/if};" {if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch)}ondblclick = "buildSelectBox('{$rechnung[$name]['rechnungsnummer']}','{$rechnung[$name]['bezahlstatus']}');"{/if}
|
| 1610 |
|
1610 |
|
| 1611 |
|
1611 |
|
| 1612 |
onmouseover="return overlib('{if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch)}<b>Doppelklicken zum Bearbeiten</b><br />{/if}{$rechnung[str_replace("G","R",$daten.dokumente[d_ind].name)]['bezahlstatus_history']}', CAPTION, '', HAUTO, VAUTO);" onmouseout="return nd();">
|
1612 |
onmouseover="return overlib('{if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch)}<b>Doppelklicken zum Bearbeiten</b><br />{/if}{$rechnung[str_replace("G","R",$order.dokumente[d_ind].name)]['bezahlstatus_history']}', CAPTION, '', HAUTO, VAUTO);" onmouseout="return nd();">
|
| 1613 |
{if $rechnung[$name]['bezahlstatus']!=""}
|
1613 |
{if $rechnung[$name]['bezahlstatus']!=""}
|
| Zeile 1624... |
Zeile 1624... |
| 1624 |
{/if}
|
1624 |
{/if}
|
| Zeile 1625... |
Zeile 1625... |
| 1625 |
|
1625 |
|
| 1626 |
{/if}
|
1626 |
{/if}
|
| 1627 |
</div>
|
1627 |
</div>
|
| 1628 |
<div class="zweiteZelle noprint">
|
1628 |
<div class="zweiteZelle noprint">
|
| 1629 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_delete) && $daten.dokumente[d_ind].deleteable}
|
1629 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_delete) && $order.dokumente[d_ind].deleteable}
|
| 1630 |
{html_image file="../dokumente/gfx/delete_record.gif" onclick="{$daten.dokumente[d_ind].del_document}" border="0" style="cursor:pointer" class="noprint"}
|
1630 |
{html_image file="../dokumente/gfx/delete_record.gif" onclick="{$order.dokumente[d_ind].del_document}" border="0" style="cursor:pointer" class="noprint"}
|
| 1631 |
{/if}
|
1631 |
{/if}
|
| 1632 |
</div>
|
1632 |
</div>
|
| 1633 |
<div class="dritteZelle noprint">
|
1633 |
<div class="dritteZelle noprint">
|
| 1634 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_add)}
|
1634 |
{if isset($user_rechte.Warenwirtschaft.bestellung.dokument_add)}
|
| 1635 |
{html_image file="../dokumente/gfx/add.gif" onclick="{$daten.dokumente[d_ind].add_document}" border="0" style="cursor:pointer" class="noprint"}
|
1635 |
{html_image file="../dokumente/gfx/add.gif" onclick="{$order.dokumente[d_ind].add_document}" border="0" style="cursor:pointer" class="noprint"}
|
| 1636 |
{/if}
|
1636 |
{/if}
|
| 1637 |
</div>
|
1637 |
</div>
|
| 1638 |
<div class="vierteZelle">
|
1638 |
<div class="vierteZelle">
|
| 1639 |
{$daten.dokumente[d_ind].date|date_format:"d.m.Y"}
|
1639 |
{$order.dokumente[d_ind].date|date_format:"d.m.Y"}
|
| 1640 |
um: {$daten.dokumente[d_ind].date|date_format:"H:i:s"}
|
1640 |
um: {$order.dokumente[d_ind].date|date_format:"H:i:s"}
|
| 1641 |
</div>
|
1641 |
</div>
|
| 1642 |
<div class="fuenfteZelle">
|
1642 |
<div class="fuenfteZelle">
|
| 1643 |
{$daten.dokumente[d_ind].author|default:" "}
|
1643 |
{$order.dokumente[d_ind].author|default:" "}
|
| 1644 |
</div>
|
1644 |
</div>
|
| 1645 |
</div>
|
1645 |
</div>
|
| 1646 |
</div>
|
1646 |
</div>
|
| 1647 |
</td>
|
1647 |
</td>
|
| Zeile 1848... |
Zeile 1848... |
| 1848 |
<!--MK: Dialog Rechnung löschen -->
|
1848 |
<!--MK: Dialog Rechnung löschen -->
|
| 1849 |
<div id="dialog" title="Rechnung löschen">
|
1849 |
<div id="dialog" title="Rechnung löschen">
|
| Zeile 1850... |
Zeile 1850... |
| 1850 |
|
1850 |
|
| 1851 |
<table width="100%">
|
1851 |
<table width="100%">
|
| 1852 |
{assign var="rechnungExists" value=0}
|
1852 |
{assign var="rechnungExists" value=0}
|
| 1853 |
{section loop=$daten.dokumente name=d_ind}
|
1853 |
{section loop=$order.dokumente name=d_ind}
|
| 1854 |
{assign var="capital" value=$daten.dokumente[d_ind].name|substr:0:1}
|
1854 |
{assign var="capital" value=$order.dokumente[d_ind].name|substr:0:1}
|
| 1855 |
{assign var="name" value="."|explode:$daten.dokumente[d_ind].name}
|
1855 |
{assign var="name" value="."|explode:$order.dokumente[d_ind].name}
|
| 1856 |
<!--ME: speichern, ob Rechnung exisiert -->
|
1856 |
<!--ME: speichern, ob Rechnung exisiert -->
|
| 1857 |
{if $capital=="R"}
|
1857 |
{if $capital=="R"}
|
| 1858 |
{assign var="rechnungExists" value=1}
|
1858 |
{assign var="rechnungExists" value=1}
|
| 1859 |
{/if}
|
1859 |
{/if}
|
| 1860 |
{if $capital == 'R'}
|
1860 |
{if $capital == 'R'}
|
| 1861 |
<tr class="links">
|
1861 |
<tr class="links">
|
| Zeile 1862... |
Zeile 1862... |
| 1862 |
<td width="60%">
|
1862 |
<td width="60%">
|
| 1863 |
|
1863 |
|
| 1864 |
<span class="unread_docs_helper" id="unread_docs_{$order.ID}_{$daten.dokumente[d_ind].id}_helper"></span>
|
1864 |
<span class="unread_docs_helper" id="unread_docs_{$order.ID}_{$order.dokumente[d_ind].id}_helper"></span>
|
| 1865 |
{html_image file=$daten.dokumente[d_ind].icon alt="Dateityp: {$daten.dokumente[d_ind].type}"}
|
1865 |
{html_image file=$order.dokumente[d_ind].icon alt="Dateityp: {$order.dokumente[d_ind].type}"}
|
| 1866 |
<a href="{$daten.dokPath}{$daten.dokumente[d_ind].name}" target="_blank" id="doc_link_{$daten.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
1866 |
<a href="{$daten.dokPath}{$order.dokumente[d_ind].name}" target="_blank" id="doc_link_{$order.dokumente[d_ind].id}_{$order.ID}" class="doc_link">
|
| 1867 |
{$daten.dokumente[d_ind].name|basename} ({$daten.dokumente[d_ind].size|fsize_format:'':2:',':'.'})
|
1867 |
{$order.dokumente[d_ind].name|basename} ({$order.dokumente[d_ind].size|fsize_format:'':2:',':'.'})
|
| 1868 |
</a>
|
1868 |
</a>
|
| Zeile 1869... |
Zeile 1869... |
| 1869 |
</td>
|
1869 |
</td>
|
| 1870 |
<td width="3%">
|
1870 |
<td width="3%">
|
| 1871 |
|
1871 |
|
| 1872 |
{html_image file="../dokumente/gfx/delete_record.gif" onclick="setzeTermin(\"{$name[0]}\",{$order.ID})" border="0" style="cursor:pointer" id="{$daten.dokumente[d_ind].id}" class="deleteRechnung"}
|
1872 |
{html_image file="../dokumente/gfx/delete_record.gif" onclick="setzeTermin(\"{$name[0]}\",{$order.ID})" border="0" style="cursor:pointer" id="{$order.dokumente[d_ind].id}" class="deleteRechnung"}
|
| 1873 |
</td>
|
1873 |
</td>
|
| 1874 |
</tr>
|
1874 |
</tr>
|
| Zeile 1936... |
Zeile 1936... |
| 1936 |
<br/>
|
1936 |
<br/>
|
| 1937 |
<div id="gutschein_meldung"></div>
|
1937 |
<div id="gutschein_meldung"></div>
|
| 1938 |
</form>
|
1938 |
</form>
|
| Zeile 1939... |
Zeile 1939... |
| 1939 |
|
1939 |
|
| 1940 |
{if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch) && isset($web_rechte.Warenwirtschaft.bestellung.re_zahhlungsstatusinfo)}
|
1940 |
{if isset($web_rechte.Warenwirtschaft.rechnungsbuch.rechnungsbuch) && isset($web_rechte.Warenwirtschaft.bestellung.re_zahhlungsstatusinfo)}
|
| 1941 |
{section loop=$daten.dokumente name=d_ind}
|
1941 |
{section loop=$order.dokumente name=d_ind}
|
| 1942 |
{assign var="capital" value=$daten.dokumente[d_ind].name|substr:0:1}
|
1942 |
{assign var="capital" value=$order.dokumente[d_ind].name|substr:0:1}
|
| 1943 |
{if $capital == "R" || $capital == "G"}
|
1943 |
{if $capital == "R" || $capital == "G"}
|
| 1944 |
{if $capital == "G"}
|
1944 |
{if $capital == "G"}
|
| 1945 |
{assign var="r" value="R"}
|
1945 |
{assign var="r" value="R"}
|
| 1946 |
{assign var="nameOhneErstenBuchstaben" value=$daten.dokumente[d_ind].name|substr:1}
|
1946 |
{assign var="nameOhneErstenBuchstaben" value=$order.dokumente[d_ind].name|substr:1}
|
| 1947 |
{assign var="name" value=$r|cat:$nameOhneErstenBuchstaben}
|
1947 |
{assign var="name" value=$r|cat:$nameOhneErstenBuchstaben}
|
| 1948 |
{else}
|
1948 |
{else}
|
| 1949 |
{assign var="name" value=$daten.dokumente[d_ind].name}
|
1949 |
{assign var="name" value=$order.dokumente[d_ind].name}
|
| Zeile 1950... |
Zeile 1950... |
| 1950 |
{/if}
|
1950 |
{/if}
|
| 1951 |
|
1951 |
|
| 1952 |
<div class="layer_bemerkung" id="layer_bemerkung_{$rechnung[$name]['rechnungsnummer']}">
|
1952 |
<div class="layer_bemerkung" id="layer_bemerkung_{$rechnung[$name]['rechnungsnummer']}">
|
| Zeile 2295... |
Zeile 2295... |
| 2295 |
{/if}
|
2295 |
{/if}
|
| 2296 |
</table>
|
2296 |
</table>
|
| 2297 |
<input type="hidden" name="shops_id" value="{$order.shops_ID}" />
|
2297 |
<input type="hidden" name="shops_id" value="{$order.shops_ID}" />
|
| 2298 |
</form>
|
2298 |
</form>
|
| 2299 |
</div>
|
2299 |
</div>
|
| 2300 |
<!-- $Id: single_order.tpl 1315 2016-11-05 23:15:28Z lars $ END -->
|
2300 |
<!-- $Id: single_order.tpl 1316 2016-11-05 23:19:38Z lars $ END -->
|
| 2301 |
{include file="footer.tpl"}^
|
2301 |
{include file="footer.tpl"}^
|