mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-29 09:11:11 +01:00
Aggiunto ordinamento alfabetico per pulsanti d'invio mail
This commit is contained in:
parent
9eaa601732
commit
fbbbe81d19
@ -118,9 +118,9 @@ class ButtonManager implements ManagerInterface
|
|||||||
if ($options['type'] == 'print') {
|
if ($options['type'] == 'print') {
|
||||||
$results = \Prints::getModulePrints($options['id_module']);
|
$results = \Prints::getModulePrints($options['id_module']);
|
||||||
} elseif ($options['type'] == 'email') {
|
} elseif ($options['type'] == 'email') {
|
||||||
$results = TemplateEmail::where('id_module', $options['id_module'])->get()->toArray();
|
$results = TemplateEmail::where('id_module', $options['id_module'])->orderBy('name')->get()->toArray();
|
||||||
} elseif ($options['type'] == 'sms') {
|
} elseif ($options['type'] == 'sms') {
|
||||||
$results = TemplateSMS::where('id_module', $options['id_module'])->get()->toArray();
|
$results = TemplateSMS::where('id_module', $options['id_module'])->orderBy('name')->get()->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $results;
|
return $results;
|
||||||
|
Loading…
Reference in New Issue
Block a user