gruene-seele/database/migrations
Kevin Adametz e53201f229 Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22
Neue Anforderungen (docs/) interpretiert und als Entwicklungsplan V5.0
(AP-20 bis AP-28) aufgenommen; erste drei Pakete umgesetzt:

AP-26 Ausschuss-Gründe konfigurierbar:
- Stammdaten-Tabelle disposal_reasons + CRUD unter Einstellungen → Allgemein
- StockDisposalController liest aktive DB-Gründe statt hartkodierter Liste
- Seeder übernimmt die bisherigen 6 Gründe idempotent

AP-25 Lieferbestand — Datum statt Tage:
- "Nicht vorrätig" wird über Datepicker "Wieder lieferbar ab" gepflegt;
  Resttage-Hinweis zählt täglich automatisch herunter
- Interne Bestellliste wieder kaufbar: Hinweis erscheint zusätzlich zu
  den Mengen-Buttons (VP entscheidet selbst)

AP-22 Produktbestand-Erweiterungen:
- Default-Sortierung nach Dringlichkeit, Status-Kopf toggelt
- Alle vier Status-Kacheln als Filter klickbar
- Neue Spalte "Verbrauch/Monat" (Ø Abgänge der letzten 6 Monate)
- Produkt-Flag "Im Produktbestand anzeigen" (products.show_in_product_stock)

Tests: 77 grün (DisposalReasonSettings 8, ProductOutOfStock 8,
ProductStock 13 + Regression). Hinweise-Doku + Plan-Protokoll fortgeschrieben;
nächster Schritt laut Plan: AP-21 (INCI-Erweiterungen).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 16:28:45 +00:00
..
2014_10_12_100000_create_password_resets_table.php first commit 2021-01-08 17:48:20 +01:00
2018_08_19_000000_create_failed_jobs_table.php first commit 2021-01-08 17:48:20 +01:00
2018_09_29_145839_create_user_update_emails_table.php first commit 2021-01-08 17:48:20 +01:00
2018_09_29_145909_create_countries_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2018_09_29_170559_create_user_accounts_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2018_09_30_165917_create_user_levels_table.php Cron Jobs, Reminder, Fonts, Members / Wizard / Price, Credit and Promotion 2023-01-25 12:42:41 +01:00
2018_10_21_163950_create_iq_images_table.php first commit 2021-01-08 17:48:20 +01:00
2018_10_21_163956_create_attributes_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2018_10_21_163959_create_categories_table.php 01 2022 Microsite Promotion 2022-01-18 18:30:14 +01:00
2018_10_21_164001_create_products_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2018_10_21_164003_create_product_attributes_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2018_10_21_164005_create_product_categories_table.php 01 2022 Microsite Promotion 2022-01-18 18:30:14 +01:00
2018_10_21_164007_create_product_images_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2018_11_20_174609_create_shoppingcart_table.php first commit 2021-01-08 17:48:20 +01:00
2019_01_06_004815_create_shippings_table.php first commit 2021-01-08 17:48:20 +01:00
2019_01_06_004849_create_shipping_prices_table.php Promotion Frontend dynamic 2021-11-26 18:23:10 +01:00
2019_01_06_004907_create_shipping_countries_table.php first commit 2021-01-08 17:48:20 +01:00
2019_09_31_000000_create_users_table.php main system 2021-01-15 18:16:31 +01:00
2019_10_10_163950_create_iq_sites_table.php first commit 2021-01-08 17:48:20 +01:00
2020_02_08_164831_create_files_table.php first commit 2021-01-08 17:48:20 +01:00
2020_03_21_143103_create_user_messages_table.php first commit 2021-01-08 17:48:20 +01:00
2020_06_03_152445_create_country_prices_table.php first commit 2021-01-08 17:48:20 +01:00
2020_07_25_131854_create_payment_methods_table.php #10 Promotion Modul, Kommentar 2 2021-11-09 18:40:18 +01:00
2020_07_30_142848_create_loggers_table.php first commit 2021-01-08 17:48:20 +01:00
2020_07_31_114539_create_sy_settings_table.php first commit 2021-01-08 17:48:20 +01:00
2020_11_09_164147_create_ingredients_table.php first commit 2021-01-08 17:48:20 +01:00
2020_11_09_173825_create_product_ingredients_table.php first commit 2021-01-08 17:48:20 +01:00
2020_12_23_161530_create_shopping_users_table.php main system 2021-01-15 18:16:31 +01:00
2020_12_23_163527_create_shopping_orders_table.php commit 08-2025 2025-08-12 15:51:04 +02:00
2020_12_23_163724_create_shopping_order_items_table.php testemich Promotion 2022-04-14 13:21:17 +02:00
2020_12_23_163832_create_shopping_payments_table.php commit 08-2025 2025-08-12 15:51:04 +02:00
2020_12_25_090014_create_payment_transactions_table.php first commit 2021-01-08 17:48:20 +01:00
2020_12_26_101227_create_user_histories_table.php first commit 2021-01-08 17:48:20 +01:00
2021_01_15_102718_create_settings_table.php Work to invoice 2021-02-10 10:42:24 +01:00
2021_01_19_140551_create_user_level_margins_table.php User Order all Margins / Checkout 2021-01-22 15:54:51 +01:00
2021_01_21_170707_create_shopping_order_margins_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2021_03_23_191712_create_user_credits_table.php Gutschriften manuell hinzufügen, Yard 0& tax 2021-05-12 15:44:48 +02:00
2021_04_01_185905_create_user_pay_credits_table.php Gutschriften 2021-04-23 14:52:25 +02:00
2021_05_12_111529_create_user_credit_margins_table.php Gutschriften manuell hinzufügen, Yard 0& tax 2021-05-12 15:44:48 +02:00
2021_06_15_112357_create_product_buys_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2021_10_11_135225_create_promotion_admins_table.php promotion 1.0 2021-12-25 02:51:22 +01:00
2021_10_11_135229_create_promotion_admin_products_table.php Promotion Backend v1 2021-10-15 16:35:47 +02:00
2021_10_11_135231_create_promotion_users_table.php #10 Promotion Modul, Kommentar 2 2021-11-09 18:40:18 +01:00
2021_10_11_135233_create_promotion_user_products_table.php promotion 1.0 2021-12-25 02:51:22 +01:00
2021_12_01_160513_create_promotion_user_orders_table.php testemich Promotion 2022-04-14 13:21:17 +02:00
2023_11_14_153214_create_user_shops_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2023_11_22_174609_create_user_registers_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2024_03_26_131447_create_lead_type_table.php Updates to 03-2025 2025-04-01 10:39:21 +02:00
2024_06_18_171231_create_attribute_types_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2024_06_19_163044_create_user_whitelabel_products_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2025_05_06_135238_create_payment_reminders_table.php commit 08-2025 2025-08-12 15:51:04 +02:00
2025_12_22_180249_add_cancellation_invoice_to_shopping_orders_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_111352_add_recipe_fields_to_product_ingredients_table.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
2026_03_27_111353_add_shelf_life_to_products_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_111354_add_inventory_fields_to_ingredients_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123736_create_locations_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123737_create_supplier_categories_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123738_create_suppliers_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123739_create_supplier_supplier_category_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123740_create_material_qualities_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123741_create_packaging_materials_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_123742_create_packaging_items_table.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
2026_03_27_130025_create_stock_entries_table.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
2026_03_27_132730_create_product_packagings_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_03_27_134200_create_productions_schema.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_04_10_161725_add_url_to_packaging_items_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_04_10_161834_add_material_quality_id_to_ingredients_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_04_10_162143_add_recipe_type_to_product_ingredients_table.php April 2026 waren Wirtschaft Feedback 2026-04-10 17:14:38 +02:00
2026_04_13_102909_update_packaging_items_category_enum.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
2026_04_13_151417_increase_recipe_decimal_precision.php 13-05-2026 Waren Wirtschaft 2026-05-13 18:09:20 +02:00
2026_06_02_145358_widen_url_columns_in_inventory_tables.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_152721_create_tax_rates_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_153243_create_delivery_times_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_154755_add_order_fields_to_suppliers_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_160411_add_days_to_delivery_times_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_160411_add_delivery_time_days_to_suppliers_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_161237_add_order_fields_to_ingredients_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_161237_create_ingredient_supplier_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_02_181548_add_price_fields_to_stock_entries_table.php Warenwirtschaft: AP-00 bis AP-08 + aktualisierter Entwicklungsplan 2026-06-02 16:30:42 +00:00
2026_06_03_102214_add_no_recipe_required_to_products_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_105204_add_set_fields_to_products_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_105204_create_product_set_items_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_111226_add_out_of_stock_fields_to_products_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_122635_add_stock_thresholds_to_products_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_122635_create_product_stock_movements_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_03_124056_create_stock_disposals_table.php Warenwirtschaft: AP-09 bis AP-13 (Produktbestand, Set-Produkte, Ausschuss, Konzepte) 2026-06-03 11:04:22 +00:00
2026_06_12_170531_create_disposal_reasons_table.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00
2026_06_12_175615_add_show_in_product_stock_to_products_table.php Warenwirtschaft: Anforderungsrunde 12.06. — Plan V5.0 + AP-26/AP-25/AP-22 2026-06-12 16:28:45 +00:00