From 29cbf43d685a1dbab80d30929206df9c6a7071dc Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 18 Mar 2025 11:48:09 -0700 Subject: [PATCH] remove duplicate table class div --- resources/views/locations/view.blade.php | 89 ++++++++---------------- 1 file changed, 30 insertions(+), 59 deletions(-) diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index 770e004d00..2466acf641 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -157,11 +157,39 @@
+ @can('view', \App\Models\User::class) +
$location->users->count() > 0 ]) > + @endcan +

{{ trans('general.users') }}

+ @include('partials.users-bulk-actions') + +
+
+
$location->users->count() == 0]) > -

{{ trans('admin/locations/message.current_location') }}

-
@include('partials.asset-bulk-actions')
- -
- - -
-

{{ trans('general.users') }}

-
- @include('partials.users-bulk-actions') - - -
-
-
- -

{{ trans('admin/locations/message.assigned_assets') }}

-
@include('partials.asset-bulk-actions', ['id_divname' => 'AssignedAssetsBulkEditToolbar', 'id_formname' => 'assignedAssetsBulkForm', 'id_button' => 'AssignedbulkAssetEditButton'])
- -

{{ trans('admin/hardware/form.default_location') }}

-
@include('partials.asset-bulk-actions', ['id_divname' => 'RTDassetsBulkEditToolbar', 'id_formname' => 'RTDassets', 'id_button' => 'RTDbulkAssetEditButton'])
- -

{{ trans('general.accessories') }}

-
-
- -
-

{{ trans('general.accessories_assigned') }}

@@ -345,15 +326,11 @@ "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] }'> - -

{{ trans('general.consumables') }}

- -
- -

{{ trans('general.components') }}

-
- name) }}-components-{{ date('Y-m-d') }}", "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] }'> -
-