Skip to content

A free open source IT asset/license management system

renamed attribute

Godfrey M95be847d8736
diff --git a/app/Models/CheckoutAcceptance.php b/app/Models/CheckoutAcceptance.php
index 1bd237ef60..f65fb219a8 100644
--- a/app/Models/CheckoutAcceptance.php
+++ b/app/Models/CheckoutAcceptance.php
@@ -32,7 +32,7 @@ class CheckoutAcceptance extends Model
return array_filter($recipients);
}
- public function getCheckoutableCategoryTypeAttribute(): string
+ public function getCheckoutableItemTypeAttribute(): string
{
$type = $this->checkoutable_type;
diff --git a/resources/views/account/accept/index.blade.php b/resources/views/account/accept/index.blade.php
index 14f8f40362..52045fc86d 100755
--- a/resources/views/account/accept/index.blade.php
+++ b/resources/views/account/accept/index.blade.php
@@ -41,7 +41,7 @@
<tr>
@if ($acceptance->checkoutable)
<td>{{ ($acceptance->checkoutable) ? $acceptance->checkoutable->present()->name : '' }}</td>
- <td>{{ $acceptance->checkoutable_category_type }}</td>
+ <td>{{ $acceptance->checkoutable_item_type }}</td>
<td>{{ ($acceptance->checkoutable) ? $acceptance->checkoutable->serial : '' }}</td>
<td><a href="{{ route('account.accept.item', $acceptance) }}" class="btn btn-default btn-sm">{{ trans('general.accept_decline') }}</a></td>
@else