Commit cb8476a3 authored by Mahmoud Aglan's avatar Mahmoud Aglan

Fix Branch model namespace in pricing models (Shared → Identity)

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent db7f16c6
...@@ -50,7 +50,7 @@ public function priceable(): MorphTo ...@@ -50,7 +50,7 @@ public function priceable(): MorphTo
public function branch(): BelongsTo public function branch(): BelongsTo
{ {
return $this->belongsTo(\App\Domain\Shared\Models\Branch::class); return $this->belongsTo(\App\Domain\Identity\Models\Branch::class);
} }
public function creator(): BelongsTo public function creator(): BelongsTo
......
...@@ -59,7 +59,7 @@ class PricingRule extends Model ...@@ -59,7 +59,7 @@ class PricingRule extends Model
public function branch(): BelongsTo public function branch(): BelongsTo
{ {
return $this->belongsTo(\App\Domain\Shared\Models\Branch::class); return $this->belongsTo(\App\Domain\Identity\Models\Branch::class);
} }
public function creator(): BelongsTo public function creator(): BelongsTo
......
...@@ -63,7 +63,7 @@ class Promotion extends Model ...@@ -63,7 +63,7 @@ class Promotion extends Model
public function branch(): BelongsTo public function branch(): BelongsTo
{ {
return $this->belongsTo(\App\Domain\Shared\Models\Branch::class); return $this->belongsTo(\App\Domain\Identity\Models\Branch::class);
} }
public function creator(): BelongsTo public function creator(): BelongsTo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment