renamed attribute
This commit is contained in:
@@ -32,7 +32,7 @@ class CheckoutAcceptance extends Model
|
||||
|
||||
return array_filter($recipients);
|
||||
}
|
||||
public function getCheckoutableCategoryTypeAttribute(): string
|
||||
public function getCheckoutableItemTypeAttribute(): string
|
||||
{
|
||||
$type = $this->checkoutable_type;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user