mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-17 10:14:08 +00:00
Remove unused model constants
- Company: COMPANY_LEVEL, CUSTOMER_LEVEL (never referenced) - Payment: all 5 PAYMENT_MODE_* constants (never referenced) - Transaction: PENDING (never referenced) RecurringInvoice constants (ACTIVE, ON_HOLD, NONE, COUNT, DATE) are kept as they are used via hardcoded strings in services, factories, and migrations.
This commit is contained in:
@@ -21,10 +21,6 @@ class Company extends Model implements HasMedia
|
||||
'id',
|
||||
];
|
||||
|
||||
public const COMPANY_LEVEL = 'company_level';
|
||||
|
||||
public const CUSTOMER_LEVEL = 'customer_level';
|
||||
|
||||
protected $appends = ['logo', 'logo_path'];
|
||||
|
||||
public function getRolesAttribute()
|
||||
|
||||
Reference in New Issue
Block a user