Merge pull request #2379 from dadeke/master
Fixed to retrieve selected option in app settings
This commit is contained in:
commit
938d43c58b
@ -28,7 +28,7 @@ class PaymentReceived extends Notification
|
|||||||
/**
|
/**
|
||||||
* The email template.
|
* The email template.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var \App\Models\Common\EmailTemplate
|
||||||
*/
|
*/
|
||||||
public $template;
|
public $template;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ class Bill extends Notification
|
|||||||
/**
|
/**
|
||||||
* The email template.
|
* The email template.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var \App\Models\Common\EmailTemplate
|
||||||
*/
|
*/
|
||||||
public $template;
|
public $template;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class Payment extends Notification
|
|||||||
/**
|
/**
|
||||||
* The email template.
|
* The email template.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var \App\Models\Common\EmailTemplate
|
||||||
*/
|
*/
|
||||||
public $template;
|
public $template;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class Invoice extends Notification
|
|||||||
/**
|
/**
|
||||||
* The email template.
|
* The email template.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var \App\Models\Common\EmailTemplate
|
||||||
*/
|
*/
|
||||||
public $template;
|
public $template;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class Revenue extends Notification
|
|||||||
/**
|
/**
|
||||||
* The email template.
|
* The email template.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var \App\Models\Common\EmailTemplate
|
||||||
*/
|
*/
|
||||||
public $template;
|
public $template;
|
||||||
|
|
||||||
|
2
resources/views/settings/modules/edit.blade.php
Normal file → Executable file
2
resources/views/settings/modules/edit.blade.php
Normal file → Executable file
@ -26,7 +26,7 @@
|
|||||||
@elseif ($type == 'textareaGroup')
|
@elseif ($type == 'textareaGroup')
|
||||||
{{ Form::$type($field['name'], trans($field['title'])) }}
|
{{ Form::$type($field['name'], trans($field['title'])) }}
|
||||||
@elseif ($type == 'selectGroup')
|
@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')
|
@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']) }}
|
{{ 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')
|
@elseif ($type == 'checkboxGroup')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user