1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Correzione gestione email

This commit is contained in:
Thomas Zilio
2019-08-29 10:25:14 +02:00
parent 1eb60486fb
commit d76bdecc14
34 changed files with 308 additions and 242 deletions

View File

@@ -26,7 +26,7 @@ include_once __DIR__.'/../../core.php';
<div class="row">
<div class="col-md-8">
{[ "type": "select", "label": "<?php echo tr('Indirizzo email'); ?>", "name": "smtp", "value": "$id_smtp$", "ajax-source": "smtp" ]}
{[ "type": "select", "label": "<?php echo tr('Indirizzo email'); ?>", "name": "smtp", "value": "$id_account$", "ajax-source": "smtp" ]}
</div>
<div class="col-md-4">
@@ -62,7 +62,7 @@ include_once __DIR__.'/../../core.php';
<?php
// Stampe
$selected_prints = $dbo->fetchArray('SELECT id_print FROM em_template_print WHERE id_email = '.prepare($id_record));
$selected_prints = $dbo->fetchArray('SELECT id_print FROM em_print_template WHERE id_template = '.prepare($id_record));
$selected = array_column($selected_prints, 'id_print');
echo '