deleted_msg saves to db

This commit is contained in:
Godfrey M 2024-03-18 10:45:47 -07:00
parent 4588393b76
commit 57f5d4a570
3 changed files with 3 additions and 3 deletions

View file

@ -325,7 +325,7 @@ class AcceptanceController extends Controller
Storage::put('private_uploads/eula-pdfs/' .$pdf_filename, $pdf->output());
}
$acceptance->decline($sig_filename);
$acceptance->decline($sig_filename, $request->input('declined_msg'));
$acceptance->notify(new AcceptanceAssetDeclinedNotification($data));
event(new CheckoutDeclined($acceptance));
$return_msg = trans('admin/users/message.declined');

View file

@ -293,7 +293,7 @@ return [
'user' => 'User',
'accepted' => 'accepted',
'declined' => 'declined',
'declined_notes' => 'Declined Notes',
'declined_note' => 'Declined Notes',
'unassigned' => 'Unassigned',
'unaccepted_asset_report' => 'Unaccepted Assets',
'users' => 'Users',

View file

@ -14,7 +14,7 @@
| **{{ ucfirst(trans('general.declined')) }}** | {{ $declined_date }} |
@endif
@if (isset($declined_msg))
| **{{ trans('mail.declined_note') }}** | {{ $declined_msg }} |
| **{{ trans('general.declined_note') }}** | {{ $declined_msg }} |
@endif
@if ((isset($item_tag)) && ($item_tag!=''))
| **{{ trans('mail.asset_tag') }}** | {{ $item_tag }} |