Actualizacuion de Rama Kquiroz

This commit is contained in:
ellecio2
2023-09-04 19:53:37 -04:00
parent d2e9ba53ab
commit 2e99d7b290
2206 changed files with 100145 additions and 467275 deletions

View File

@@ -6,14 +6,19 @@ use Illuminate\Database\Eloquent\Model;
class Country extends Model
{
/**
* Get the Zone that owns the Country
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function zone()
{
return $this->belongsTo(Zone::class);
}
/**
* Get the Zone that owns the Country
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function zone()
{
return $this->belongsTo(Zone::class);
}
public function scopeIsEnabled($query)
{
return $query->where('status', '1');
}
}