commit 08-2025

This commit is contained in:
Kevin Adametz 2025-08-12 18:01:59 +02:00
parent 824fa43e96
commit 3b2253147b
393 changed files with 43842 additions and 18418 deletions

View file

@ -51,6 +51,11 @@ class ShippingCountry extends Model
return $this->hasMany('App\Models\ShoppingOrder', 'country_id');
}
public function hasShoppingOrders()
{
return $this->shopping_orders()->exists();
}
public static function getActiveShippingCountries(){
$ret = [];