summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-27 19:01:34 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-27 19:01:34 +0200
commite7160ace9283ae3b5e74957fb009173872f4bf87 (patch)
treeacbaa59fd7be3b66d39d6649b83804ee0974df00
parent8c61ed276c17979343392ac36a2b3348b25c3901 (diff)
Backend-Darstellung: Sammelrechnungsformular, SmartCheckout-Aufteilung (K32, Teil)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--views/mods/mod_smartcheckout/settings_edit.phtml6
-rw-r--r--views/order/index.phtml7
2 files changed, 7 insertions, 6 deletions
diff --git a/views/mods/mod_smartcheckout/settings_edit.phtml b/views/mods/mod_smartcheckout/settings_edit.phtml
index c884f36..c714fb5 100644
--- a/views/mods/mod_smartcheckout/settings_edit.phtml
+++ b/views/mods/mod_smartcheckout/settings_edit.phtml
@@ -5,14 +5,14 @@
*/
$arLayout = [
- '0' => __('Zweispaltig — Eingaben links, Zusammenfassung rechts mitlaufend', 'wpsg'),
- '1' => __('Einspaltig — Zusammenfassung unterhalb der Eingaben', 'wpsg')
+ '0' => __('Zweispaltig', 'wpsg'),
+ '1' => __('Einspaltig', 'wpsg')
];
?>
<?php echo wpsg_drawForm_Select('wpsg_mod_smartcheckout_page', __('Seite für den EinSeitenCheckout', 'wpsg'), $this->view['arPages'], $this->get_option('wpsg_mod_smartcheckout_page'), ['hint' => __('Wählen Sie „Neu anlegen und zuordnen", damit beim Speichern automatisch eine eigene Seite erstellt wird — oder ordnen Sie eine bestehende Seite zu. Der Checkout wird automatisch in diese Seite eingebunden.', 'wpsg')]); ?>
-<?php echo wpsg_drawForm_Select('wpsg_mod_smartcheckout_layout', __('Aufteilung', 'wpsg'), $arLayout, $this->get_option('wpsg_mod_smartcheckout_layout')); ?>
+<?php echo wpsg_drawForm_Select('wpsg_mod_smartcheckout_layout', __('Aufteilung', 'wpsg'), $arLayout, $this->get_option('wpsg_mod_smartcheckout_layout'), ['hint' => __('Zweispaltig: Eingaben links, Zusammenfassung rechts mitlaufend. Einspaltig: Zusammenfassung unterhalb der Eingaben.', 'wpsg')]); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_smartcheckout_image', __('Produktbilder im Warenkorb anzeigen', 'wpsg'), $this->get_option('wpsg_mod_smartcheckout_image')); ?>
diff --git a/views/order/index.phtml b/views/order/index.phtml
index a7d5b4d..749fa7d 100644
--- a/views/order/index.phtml
+++ b/views/order/index.phtml
@@ -553,18 +553,19 @@
<span class="row" style="margin-top:0.5rem">
<input type="hidden" name="preview" id="wpsg_mod_rechnungen_preview" />
- <input type="submit" name="wpsg_order_doaction" value="<?php echo __('Vorschau', 'wpsg'); ?>" id="wpsg_mod_rechnungen_button_preview" />
- <input type="submit" name="wpsg_order_doaction" value="<?php echo __('Erstellen', 'wpsg'); ?>" id="wpsg_mod_rechnungen_button_submit" />
+ <input type="submit" name="wpsg_order_doaction" value="<?php echo __('Vorschau', 'wpsg'); ?>" id="wpsg_mod_rechnungen_button_preview" class="button" />
+ <input type="submit" name="wpsg_order_doaction" value="<?php echo __('Erstellen', 'wpsg'); ?>" id="wpsg_mod_rechnungen_button_submit" class="button button-primary" />
</span>
</div>
<style>
- .multiinvoice_form { border:1px solid black; padding:1rem 0.5rem; display:flex; flex-direction:column; gap:1rem; width:500px; user-select:none;
+ .multiinvoice_form { border:1px solid #c3c4c7; border-radius:4px; background:#fff; padding:1rem; display:flex; flex-direction:column; gap:1rem; width:500px; user-select:none;
.row { margin:0; display:flex; justify-content:flex-start; gap:0.5rem; align-items:center; min-height:26px;
& > * { margin:0; }
& > *:first-child { width:16px; min-width:16px; flex-shrink:0; }
input[type="text"], input[type="date"], input[type="email"] { height:26px; min-height:26px; }
+ input[type="email"] { flex:1; }
}
}