diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2020-05-12 11:41:52 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2020-05-12 11:41:52 +0000 |
| commit | 6ccd624f4806b184481e7aaa7f1565c4ad251085 (patch) | |
| tree | 9c5dc142928bba2f58da3f0bd0de3d32d3ce7b58 | |
| parent | f52d7f57ddb0cfd7f7f1f123f25859687d0376f0 (diff) | |
- Rechnugn an Status Mail anhängen (optional)4.2.3
- Brutto Preis bei Zahlungseingang vergleichen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7719 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/order/view_general.phtml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/views/order/view_general.phtml b/views/order/view_general.phtml index 57fb353..69e06bf 100644 --- a/views/order/view_general.phtml +++ b/views/order/view_general.phtml @@ -34,6 +34,31 @@ <?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'])) { ?>
+ <script>
+
+ jQuery('#sendMail').on('click', function() {
+
+ if (jQuery(this).prop('checked')) {
+
+ jQuery('#layer_attachInvoice').show();
+
+ } else {
+
+ jQuery('#layer_attachInvoice').hide();
+
+ }
+
+ }).click();
+
+ </script>
+ <div id="layer_attachInvoice">
+ <?php echo wpsg_drawForm_Checkbox('attachInvoice', __('Rechnung anhängen', 'wpsg'), 0); ?>
+ </div>
+ <?php } ?>
+ <?php } ?>
+
<br />
<?php $this->callMods('order_view_switchStatus', array(&$this->view['data']['id'])); ?>
|
