White Label: Sofortpaket WL-00 und Bestandsprüfung WL-01

- Etikettgröße im Lieferschein korrekt parsen ("40#3,5" ergab 3 statt 3,5 cm)
- Produktkopie optional inkl. Kundenzuordnungen und Logo-Dateien (zweiter Kopier-Link)
- whitelabel:transfer-assignments: gezielte, wiederholbare Übertragung ohne Dubletten
- whitelabel:migrate-colors: Zuordnungen anhand der Bildfarbe auf die Farbprodukte übertragen (Dry-Run ohne --execute)
- whitelabel:report: rein lesende Bestandsprüfung (fehlende Zuordnungen, Farbwidersprüche, Dateien, Dubletten)
- Migration für attributes.value (Schema-Drift, auf Live No-op)
- Analyse/Entwicklungsplan um Gegenprüfung, systemischen Befund und neue Paketreihenfolge ergänzt

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-09-17 11:05:42 +00:00
parent f7ab4c4519
commit d687a6c569
11 changed files with 1012 additions and 13 deletions

View file

@ -343,6 +343,11 @@ class Product extends Model
return $this->hasMany(ProductImage::class, 'product_id', 'id')->where('type', '=', 'wllogo')->orderBy('pos');
}
public function user_whitelabel_products()
{
return $this->hasMany(UserWhitelabelProduct::class, 'product_id', 'id');
}
public function country_prices()
{
return $this->hasMany(CountryPrice::class, 'product_id');