Dynamically adjust checkbox wording

This commit is contained in:
Marcus Moore
2025-10-29 12:44:34 -07:00
parent 3bad19fb56
commit 0355c2b642
2 changed files with 6 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
return array(
'asset_categories' => 'Asset Categories',
'category_name' => 'Category Name',
'email_to_user_upon_checkin' => 'Send email to user on checkin.',
'email_to_user_upon_checkin_and_checkout' => 'Send email to user on checkin/checkout.',
'email_to_initiator' => 'Send email to you when user accepts or declines checkout.',
'checkin_email_notification' => 'This user will be sent an email on checkin/checkout.',

View File

@@ -91,7 +91,11 @@
wire:model.live="sendCheckInEmail"
aria-label="checkin_email"
/>
{{ trans('admin/categories/general.email_to_user_upon_checkin_and_checkout') }}
@if ($this->emailWillBeSendDueToEula)
{{ trans('admin/categories/general.email_to_user_upon_checkin') }}
@else
{{ trans('admin/categories/general.email_to_user_upon_checkin_and_checkout') }}
@endif
</label>
@if ($this->emailWillBeSendDueToEula)
<div class="callout callout-info">