Rechnungsnummer zur Buchung ergänzen (Feld „Rechnung" der Vorlage)
Die Vorlage Neuanlage enthält bei „Rechnung" eine Rechnungsnummer (RE2026054), nicht nur Ja/Nein. Neu: - bookings.invoice_no (VARCHAR 40, Migration 004) - Formularfeld „Rechnungsnummer": eine eingetragene Nummer setzt „Rechnung" automatisch auf JA (auch serverseitig) - Detail, Panel und Kopiertext zeigen die Nummer („Rechnung: JA (RE…)") - Validierung: max. 40 Zeichen, nur Buchstaben, Ziffern und . / - sowie Leerzeichen - Cache-Buster auf Version 11
This commit is contained in:
parent
25830560bc
commit
7fd77d58d7
11 changed files with 64 additions and 12 deletions
|
|
@ -68,6 +68,7 @@ CREATE TABLE IF NOT EXISTS bookings (
|
|||
delivery_cents INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
total_cents INT UNSIGNED NOT NULL DEFAULT 0,
|
||||
invoice TINYINT(1) NOT NULL DEFAULT 0,
|
||||
invoice_no VARCHAR(40) NULL DEFAULT NULL,
|
||||
kind ENUM('pickup', 'delivery') NOT NULL DEFAULT 'pickup',
|
||||
customer_name VARCHAR(190) NOT NULL,
|
||||
street VARCHAR(190) NOT NULL DEFAULT '',
|
||||
|
|
@ -168,6 +169,7 @@ INSERT IGNORE INTO employees (name, sort_order, created_at) VALUES
|
|||
INSERT IGNORE INTO schema_migrations (version, applied_at) VALUES (1, UTC_TIMESTAMP());
|
||||
INSERT IGNORE INTO schema_migrations (version, applied_at) VALUES (2, UTC_TIMESTAMP());
|
||||
INSERT IGNORE INTO schema_migrations (version, applied_at) VALUES (3, UTC_TIMESTAMP());
|
||||
INSERT IGNORE INTO schema_migrations (version, applied_at) VALUES (4, UTC_TIMESTAMP());
|
||||
|
||||
-- Web-Push-Abos (VAPID) und Versandprotokoll für Erinnerungen.
|
||||
CREATE TABLE IF NOT EXISTS push_subscriptions (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue