Cleanup usage of Leenooks\Carbon, change ServiceType to be consistent with Products/ Suppliers/
This commit is contained in:
@@ -5,10 +5,10 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Arr;
|
||||
use Leenooks\Carbon;
|
||||
|
||||
use App\Traits\NextKey;
|
||||
use App\Traits\PushNew;
|
||||
use Leenooks\Carbon;
|
||||
|
||||
/**
|
||||
* Class Invoice Items
|
||||
@@ -85,8 +85,6 @@ class InvoiceItem extends Model
|
||||
/**
|
||||
* Start date for the invoice item line
|
||||
*
|
||||
* We need cast this value to a Leenooks\Carbon for access to startOfHalf() endOfHalf() methods
|
||||
*
|
||||
* @param $value
|
||||
* @return Carbon
|
||||
* @throws \Exception
|
||||
@@ -100,8 +98,6 @@ class InvoiceItem extends Model
|
||||
/**
|
||||
* End date for the invoice item line
|
||||
*
|
||||
* We need cast this value to a Leenooks\Carbon for access to startOfHalf() endOfHalf() methods
|
||||
*
|
||||
* @param $value
|
||||
* @return Carbon
|
||||
* @throws \Exception
|
||||
|
Reference in New Issue
Block a user