34,8 → 34,11 |
<?php echo wpsg_drawForm_Select('status', __('Neuer Status', 'wpsg'), $this->arStatus, $this->view['data']['status']); ?> |
<?php echo wpsg_drawForm_Checkbox('sendMail', __('Kunden informieren', 'wpsg'), 0); ?> |
|
<?php if ($this->hasMod('wpsg_mod_rechnungen')) { $db_invoice = $this->callMod('wpsg_mod_rechnungen', 'getOrderInvoice', [$this->view['oOrder']->id]); ?> |
<?php if (wpsg_isSizedInt($db_invoice['id'])) { ?> |
<?php if ($this->hasMod('wpsg_mod_rechnungen')) { |
|
$arInvoice = \wpsg\wpsg_invoice::findByOrderId($this->view['oOrder']->id); |
|
if (sizeof($arInvoice) > 0) { ?> |
<script> |
|
jQuery('#sendMail').on('click', function() { |