Merge pull request #2379 from dadeke/master

Fixed to retrieve selected option in app settings
This commit is contained in:
Cüneyt Şentürk 2022-03-29 09:36:48 +03:00 committed by GitHub
commit 938d43c58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -28,7 +28,7 @@ class PaymentReceived extends Notification
/**
* The email template.
*
* @var string
* @var \App\Models\Common\EmailTemplate
*/
public $template;

View File

@ -17,7 +17,7 @@ class Bill extends Notification
/**
* The email template.
*
* @var string
* @var \App\Models\Common\EmailTemplate
*/
public $template;

View File

@ -21,7 +21,7 @@ class Payment extends Notification
/**
* The email template.
*
* @var string
* @var \App\Models\Common\EmailTemplate
*/
public $template;

View File

@ -21,7 +21,7 @@ class Invoice extends Notification
/**
* The email template.
*
* @var string
* @var \App\Models\Common\EmailTemplate
*/
public $template;

View File

@ -21,7 +21,7 @@ class Revenue extends Notification
/**
* The email template.
*
* @var string
* @var \App\Models\Common\EmailTemplate
*/
public $template;

2
resources/views/settings/modules/edit.blade.php Normal file → Executable file
View File

@ -26,7 +26,7 @@
@elseif ($type == 'textareaGroup')
{{ Form::$type($field['name'], trans($field['title'])) }}
@elseif ($type == 'selectGroup')
{{ Form::$type($field['name'], trans($field['title']), $field['icon'], $field['values'], $field['selected'], $field['attributes']) }}
{{ Form::$type($field['name'], trans($field['title']), $field['icon'], $field['values'], isset($setting[$field['name']]) ? $setting[$field['name']] : $field['selected'], $field['attributes']) }}
@elseif ($type == 'radioGroup')
{{ Form::$type($field['name'], trans($field['title']), isset($setting[$field['name']]) ? $setting[$field['name']] : 1, trans($field['enable']), trans($field['disable']), $field['attributes']) }}
@elseif ($type == 'checkboxGroup')