Start work on updating services
This commit is contained in:
@@ -10,6 +10,7 @@ use App\Models\Supplier;
|
||||
use App\Models\Service\Broadband as ServiceBroadband;
|
||||
use App\Models\Supplier\Broadband as SupplierBroadband;
|
||||
|
||||
// @todo does this need to extend Type? Perhaps have a ProductType consistent with ServiceType.
|
||||
final class Broadband extends Type implements ProductItem
|
||||
{
|
||||
use ScopeActive;
|
||||
@@ -44,7 +45,7 @@ final class Broadband extends Type implements ProductItem
|
||||
*/
|
||||
public function supplied()
|
||||
{
|
||||
return $this->hasOne(SupplierBroadband::class,'id','supplier_broadband_id');
|
||||
return $this->hasOne(SupplierBroadband::class,'id','supplier_item_id');
|
||||
}
|
||||
|
||||
/* INTERFACES */
|
||||
|
Reference in New Issue
Block a user