diff --git a/app/Http/Controllers/ResellerController.php b/app/Http/Controllers/ResellerController.php index 0fc3662..604efb5 100644 --- a/app/Http/Controllers/ResellerController.php +++ b/app/Http/Controllers/ResellerController.php @@ -136,7 +136,7 @@ class ResellerController extends Controller ->get(['s.*', 'p.name as provider_name', 'l.name as location', 'pr.*']); $labels = DB::table('labels_assigned as l') - ->join('labels', 'l.label_id', '=', 'labels.id') + ->LeftJoin('labels', 'l.label_id', '=', 'labels.id') ->where('l.service_id', '=', $reseller->id) ->get(['labels.label']); diff --git a/resources/views/labels/index.blade.php b/resources/views/labels/index.blade.php index 5c6f5f5..4eb0656 100644 --- a/resources/views/labels/index.blade.php +++ b/resources/views/labels/index.blade.php @@ -36,7 +36,6 @@ class="text-body mx-1"> @csrf - diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php index c35fd0f..631b808 100644 --- a/resources/views/servers/index.blade.php +++ b/resources/views/servers/index.blade.php @@ -12,7 +12,7 @@