mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 05:31:24 +00:00
Laravel 13 upgrade, updates and fixes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Models;
|
||||
|
||||
use App;
|
||||
use App\Facades\Hashids;
|
||||
use App\Facades\PDF;
|
||||
use App\Mail\SendInvoiceMail;
|
||||
use App\Services\SerialNumberFormatter;
|
||||
@@ -18,7 +19,6 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
|
||||
use Nwidart\Modules\Facades\Module;
|
||||
use Spatie\MediaLibrary\HasMedia;
|
||||
use Spatie\MediaLibrary\InteractsWithMedia;
|
||||
use Vinkla\Hashids\Facades\Hashids;
|
||||
|
||||
class Invoice extends Model implements HasMedia
|
||||
{
|
||||
@@ -84,7 +84,7 @@ class Invoice extends Model implements HasMedia
|
||||
|
||||
public function items(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\InvoiceItem::class);
|
||||
return $this->hasMany(InvoiceItem::class);
|
||||
}
|
||||
|
||||
public function taxes(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user