Filters collapsed, customer auth and register, fix on basket recalculation
This commit is contained in:
@@ -3,11 +3,19 @@
|
||||
namespace App\Models\Shop;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Yadahan\AuthenticationLog\AuthenticationLogable;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
|
||||
class Customer extends Model
|
||||
class Customer extends Authenticatable
|
||||
{
|
||||
use AuthenticationLogable, SoftDeletes;
|
||||
|
||||
protected $guarded = ['id'];
|
||||
protected $table = 'shop_customers';
|
||||
protected $fillable = ['active', 'last_name', 'first_name', 'username', 'email', 'password', 'remember_token', 'settings', 'last_login'];
|
||||
protected $hidden = ['password', 'remember_token'];
|
||||
protected $casts = ['email_verified_at' => 'datetime',];
|
||||
|
||||
public function addresses()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user