Line 32... |
Line 32... |
32 |
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=switchStatus&edit_id=<?php echo $this->view['oOrder']->id; ?>&noheader=1" enctype="multipart/form-data">
|
32 |
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=switchStatus&edit_id=<?php echo $this->view['oOrder']->id; ?>&noheader=1" enctype="multipart/form-data">
|
33 |
|
33 |
|
34 |
<?php echo wpsg_drawForm_Select('status', __('Neuer Status', 'wpsg'), $this->arStatus, $this->view['data']['status']); ?>
|
34 |
<?php echo wpsg_drawForm_Select('status', __('Neuer Status', 'wpsg'), $this->arStatus, $this->view['data']['status']); ?>
|
35 |
<?php echo wpsg_drawForm_Checkbox('sendMail', __('Kunden informieren', 'wpsg'), 0); ?>
|
35 |
<?php echo wpsg_drawForm_Checkbox('sendMail', __('Kunden informieren', 'wpsg'), 0); ?>
|
36 |
|
36 |
|
- |
|
37 |
<?php if ($this->hasMod('wpsg_mod_rechnungen')) {
|
- |
|
38 |
|
37 |
<?php if ($this->hasMod('wpsg_mod_rechnungen')) { $db_invoice = $this->callMod('wpsg_mod_rechnungen', 'getOrderInvoice', [$this->view['oOrder']->id]); ?>
|
39 |
$arInvoice = \wpsg\wpsg_invoice::findByOrderId($this->view['oOrder']->id);
|
- |
|
40 |
|
38 |
<?php if (wpsg_isSizedInt($db_invoice['id'])) { ?>
|
41 |
if (sizeof($arInvoice) > 0) { ?>
|
39 |
<script>
|
42 |
<script>
|
40 |
|
43 |
|
41 |
jQuery('#sendMail').on('click', function() {
|
44 |
jQuery('#sendMail').on('click', function() {
|
42 |
|
45 |
|
43 |
if (jQuery(this).prop('checked')) {
|
46 |
if (jQuery(this).prop('checked')) {
|