renamed attribute

This commit is contained in:
Godfrey M
2025-08-27 14:10:51 -07:00
parent c1a6546eba
commit 95be847d87
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ class CheckoutAcceptance extends Model
return array_filter($recipients);
}
public function getCheckoutableCategoryTypeAttribute(): string
public function getCheckoutableItemTypeAttribute(): string
{
$type = $this->checkoutable_type;

View File

@@ -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