Merge remote-tracking branch 'origin/develop'

Signed-off-by: snipe <snipe@snipe.net>

# Conflicts:
#	resources/views/models/custom_fields_form.blade.php
This commit is contained in:
snipe 2022-11-28 12:27:36 -08:00
commit d2dcb29dcb
2 changed files with 10 additions and 16 deletions

View file

@ -21,7 +21,7 @@ class CheckoutAcceptance extends Model
{ {
// At this point the endpoint is the same for everything. // At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications. // In the future this may want to be adapted for individual notifications.
return config('mail.reply_to.address'); return (config('mail.reply_to.address')) ? config('mail.reply_to.address') : '' ;
} }
/** /**

View file

@ -70,39 +70,33 @@ class CategoryPresenter extends Presenter
'visible' => true, 'visible' => true,
'formatter' => 'trueFalseFormatter', 'formatter' => 'trueFalseFormatter',
], [ ], [
'field' => 'actions',
'searchable' => false,
'sortable' => false,
'switchable' => false,
'title' => trans('table.actions'),
],[
"field" => "use_default_eula", "field" => "use_default_eula",
"searchable" => false, "searchable" => false,
"sortable" => true, "sortable" => true,
"title" => trans('admin/categories/general.use_default_eula_column'), "title" => trans('admin/categories/general.use_default_eula_column'),
'visible' => true, 'visible' => true,
"formatter" => 'trueFalseFormatter', "formatter" => 'trueFalseFormatter',
],[ ], [
"field" => "require_acceptance",
"searchable" => false,
"sortable" => true,
'formatter' => 'categoriesActionsFormatter',
],
[
'field' => 'created_at', 'field' => 'created_at',
'searchable' => true, 'searchable' => true,
'sortable' => true, 'sortable' => true,
'visible' => false, 'visible' => false,
'title' => trans('general.created_at'), 'title' => trans('general.created_at'),
'formatter' => 'dateDisplayFormatter', 'formatter' => 'dateDisplayFormatter',
], ], [
[
'field' => 'updated_at', 'field' => 'updated_at',
'searchable' => true, 'searchable' => true,
'sortable' => true, 'sortable' => true,
'visible' => false, 'visible' => false,
'title' => trans('general.updated_at'), 'title' => trans('general.updated_at'),
'formatter' => 'dateDisplayFormatter', 'formatter' => 'dateDisplayFormatter',
], [
'field' => 'actions',
'searchable' => false,
'sortable' => false,
'switchable' => false,
'title' => trans('table.actions'),
'formatter' => 'categoriesActionsFormatter',
], ],
]; ];