Subversion Repositories wpShopGermany4

Rev

Rev 8040 | Rev 8069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8040 Rev 8068
Line 426... Line 426...
426
                    <option value="<?php echo $k; ?>"><?php echo wpsg_translate(__('Status auf "#1#" setzen.', 'wpsg'), $status); ?></option>
426
                    <option value="<?php echo $k; ?>"><?php echo wpsg_translate(__('Status auf "#1#" setzen.', 'wpsg'), $status); ?></option>
427
                    <?php } ?>
427
                    <?php } ?>
428
                    <option value="multiDelete"><?php echo __('Bestellungen löschen', 'wpsg'); ?></option>
428
                    <option value="multiDelete"><?php echo __('Bestellungen löschen', 'wpsg'); ?></option>
429
                    <?php if ($this->hasMod('wpsg_mod_rechnungen')) { ?>
429
                    <?php if ($this->hasMod('wpsg_mod_rechnungen')) { ?>
430
                    <option value="writeRechnung"><?php echo __('Rechnung schreiben', 'wpsg'); ?></option>
430
                    <option value="writeRechnung"><?php echo __('Rechnung schreiben', 'wpsg'); ?></option>
-
 
431
                    <?php if ($this->view['arFilter']['k_id'] != '') { ?>
-
 
432
                    <option value="writeMultiRechnung"><?php echo __('Sammelrechnung schreiben', 'wpsg'); ?></option>
-
 
433
                    <?php } ?>
431
                    <option value="showRechnung"><?php echo __('Rechnung ansehen', 'wpsg'); ?></option>
434
                    <option value="showRechnung"><?php echo __('Rechnung ansehen', 'wpsg'); ?></option>
432
                    <?php } ?>
435
                    <?php } ?>
433
                    <?php if ($this->hasMod('wpsg_mod_kundenkontakt')) { ?>
436
                    <?php if ($this->hasMod('wpsg_mod_kundenkontakt')) { ?>
434
                    <option value="customercontact"><?php echo __('Kunden informieren', 'wpsg') ;?></option>
437
                    <option value="customercontact"><?php echo __('Kunden informieren', 'wpsg') ;?></option>
435
                    <?php } ?>
438
                    <?php } ?>
Line 459... Line 462...
459
                    		
462
                    		
460
                        }
463
                        }
461
                    	
464
                    	
462
                    });
465
                    });
463
                    
466
                    
-
 
467
                </script>
-
 
468
 
-
 
469
                <div class="multiRechnung_tab" id="multiRechnung_inform" style="display:none;">
-
 
470
                    <br />
-
 
471
                    <input type="checkbox" name="wpsg_Multirechnung_sendmail" value="1" id="invoice_sendmail" />
-
 
472
                    <label for="invoice_sendmail"><?php echo __('E-Mail an Kunden senden', 'wpsg'); ?></label>
-
 
473
                    <input type="email" name="wpsg_Multirechnung_email" value="" />
-
 
474
                    <br />
-
 
475
                    <input type="checkbox" name="wpsg_Multirechnung_faelligkeit" value="1" id="invoice_faelligkeit" />
-
 
476
                    <label for="invoice_faelligkeit"><?php echo __('Fälligkeit anzeigen', 'wpsg'); ?></label>
-
 
477
                    <input type="date" name="wpsg_Multirechnung_faelligkeitsdatum" value="<?php echo date('Y-m-d'); ?>" />
-
 
478
                    <br />
-
 
479
                    <input type="checkbox" name="wpsg_Multirechnung_shippay" value="1" id="invoice_shippay"/>
-
 
480
                    <label for="invoice_shippay"><?php echo __('Versand-/Zahlungskosten abrechnen', 'wpsg'); ?></label>
-
 
481
                    <br />
-
 
482
                    <input type="checkbox" name="wpsg_Multirechnung_url" value="1" id="invoice_url" />
-
 
483
                    <label for="invoice_url"><?php echo __('URL Benachrichtigung', 'wpsg'); ?></label>
-
 
484
                    <br />
-
 
485
                    <label for="invoice_date"><?php echo __('Rechnungsdatum', 'wpsg') ;?></label>
-
 
486
                    <input type="date" value="<?php echo date('Y-m-d'); ?>" name="wpsg_Multirechnung_datum" id="invoice_date" />
-
 
487
                </div>
-
 
488
 
-
 
489
                <script>
-
 
490
                    
-
 
491
                    let el_multiRechnung_inform = document.getElementById('multiRechnung_inform');
-
 
492
                    
-
 
493
                    document.getElementById('wpsg_action').addEventListener('change', (event) => {
-
 
494
                    	
-
 
495
                        if (event.target.value === 'writeMultiRechnung') {
-
 
496
                            
-
 
497
                            el_multiRechnung_inform.style.display = 'block';
-
 
498
                            
-
 
499
                        } else {
-
 
500
                    		
-
 
501
                    		el_multiRechnung_inform.style.display = 'none';
-
 
502
                    		
-
 
503
                        }
-
 
504
                    	
-
 
505
                    });
-
 
506
                    
464
                </script>
507
                </script>
465
                
508
                
466
            </div>
509
            </div>
467
 
510
 
468
            <div style="margin-right:-15px;">
511
            <div style="margin-right:-15px;">