Skip to content

Commit ecd34fd

Browse files
first commit
0 parents  commit ecd34fd

File tree

1,226 files changed

+147738
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,226 files changed

+147738
-0
lines changed

info.xml

Lines changed: 1954 additions & 0 deletions
Large diffs are not rendered by default.

version/100/sql/install-100.sql

Whitespace-only changes.

version/1000/adminmenu/info.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* Novalnet payment method module
4+
* This module is used for real time processing of
5+
* Novalnet transaction of customers.
6+
*
7+
* Copyright (c) Novalnet AG
8+
*
9+
* Released under the GNU General Public License
10+
* This free contribution made by request.
11+
* If you have found this script useful a small
12+
* recommendation as well as a comment on merchant form
13+
* would be greatly appreciated.
14+
*
15+
* Script : info.php
16+
*
17+
*/
18+
19+
global $oPlugin, $smarty;
20+
21+
$urlpath = gibShopURL() . '/' . PFAD_PLUGIN . $oPlugin->cVerzeichnis . '/' . PFAD_PLUGIN_VERSION . $oPlugin->nVersion . '/' . PFAD_PLUGIN_PAYMENTMETHOD . 'img/logo.png';
22+
$smarty->assign( 'NN_URL_PATH', gibShopURL() );
23+
$smarty->assign( 'url_path', $urlpath);
24+
print $smarty->fetch( $oPlugin->cAdminmenuPfad . 'template/info.tpl' );
25+
?>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
/**
3+
* Novalnet payment method module
4+
* This module is used for real time processing of
5+
* Novalnet transaction of customers.
6+
*
7+
* Copyright (c) Novalnet AG
8+
*
9+
* Released under the GNU General Public License
10+
* This free contribution made by request.
11+
* If you have found this script useful a small
12+
* recommendation as well as a comment on merchant form
13+
* would be greatly appreciated.
14+
*
15+
* Script : novalnet_admin.php
16+
*
17+
*/
18+
19+
global $oPlugin, $smarty;
20+
21+
$smarty->assign( 'NN_URL_PATH', gibShopURL() );
22+
print $smarty->fetch( $oPlugin->cAdminmenuPfad . 'template/novalnet_admin.tpl' );
23+
?>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
/**
3+
* Novalnet payment method module
4+
* This module is used for real time processing of
5+
* Novalnet transaction of customers.
6+
*
7+
* Copyright (c) Novalnet AG
8+
*
9+
* Released under the GNU General Public License
10+
* This free contribution made by request.
11+
* If you have found this script useful a small
12+
* recommendation as well as a comment on merchant form
13+
* would be greatly appreciated.
14+
*
15+
* Script : order_view.php
16+
*
17+
*/
18+
19+
global $oPlugin, $smarty, $DB;
20+
21+
require_once( 'includes/admininclude.php' );
22+
require_once( PFAD_ROOT . PFAD_ADMIN . PFAD_INCLUDES . 'blaetternavi.php' );
23+
require_once( PFAD_ROOT . PFAD_CLASSES . 'class.JTL-Shop.Bestellung.php' );
24+
require_once( PFAD_ROOT . PFAD_ADMIN . PFAD_INCLUDES . 'bestellungen_inc.php' );
25+
26+
// navigation
27+
$nAnzahlProSeite = 10;
28+
$oBlaetterNaviConf = baueBlaetterNaviGetterSetter(1, $nAnzahlProSeite);
29+
30+
// orders
31+
$nAnzahlBestellungen = $DB->executeQuery("SELECT cNnorderid FROM xplugin_novalnetag_tnovalnet_status", 3);
32+
33+
$oBestellungArr = $DB->executeQuery("SELECT DISTINCT ord.kBestellung FROM tbestellung ord JOIN xplugin_novalnetag_tnovalnet_status nov WHERE ord.cBestellNr = nov.cNnorderid ORDER BY ord.kBestellung DESC {$oBlaetterNaviConf->cSQL1}", 2);
34+
35+
// fill
36+
foreach ($oBestellungArr as &$oBestellung) {
37+
$oBestellung = new Bestellung($oBestellung->kBestellung);
38+
$oBestellung->fuelleBestellung(1, 0);
39+
}
40+
41+
// navigation
42+
$oBlaetterNaviUebersicht = baueBlaetterNavi($oBlaetterNaviConf->nAktuelleSeite1, $nAnzahlBestellungen, $nAnzahlProSeite);
43+
$status = array('5' => 'teilversendet','4' => 'versendet', '3' => 'bezahlt', '2' => 'in Bearbeitung' , '1' => 'offen' , '-1' => 'Storno');
44+
$smarty->assign( array (
45+
'oBestellung_arr' => $oBestellungArr,
46+
'oBestellung_status' => $status,
47+
'oBlaetterNaviUebersicht' => $oBlaetterNaviUebersicht,
48+
'ordersPathDir' => gibShopURL() . '/' . PFAD_PLUGIN . $oPlugin->cVerzeichnis . '/' . PFAD_PLUGIN_VERSION . $oPlugin->nVersion . '/' . PFAD_PLUGIN_PAYMENTMETHOD));
49+
50+
print $smarty->fetch( $oPlugin->cAdminmenuPfad . 'template/order_view.tpl' );
51+
?>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<table class="info">
2+
<tr>
3+
<td align="center" valign="top" width="10%">
4+
<a href="https://www.novalnet.de/" target="_blank">
5+
<img src="{$url_path}" alt="Novalnet AG" title="Novalnet AG" title="Novalnet AG" />
6+
</a>
7+
</td>
8+
<td>
9+
Als ein f&uuml;hrendes Unternehmen im Bereich Bezahldienstleistungen, ist es unser Ziel, unseren Kunden die beste und passendste Unterst&uuml;tzung zu bieten, sowohl f&uuml;r Technik und Verkauf als auch f&uuml;r die optimale Sicherheit Ihrer Daten. Unsere Payment-L&ouml;sungen sind so eingerichtet, dass sie im "Click-and-Go-Modus" voll in Ihren Shop integriert werden k&ouml;nnen. Unsere integrierten Payment-L&ouml;sungen sind benutzerfreundlich und lassen sich einfach in jedem Webshop oder in ein selbst entwickelten System integrieren. Auf diesem Weg bieten wir Ihnen viele einfache Optionen, unser System zu integrieren und dabei Zeit und Geld im technischen Bereich zu sparen. <br /><br />
10+
Falls Sie weitere Informationen ben&ouml;tigen, k&ouml;nnen Sie unser Online-Portal f&uuml;r Endkunden unter <a href="https://card.novalnet.de/">https://card.novalnet.de/</a> rund um die Uhr besuchen oder unser Verkaufsteam <b><a href="mailto:sales@novalnet.de">(sales@novalnet.de)</a></b> kontaktieren.
11+
</td>
12+
</tr>
13+
<tr>
14+
<td align="center" valign="top" width="10%"></td>
15+
<td>
16+
Bitte konfigurieren Sie die Zahlungsarten &uuml;ber <a href="{$NN_URL_PATH}/admin/zahlungsarten.php">Kaufabwicklung -> Zahlungsarten</a> vollst&auml;ndig und f&uuml;gen Sie diese &uuml;ber <a href="{$NN_URL_PATH}/admin/versandarten.php">Kaufabwicklung -> Versandarten</a> zu den gew&uuml;nschten Versandarten hinzu!
17+
</td>
18+
</tr>
19+
</table>
20+
<script>
21+
// <!--
22+
{literal}
23+
$(document).ready(function() {
24+
$('#content > div.block').prepend('<a href="https://www.novalnet.de" target="_blank"><img style="float: right;" src={/literal}"{$url_path}"{literal} title="Novalnet AG" alt="Novalnet AG"/></a>');
25+
});
26+
{/literal}
27+
// -->
28+
</script>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<link rel='stylesheet' type='text/css' href="{$ordersPathDir}css/novalnet_admin.css">
2+
<label class="nn_map_header">
3+
Loggen Sie sich hier mit Ihren Novalnet H&auml;ndler-Zugangsdaten ein. Um neue Zahlungsarten zu aktivieren, kontaktieren Sie bitte <a href="mailto:support@novalnet.de" style="font-weight: bold; color:#fff;cursor:pointer;">support@novalnet.de</a>
4+
</label>
5+
<iframe id="nn_iframe" frameborder="0"></iframe>
6+
<script>
7+
{literal}
8+
$(document).ready(function() {
9+
$('#nn_iframe').attr('src','https://admin.novalnet.de');
10+
$('#nn_iframe').css({height:$(window).height(),width:$(window).width()});
11+
});
12+
{/literal}
13+
</script>
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{if $oBestellung_arr|@count > 0 && $oBestellung_arr}
2+
<div class=" block clearall">
3+
<div class="left">
4+
{if $oBlaetterNaviUebersicht->nAktiv == 1}
5+
<div class="pages tright">
6+
<span class="pageinfo">{#page#}: <strong>{$oBlaetterNaviUebersicht->nVon}</strong> - {$oBlaetterNaviUebersicht->nBis} {#from#} {$oBlaetterNaviUebersicht->nAnzahl}</span>
7+
<a class="back" href="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=Novalnet-Bestellungen&s1={$oBlaetterNaviUebersicht->nVoherige}{if isset($cSuche) && $cSuche|count_characters > 0}&cSuche={$cSuche}{/if}">&laquo;</a>
8+
{if $oBlaetterNaviUebersicht->nAnfang != 0}<a href="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=Novalnet-Bestellungen&s1={$oBlaetterNaviUebersicht->nAnfang}{if isset($cSuche) && $cSuche|count_characters > 0}&cSuche={$cSuche}{/if}">{$oBlaetterNaviUebersicht->nAnfang}</a> ... {/if}
9+
{foreach name=blaetternavi from=$oBlaetterNaviUebersicht->nBlaetterAnzahl_arr item=Blatt}
10+
<a class="page {if $oBlaetterNaviUebersicht->nAktuelleSeite == $Blatt}active{/if}" href="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=Novalnet-Bestellungen&s1={$Blatt}{if isset($cSuche) && $cSuche|count_characters > 0}&cSuche={$cSuche}{/if}">{$Blatt}</a>
11+
{/foreach}
12+
13+
{if $oBlaetterNaviUebersicht->nEnde != 0}
14+
... <a class="page" href="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=Novalnet-Bestellungen&s1={$oBlaetterNaviUebersicht->nEnde}{if isset($cSuche) && $cSuche|count_characters > 0}&cSuche={$cSuche}{/if}">{$oBlaetterNaviUebersicht->nEnde}</a>
15+
{/if}
16+
<a class="next" href="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=Novalnet-Bestellungen&s1={$oBlaetterNaviUebersicht->nNaechste}{if isset($cSuche) && $cSuche|count_characters > 0}&cSuche={$cSuche}{/if}">&raquo;</a>
17+
</div>
18+
{/if}
19+
</div>
20+
</div>
21+
<div class="category">Bestellungen</div>
22+
<script type = "text/javascript" src="{$ordersPathDir}/js/novalnet_admin.js" ></script>
23+
<table class="list">
24+
<thead>
25+
<tr>
26+
<th>Bestellnummer</th>
27+
<th class="tleft">Kunde</th>
28+
<th class="tleft">Zahlungsart</th>
29+
<th class="tleft">Status</th>
30+
<th>Abgeholt durch Wawi</th>
31+
<th>Warensumme</th>
32+
<th class="tcenter">Bestelldatum</th>
33+
</tr>
34+
</thead>
35+
<tbody>
36+
37+
{foreach name=bestellungen from=$oBestellung_arr item=oBestellung}
38+
<tr class="tab_bg{$smarty.foreach.bestellungen.iteration%2}">
39+
{assign var = bestellen value = $oBestellung->cBestellNr}
40+
<td id="order" class="tcenter"><span style="cursor:pointer;text-decoration:underline" onclick="admin_order_display('{$bestellen}') ;">{$oBestellung->cBestellNr}</span></td>
41+
<td class="tleft">{if $oBestellung->oKunde->cVorname || $oBestellung->oKunde->cNachname || $oBestellung->oKunde->cFirma}{$oBestellung->oKunde->cVorname} {$oBestellung->oKunde->cNachname}{if isset($oBestellung->oKunde->cFirma) && $oBestellung->oKunde->cFirma|count_characters > 0} ({$oBestellung->oKunde->cFirma}){/if}{else}- Kein Kundenkonto -{/if}</td>
42+
<td class="tleft">{$oBestellung->cZahlungsartName}</td>
43+
{assign var = status value = $oBestellung->cStatus|string_format:"%d"}
44+
<td class="tleft">{$oBestellung_status.$status}</td>
45+
<td class="tcenter">{if $oBestellung->cAbgeholt == "Y"}{#yes#}{else}{#no#}{/if}</td>
46+
<td class="tcenter">{$oBestellung->WarensummeLocalized[0]}</td>
47+
<td class="tcenter">{$oBestellung->dErstelldatum_de}</td>
48+
<input type="hidden" name="nn_order_no" id="nn_order_no" value="{$oBestellung->cBestellNr}">
49+
</tr>
50+
{/foreach}
51+
</tbody>
52+
</table>
53+
{/if}
54+
55+
<link rel='stylesheet' type='text/css' href="{$ordersPathDir}/css/novalnet_admin.css">
56+
<div class="adminCover">&nbsp;</div>
57+
{foreach name=bestellungen from=$oBestellung_arr item=oBestellung}
58+
<div id='admin_order_display_block' style='display:none;' class='overlay_window_block'></div>
59+
{/foreach}

version/1000/novalnet version.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#########################################################
2+
# #
3+
# Copyright ( c ) Novalnet AG #
4+
# #
5+
# Version: 10.0.0 06-07-2015 #
6+
# #
7+
#########################################################

0 commit comments

Comments
 (0)