// SYSTEM PANEL //
[ROOT]
/
mnt
/
pleskStorage
/
vhosts
/
kodsolutions.net
/
subdomains
/
go-rent.kodsolutions.net
/
app
/
Models
/
Car
[ PARENT ]
EDIT :: Status.php
<?php namespace App\Models\Car; use App\Models\Model; use App\Helpers\Constants; use Spatie\Translatable\HasTranslations; use Illuminate\Database\Eloquent\Factories\HasFactory; class Status extends Model { use HasFactory; use HasTranslations; public $translatable = ['title']; protected $fillable = [ 'title', 'code', 'slug', 'type', 'position', 'active', ]; // public function scopePaymentMethod($query) { return $query->where('type', Constants::PAYMENT_STATUS); } }
SAVE
CANCEL