From 95be847d87362883812f43c16cb1f089d337b892 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Wed, 27 Aug 2025 14:10:51 -0700 Subject: [PATCH] renamed attribute --- app/Models/CheckoutAcceptance.php | 2 +- resources/views/account/accept/index.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ @if ($acceptance->checkoutable) {{ ($acceptance->checkoutable) ? $acceptance->checkoutable->present()->name : '' }} - {{ $acceptance->checkoutable_category_type }} + {{ $acceptance->checkoutable_item_type }} {{ ($acceptance->checkoutable) ? $acceptance->checkoutable->serial : '' }} {{ trans('general.accept_decline') }} @else