Subversion Repositories wpShopGermany4

Rev

Rev 7787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7787 Rev 8214
Line 32... Line 32...
32
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&amp;action=switchStatus&amp;edit_id=<?php echo $this->view['oOrder']->id; ?>&amp;noheader=1" enctype="multipart/form-data">
32
<form method="POST" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&amp;action=switchStatus&amp;edit_id=<?php echo $this->view['oOrder']->id; ?>&amp;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')) {