feat: Implement soft deletes for customer, invoice, order, and transaction models, and add customer edit and trash management to the admin panel.
This commit is contained in:
@@ -4,12 +4,13 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Concerns\HasUuids;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Laravel\Sanctum\HasApiTokens;
|
||||
|
||||
class Customer extends Authenticatable
|
||||
{
|
||||
use HasFactory, HasApiTokens, HasUuids;
|
||||
use HasFactory, HasApiTokens, HasUuids, SoftDeletes;
|
||||
|
||||
protected $table = 'customers';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user