mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Migliorie minori
This commit is contained in:
@ -37,7 +37,6 @@ a.disabled {
|
||||
}
|
||||
|
||||
#progress {
|
||||
width: 400px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
display: none;
|
||||
|
@ -38,22 +38,27 @@ if ($dir == 'entrata') {
|
||||
$campi_mancanti = [];
|
||||
|
||||
if ($rs2[0]['piva'] == '') {
|
||||
if ($rs2[0]['codice_fiscale'] == '') {
|
||||
array_push($campi_mancanti, 'codice fiscale');
|
||||
}
|
||||
array_push($campi_mancanti, 'Partita IVA');
|
||||
}
|
||||
/*if ($rs2[0]['codice_fiscale'] == '') {
|
||||
array_push($campi_mancanti, 'Codice fiscale');
|
||||
}
|
||||
*/
|
||||
if ($rs2[0]['citta'] == '') {
|
||||
array_push($campi_mancanti, 'citta');
|
||||
array_push($campi_mancanti, 'Città');
|
||||
}
|
||||
if ($rs2[0]['indirizzo'] == '') {
|
||||
array_push($campi_mancanti, 'indirizzo');
|
||||
array_push($campi_mancanti, 'Indirizzo');
|
||||
}
|
||||
if ($rs2[0]['cap'] == '') {
|
||||
array_push($campi_mancanti, 'C.A.P.');
|
||||
}
|
||||
if ($rs2[0]['nazione'] == '') {
|
||||
array_push($campi_mancanti, 'Nazione');
|
||||
}
|
||||
|
||||
if (sizeof($campi_mancanti) > 0) {
|
||||
echo "<div class='alert alert-warning'><i class='fa fa-warning'></i> Prima di procedere alla stampa completa i seguenti campi dell'anagrafica:<br/><b>".implode(', ', $campi_mancanti).'</b><br/>
|
||||
echo "<div class='alert alert-warning'><i class='fa fa-warning'></i> Prima di procedere alla stampa completa i seguenti campi dell'anagrafica Cliente: <b>".implode(', ', $campi_mancanti).'</b><br/>
|
||||
'.Modules::link('Anagrafiche', $record['idanagrafica'], tr('Vai alla scheda anagrafica'), null).'</div>';
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ switch (post('op')) {
|
||||
'from_address' => post('from_address'),
|
||||
'encryption' => post('encryption'),
|
||||
'pec' => post('pec'),
|
||||
'ssl_no_verify' => post('ssl_no_verify'),
|
||||
'predefined' => $predefined,
|
||||
], ['id' => $id_record]);
|
||||
|
||||
|
@ -12,7 +12,7 @@ if (!empty($fattura_pa)) {
|
||||
echo '
|
||||
<div class="alert alert-warning">
|
||||
<i class="fa fa-warning"></i>
|
||||
<b>'.tr('Attenzione!').'</b> '.tr('Per generare la fattura elettronica è necessario che sia in stato "Emessa"').'.
|
||||
<b>'.tr('Attenzione').':</b> '.tr('Per generare la fattura elettronica è necessario che sia in stato "Emessa"').'.
|
||||
</div>';
|
||||
|
||||
$disabled = true;
|
||||
|
@ -31,7 +31,7 @@ class ButtonManager implements ManagerInterface
|
||||
|
||||
$result = [
|
||||
'link' => \Prints::getHref($options['id'], $options['id_record'], $options['parameters']),
|
||||
'title' => tr('Stampa').' '.lcfirst($print['title']),
|
||||
'title' => tr('Stampa').' '.((strtoupper($print['title']) == $print['title']) ? $print['title'] : lcfirst($print['title'])),
|
||||
'icon' => $print['icon'],
|
||||
];
|
||||
} else {
|
||||
@ -39,7 +39,7 @@ class ButtonManager implements ManagerInterface
|
||||
|
||||
$result = [
|
||||
'link' => ROOTDIR.'/mail.php?id_module='.$options['id_module'].'&id_record='.$options['id_record'].'&id='.$options['id'],
|
||||
'title' => tr('Invia').' '.lcfirst($template['name']),
|
||||
'title' => tr('Invia').' '.((strtoupper($template['name']) == $template['name']) ? $template['name'] : lcfirst($template['name'])),
|
||||
'icon' => $template['icon'],
|
||||
'type' => 'modal',
|
||||
];
|
||||
|
@ -19,3 +19,6 @@ INSERT INTO `fe_stati_documento`( `codice`, `descrizione`, `icon` ) VALUES
|
||||
( 'MC', 'Mancata consegna', 'fa fa-exclamation-circle text-danger' ),
|
||||
( 'DT', 'Decorrenza termini', 'fa fa-calendar-times-o text-danger' ),
|
||||
( 'NS', 'Scartata', 'fa fa-times text-danger' );
|
||||
|
||||
-- ssl_no_verify
|
||||
ALTER TABLE `zz_smtps` ADD `ssl_no_verify` BOOLEAN NOT NULL DEFAULT FALSE AFTER `encryption`;
|
Reference in New Issue
Block a user