5720 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
7787 |
daniel |
4 |
* User: Daschmi (https://daschmi.de)
|
5720 |
daniel |
5 |
* Date: 07.08.2016
|
|
|
6 |
* Time: 10:51
|
|
|
7 |
*/
|
|
|
8 |
|
7787 |
daniel |
9 |
/** @var \wpsg_order $oOrder */
|
|
|
10 |
$oOrder = wpsg_order::getInstance(intval($this->view['data']['id']));
|
|
|
11 |
|
5720 |
daniel |
12 |
?>
|
|
|
13 |
|
|
|
14 |
<?php echo wpsg_drawForm_AdminboxStart(__('Entwickleroptionen', 'wpsg')); ?>
|
|
|
15 |
|
|
|
16 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&wpsg_action=debug_customermail&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Kundenmail simulieren (An Shop Betreiber)', 'wpsg'); ?></a><br />
|
|
|
17 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&wpsg_action=debug_adminmail&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Adminmail simulieren', 'wpsg'); ?></a><br />
|
7068 |
thomas |
18 |
<a href="<?php echo $this->getDoneURL($this->view['data']['id']); ?>"><?php echo __('Bestellabschlussseite', 'wpsg'); ?></a><br />
|
5720 |
daniel |
19 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&wpsg_action=debug_urlbuy&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('URL Benachrichtigung (Kauf) auslösen', 'wpsg'); ?></a><br />
|
|
|
20 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&wpsg_action=debug_urlpay&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('URL Benachrichtigung (Bezahlung) auslösen', 'wpsg'); ?></a><br />
|
|
|
21 |
|
|
|
22 |
<br />
|
|
|
23 |
|
|
|
24 |
<div class="panel panel-default">
|
|
|
25 |
<div class="panel-heading" data-toggle="collapse" href="#collapse_basket" style="cursor:pointer;">
|
|
|
26 |
<h4 class="panel-title"><?php echo __('Warenkorbdaten', 'wpsg'); ?></h4>
|
|
|
27 |
</div>
|
|
|
28 |
<div id="collapse_basket" class="panel-collapse collapse">
|
|
|
29 |
<div class="panel-body">
|
|
|
30 |
<pre><?php wpsg_debug($this->view['basket']); ?></pre>
|
|
|
31 |
</div>
|
|
|
32 |
</div>
|
|
|
33 |
</div>
|
8164 |
daniel |
34 |
|
|
|
35 |
<div class="panel panel-default">
|
|
|
36 |
<div class="panel-heading" data-toggle="collapse" href="#collapse_calculation" style="cursor:pointer;">
|
|
|
37 |
<h4 class="panel-title"><?php echo __('Kalkulation (live from Db)', 'wpsg'); ?></h4>
|
|
|
38 |
</div>
|
|
|
39 |
<div id="collapse_calculation" class="panel-collapse collapse">
|
|
|
40 |
<div class="panel-body">
|
|
|
41 |
<pre><?php
|
|
|
42 |
|
|
|
43 |
$oCalculaiton = \wpsg\wpsg_calculation::getOrderCalculation($_REQUEST['edit_id'], true);
|
|
|
44 |
$arCalculation = $oCalculaiton->getCalculationArray(true);
|
|
|
45 |
|
|
|
46 |
wpsg_debug($arCalculation);
|
|
|
47 |
|
|
|
48 |
?></pre>
|
|
|
49 |
</div>
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
7787 |
daniel |
52 |
|
7767 |
daniel |
53 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
54 |
|
|
|
55 |
<?php echo wpsg_drawForm_AdminboxStart(__('Technische Einstellungen', 'wüsg')); ?>
|
|
|
56 |
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=save&edit_id=<?php echo $this->view['oOrder']->id; ?>&noheader=1" enctype="multipart/form-data">
|
|
|
57 |
|
|
|
58 |
<?php echo wpsg_drawForm_Checkbox('ext_payed', __('Externe Zahlungseingänge ignorieren', 'wpsg'), wpsg_getStr($this->view['data']['ext_payed'])); ?>
|
|
|
59 |
|
|
|
60 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
|
|
61 |
<input type="submit" class="button button-primary" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" />
|
|
|
62 |
<?php echo wpsg_drawForm_TextEnd(); ?>
|
|
|
63 |
|
|
|
64 |
</form>
|
|
|
65 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|